1. Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  4. the same hard drive for core.img. core.img is at this location and looks
  5. for (,msdos1)/boot/grub.
  6. => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
  7. the same hard drive for core.img. core.img is at this location and looks
  8. for /boot/grub and uses an embedded config file:
  9. ---------------------------------------------------------------------------
  10. search.fs_uuid fb74be21-ea16-41a9-ab12-04c332160e9d root hd0,msdos1
  11. set prefix=($root)'/boot/grub'
  12. ---------------------------------------------------------------------------
  13. => No known boot loader is installed in the MBR of /dev/sdc.
  14. sda1: __________________________________________________________________________
  15. File system: ext4
  16. Boot sector type: Grub2 (v1.99-2.00)
  17. Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda1
  18. and looks at sector 46417168 of the same hard drive
  19. for core.img. core.img is at this location and looks
  20. for (,msdos1)/boot/grub.
  21. Operating System: Ubuntu 16.04 LTS
  22. Boot files: /boot/grub/grub.cfg /etc/fstab
  23. /boot/grub/i386-pc/core.img
  24. sda2: __________________________________________________________________________
  25. File system: swap
  26. Boot sector type: -
  27. Boot sector info:
  28. sda3: __________________________________________________________________________
  29. File system: ntfs
  30. Boot sector type: Windows Vista: NTFS
  31. Boot sector info: No errors found in the Boot Parameter Block.
  32. Operating System:
  33. Boot files: /grldr /bootmgr /Boot/BCD
  34. /Windows/System32/winload.exe /grldr
  35. sdb1: __________________________________________________________________________
  36. File system: ntfs
  37. Boot sector type: Windows Vista: NTFS
  38. Boot sector info: No errors found in the Boot Parameter Block.
  39. Operating System:
  40. Boot files:
  41. sdb2: __________________________________________________________________________
  42. File system: ext3
  43. Boot sector type: -
  44. Boot sector info:
  45. Operating System:
  46. Boot files:
  47. sdc1: __________________________________________________________________________
  48. File system: iso9660
  49. Boot sector type: Unknown
  50. Boot sector info:
  51. Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
  52. sdc2: __________________________________________________________________________
  53. File system: vfat
  54. Boot sector type: FAT16
  55. Boot sector info: According to the info in the boot sector, sdc2 starts
  56. at sector 0. But according to the info from fdisk,
  57. sdc2 starts at sector 2888004. According to the info
  58. in the boot sector, sdc2 has 0 sectors.
  59. Mounting failed: mount: /dev/sdc1 is already mounted or /mnt/BootInfo/sdc1 busy
  60. mount: /dev/sdc2 is already mounted or /mnt/BootInfo/sdc2 busy
  61. ============================ Drive/Partition Info: =============================
  62. Drive: sda _____________________________________________________________________
  63. Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
  64. Units: sectors of 1 * 512 = 512 bytes
  65. Sector size (logical/physical): 512 bytes / 512 bytes
  66. I/O size (minimum/optimal): 512 bytes / 512 bytes
  67. Disklabel type: dos
  68. Partition Boot Start Sector End Sector # of Sectors Id System
  69. /dev/sda1 2,048 204,802,047 204,800,000 83 Linux
  70. /dev/sda2 204,802,048 229,378,047 24,576,000 82 Linux swap / Solaris
  71. /dev/sda3 * 229,378,048 500,117,503 270,739,456 7 NTFS / exFAT / HPFS
  72. Drive: sdb _____________________________________________________________________
  73. Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
  74. Units: sectors of 1 * 512 = 512 bytes
  75. Sector size (logical/physical): 512 bytes / 4096 bytes
  76. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  77. Disklabel type: dos
  78. Partition Boot Start Sector End Sector # of Sectors Id System
  79. /dev/sdb1 2,048 2,013,788,159 2,013,786,112 7 NTFS / exFAT / HPFS
  80. /dev/sdb2 * 2,013,788,160 3,907,024,895 1,893,236,736 83 Linux
  81. Drive: sdc _____________________________________________________________________
  82. Disk /dev/sdc: 7.3 GiB, 7866580992 bytes, 15364416 sectors
  83. Units: sectors of 1 * 512 = 512 bytes
  84. Sector size (logical/physical): 512 bytes / 512 bytes
  85. I/O size (minimum/optimal): 512 bytes / 512 bytes
  86. Disklabel type: dos
  87. Partition Boot Start Sector End Sector # of Sectors Id System
  88. /dev/sdc1 * 0 2,902,111 2,902,112 0 Empty
  89. /dev/sdc2 2,888,004 2,892,739 4,736 ef EFI (FAT-12/16/32)
  90. /dev/sdc1 overlaps with /dev/sdc2
  91. GUID Partition Table detected, but does not seem to be used.
  92. Partition Start Sector End Sector # of Sectors System
  93. /dev/sdc1 0 2,902,055 2,902,056 Data partition (Windows/Linux)
  94. /dev/sdc2 2,888,004 2,892,739 4,736 Data partition (Windows/Linux)
  95. "blkid" output: ________________________________________________________________
  96. Device UUID TYPE LABEL
  97. /dev/loop0 squashfs
  98. /dev/sda1 fb74be21-ea16-41a9-ab12-04c332160e9d ext4
  99. /dev/sda2 c5066475-e824-4ce3-bb02-c087364b2ccf swap
  100. /dev/sda3 555473176F749D5E ntfs win7
  101. /dev/sdb1 719E924008A4C448 ntfs data
  102. /dev/sdb2 817cc471-4e6a-4e31-8822-49671a751e7c ext3 VMs
  103. /dev/sdc1 2016-04-20-22-29-52-00 iso9660 Ubuntu 16.04 LTS amd64
  104. /dev/sdc2 B1F5-0A13 vfat
  105. ========================= "ls -l /dev/disk/by-id" output: ======================
  106. total 0
  107. lrwxrwxrwx 1 root root 9 Apr 21 19:58 ata-HL-DT-ST_DVDRAM_GH20NS10_K7H7CDE5158 -> ../../sr0
  108. lrwxrwxrwx 1 root root 9 Apr 21 20:20 ata-M4-CT256M4SSD2_0000000012390916E654 -> ../../sda
  109. lrwxrwxrwx 1 root root 10 Apr 21 20:20 ata-M4-CT256M4SSD2_0000000012390916E654-part1 -> ../../sda1
  110. lrwxrwxrwx 1 root root 10 Apr 21 20:20 ata-M4-CT256M4SSD2_0000000012390916E654-part2 -> ../../sda2
  111. lrwxrwxrwx 1 root root 10 Apr 21 20:20 ata-M4-CT256M4SSD2_0000000012390916E654-part3 -> ../../sda3
  112. lrwxrwxrwx 1 root root 9 Apr 21 20:20 ata-WDC_WD20EFRX-68AX9N0_WD-WMC1T2849438 -> ../../sdb
  113. lrwxrwxrwx 1 root root 10 Apr 21 20:20 ata-WDC_WD20EFRX-68AX9N0_WD-WMC1T2849438-part1 -> ../../sdb1
  114. lrwxrwxrwx 1 root root 10 Apr 21 20:20 ata-WDC_WD20EFRX-68AX9N0_WD-WMC1T2849438-part2 -> ../../sdb2
  115. lrwxrwxrwx 1 root root 9 Apr 21 20:10 usb-Kingston_DataTraveler_3.0_60A44C4253CABF40EB466EE6-0:0 -> ../../sdc
  116. lrwxrwxrwx 1 root root 10 Apr 21 20:10 usb-Kingston_DataTraveler_3.0_60A44C4253CABF40EB466EE6-0:0-part1 -> ../../sdc1
  117. lrwxrwxrwx 1 root root 10 Apr 21 20:10 usb-Kingston_DataTraveler_3.0_60A44C4253CABF40EB466EE6-0:0-part2 -> ../../sdc2
  118. lrwxrwxrwx 1 root root 9 Apr 21 19:58 wwn-0x5001480000000000 -> ../../sr0
  119. lrwxrwxrwx 1 root root 9 Apr 21 20:20 wwn-0x50014ee6033a5764 -> ../../sdb
  120. lrwxrwxrwx 1 root root 10 Apr 21 20:20 wwn-0x50014ee6033a5764-part1 -> ../../sdb1
  121. lrwxrwxrwx 1 root root 10 Apr 21 20:20 wwn-0x50014ee6033a5764-part2 -> ../../sdb2
  122. lrwxrwxrwx 1 root root 9 Apr 21 20:20 wwn-0x500a07510916e654 -> ../../sda
  123. lrwxrwxrwx 1 root root 10 Apr 21 20:20 wwn-0x500a07510916e654-part1 -> ../../sda1
  124. lrwxrwxrwx 1 root root 10 Apr 21 20:20 wwn-0x500a07510916e654-part2 -> ../../sda2
  125. lrwxrwxrwx 1 root root 10 Apr 21 20:20 wwn-0x500a07510916e654-part3 -> ../../sda3
  126. ================================ Mount points: =================================
  127. Device Mount_Point Type Options
  128. /dev/loop0 /rofs squashfs (ro,noatime)
  129. /dev/sdc /cdrom iso9660 (ro,noatime)
  130. =========================== sda1/boot/grub/grub.cfg: ===========================
  131. --------------------------------------------------------------------------------
  132. #
  133. # DO NOT EDIT THIS FILE
  134. #
  135. # It is automatically generated by grub-mkconfig using templates
  136. # from /etc/grub.d and settings from /etc/default/grub
  137. #
  138. ### BEGIN /etc/grub.d/00_header ###
  139. if [ -s $prefix/grubenv ]; then
  140. set have_grubenv=true
  141. load_env
  142. fi
  143. if [ "${next_entry}" ] ; then
  144. set default="${next_entry}"
  145. set next_entry=
  146. save_env next_entry
  147. set boot_once=true
  148. else
  149. set default="0"
  150. fi
  151. if [ x"${feature_menuentry_id}" = xy ]; then
  152. menuentry_id_option="--id"
  153. else
  154. menuentry_id_option=""
  155. fi
  156. export menuentry_id_option
  157. if [ "${prev_saved_entry}" ]; then
  158. set saved_entry="${prev_saved_entry}"
  159. save_env saved_entry
  160. set prev_saved_entry=
  161. save_env prev_saved_entry
  162. set boot_once=true
  163. fi
  164. function savedefault {
  165. if [ -z "${boot_once}" ]; then
  166. saved_entry="${chosen}"
  167. save_env saved_entry
  168. fi
  169. }
  170. function recordfail {
  171. set recordfail=1
  172. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  173. }
  174. function load_video {
  175. if [ x$feature_all_video_module = xy ]; then
  176. insmod all_video
  177. else
  178. insmod efi_gop
  179. insmod efi_uga
  180. insmod ieee1275_fb
  181. insmod vbe
  182. insmod vga
  183. insmod video_bochs
  184. insmod video_cirrus
  185. fi
  186. }
  187. if [ x$feature_default_font_path = xy ] ; then
  188. font=unicode
  189. else
  190. insmod part_msdos
  191. insmod ext2
  192. set root='hd0,msdos1'
  193. if [ x$feature_platform_search_hint = xy ]; then
  194. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb74be21-ea16-41a9-ab12-04c332160e9d
  195. else
  196. search --no-floppy --fs-uuid --set=root fb74be21-ea16-41a9-ab12-04c332160e9d
  197. fi
  198. font="/usr/share/grub/unicode.pf2"
  199. fi
  200. if loadfont $font ; then
  201. set gfxmode=auto
  202. load_video
  203. insmod gfxterm
  204. set locale_dir=$prefix/locale
  205. set lang=en_US
  206. insmod gettext
  207. fi
  208. terminal_output gfxterm
  209. if [ "${recordfail}" = 1 ] ; then
  210. set timeout=10
  211. else
  212. if [ x$feature_timeout_style = xy ] ; then
  213. set timeout_style=menu
  214. set timeout=10
  215. # Fallback normal timeout code in case the timeout_style feature is
  216. # unavailable.
  217. else
  218. set timeout=10
  219. fi
  220. fi
  221. ### END /etc/grub.d/00_header ###
  222. ### BEGIN /etc/grub.d/05_debian_theme ###
  223. set menu_color_normal=white/black
  224. set menu_color_highlight=black/light-gray
  225. if background_color 44,0,30,0; then
  226. clear
  227. fi
  228. ### END /etc/grub.d/05_debian_theme ###
  229. ### BEGIN /etc/grub.d/10_linux ###
  230. function gfxmode {
  231. set gfxpayload="${1}"
  232. if [ "${1}" = "keep" ]; then
  233. set vt_handoff=vt.handoff=7
  234. else
  235. set vt_handoff=
  236. fi
  237. }
  238. if [ "${recordfail}" != 1 ]; then
  239. if [ -e ${prefix}/gfxblacklist.txt ]; then
  240. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  241. if [ ${match} = 0 ]; then
  242. set linux_gfx_mode=keep
  243. else
  244. set linux_gfx_mode=text
  245. fi
  246. else
  247. set linux_gfx_mode=text
  248. fi
  249. else
  250. set linux_gfx_mode=keep
  251. fi
  252. else
  253. set linux_gfx_mode=text
  254. fi
  255. export linux_gfx_mode
  256. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fb74be21-ea16-41a9-ab12-04c332160e9d' {
  257. recordfail
  258. load_video
  259. gfxmode $linux_gfx_mode
  260. insmod gzio
  261. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  262. insmod part_msdos
  263. insmod ext2
  264. set root='hd0,msdos1'
  265. if [ x$feature_platform_search_hint = xy ]; then
  266. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb74be21-ea16-41a9-ab12-04c332160e9d
  267. else
  268. search --no-floppy --fs-uuid --set=root fb74be21-ea16-41a9-ab12-04c332160e9d
  269. fi
  270. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=fb74be21-ea16-41a9-ab12-04c332160e9d ro quiet splash $vt_handoff
  271. initrd /boot/initrd.img-4.4.0-21-generic
  272. }
  273. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-fb74be21-ea16-41a9-ab12-04c332160e9d' {
  274. menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-fb74be21-ea16-41a9-ab12-04c332160e9d' {
  275. recordfail
  276. load_video
  277. gfxmode $linux_gfx_mode
  278. insmod gzio
  279. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  280. insmod part_msdos
  281. insmod ext2
  282. set root='hd0,msdos1'
  283. if [ x$feature_platform_search_hint = xy ]; then
  284. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb74be21-ea16-41a9-ab12-04c332160e9d
  285. else
  286. search --no-floppy --fs-uuid --set=root fb74be21-ea16-41a9-ab12-04c332160e9d
  287. fi
  288. echo 'Loading Linux 4.4.0-21-generic ...'
  289. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=fb74be21-ea16-41a9-ab12-04c332160e9d ro quiet splash $vt_handoff
  290. echo 'Loading initial ramdisk ...'
  291. initrd /boot/initrd.img-4.4.0-21-generic
  292. }
  293. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-fb74be21-ea16-41a9-ab12-04c332160e9d' {
  294. recordfail
  295. load_video
  296. gfxmode $linux_gfx_mode
  297. insmod gzio
  298. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  299. insmod part_msdos
  300. insmod ext2
  301. set root='hd0,msdos1'
  302. if [ x$feature_platform_search_hint = xy ]; then
  303. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb74be21-ea16-41a9-ab12-04c332160e9d
  304. else
  305. search --no-floppy --fs-uuid --set=root fb74be21-ea16-41a9-ab12-04c332160e9d
  306. fi
  307. echo 'Loading Linux 4.4.0-21-generic ...'
  308. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=fb74be21-ea16-41a9-ab12-04c332160e9d ro quiet splash $vt_handoff init=/sbin/upstart
  309. echo 'Loading initial ramdisk ...'
  310. initrd /boot/initrd.img-4.4.0-21-generic
  311. }
  312. menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-fb74be21-ea16-41a9-ab12-04c332160e9d' {
  313. recordfail
  314. load_video
  315. insmod gzio
  316. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  317. insmod part_msdos
  318. insmod ext2
  319. set root='hd0,msdos1'
  320. if [ x$feature_platform_search_hint = xy ]; then
  321. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 fb74be21-ea16-41a9-ab12-04c332160e9d
  322. else
  323. search --no-floppy --fs-uuid --set=root fb74be21-ea16-41a9-ab12-04c332160e9d
  324. fi
  325. echo 'Loading Linux 4.4.0-21-generic ...'
  326. linux /boot/vmlinuz-4.4.0-21-generic root=UUID=fb74be21-ea16-41a9-ab12-04c332160e9d ro recovery nomodeset
  327. echo 'Loading initial ramdisk ...'
  328. initrd /boot/initrd.img-4.4.0-21-generic
  329. }
  330. }
  331. ### END /etc/grub.d/10_linux ###
  332. ### BEGIN /etc/grub.d/20_linux_xen ###
  333. ### END /etc/grub.d/20_linux_xen ###
  334. ### BEGIN /etc/grub.d/30_os-prober ###
  335. ### END /etc/grub.d/30_os-prober ###
  336. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  337. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  338. fwsetup
  339. }
  340. ### END /etc/grub.d/30_uefi-firmware ###
  341. ### BEGIN /etc/grub.d/40_custom ###
  342. # This file provides an easy way to add custom menu entries. Simply type the
  343. # menu entries you want to add after this comment. Be careful not to change
  344. # the 'exec tail' line above.
  345. ### END /etc/grub.d/40_custom ###
  346. ### BEGIN /etc/grub.d/41_custom ###
  347. if [ -f ${config_directory}/custom.cfg ]; then
  348. source ${config_directory}/custom.cfg
  349. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  350. source $prefix/custom.cfg;
  351. fi
  352. ### END /etc/grub.d/41_custom ###
  353. --------------------------------------------------------------------------------
  354. =============================== sda1/etc/fstab: ================================
  355. --------------------------------------------------------------------------------
  356. # /etc/fstab: static file system information.
  357. #
  358. # Use 'blkid' to print the universally unique identifier for a
  359. # device; this may be used with UUID= as a more robust way to name devices
  360. # that works even if disks are added and removed. See fstab(5).
  361. #
  362. # <file system> <mount point> <type> <options> <dump> <pass>
  363. # / was on /dev/sda1 during installation
  364. UUID=fb74be21-ea16-41a9-ab12-04c332160e9d / ext4 errors=remount-ro 0 1
  365. # /home was on /dev/sdb2 during installation
  366. UUID=817cc471-4e6a-4e31-8822-49671a751e7c /home ext3 defaults 0 2
  367. # swap was on /dev/sda2 during installation
  368. UUID=c5066475-e824-4ce3-bb02-c087364b2ccf none swap sw 0 0
  369. --------------------------------------------------------------------------------
  370. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  371. Unknown MBR on /dev/sdc
  372. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  373. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  374. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  375. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  376. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  377. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  378. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  379. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  380. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  381. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  382. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  383. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  384. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  385. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  386. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  387. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  388. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  389. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  390. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  391. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  392. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  393. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  394. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  395. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  396. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  397. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  398. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  399. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  400. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  401. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  402. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  403. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  404. 00000200
  405. Unknown BootLoader on sdc1
  406. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  407. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  408. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  409. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  410. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  411. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  412. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  413. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  414. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  415. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  416. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  417. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  418. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  419. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  420. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  421. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  422. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  423. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  424. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  425. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  426. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  427. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  428. *
  429. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  430. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  431. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  432. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  433. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  434. 00000200
  435. =============================== StdErr Messages: ===============================
  436. cat: write error: Broken pipe
  437. cat: write error: Broken pipe
  438. hexdump: u: bad byte count
  439. /usr/share/boot-sav/b-i-s.sh: line 1746: [: -eq: unary operator expected
  440. cat: write error: Broken pipe
  441. File descriptor 9 (/proc/14907/mounts) leaked on lvs invocation. Parent PID 31924: bash
  442. File descriptor 63 (pipe:[330107]) leaked on lvs invocation. Parent PID 31924: bash
  443. ADDITIONAL INFORMATION :
  444. =================== log of boot-repair 2016-04-21__20h09 ===================
  445. boot-repair version : 4ppa35
  446. boot-sav version : 4ppa35
  447. glade2script version : 3.2.2~ppa47~saucy
  448. boot-sav-extra version : 4ppa35
  449. grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
  450. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  451. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  452. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  453. CPU op-mode(s): 32-bit, 64-bit
  454. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  455. ls: cannot access '/home/usr/.config': No such file or directory
  456. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  457. mount /dev/sdc2 : Error code 32
  458. mount -r /dev/sdc2 /mnt/boot-sav/sdc2
  459. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  460. mount -r /dev/sdc2 : Error code 32
  461. =================== os-prober:
  462. /dev/sda1:Ubuntu 16.04 LTS (16.04):Ubuntu:linux
  463. =================== blkid:
  464. /dev/sda1: UUID="fb74be21-ea16-41a9-ab12-04c332160e9d" TYPE="ext4" PARTUUID="0001d8c3-01"
  465. /dev/sda3: LABEL="win7" UUID="555473176F749D5E" TYPE="ntfs" PARTUUID="0001d8c3-03"
  466. /dev/sdb1: LABEL="data" UUID="719E924008A4C448" TYPE="ntfs" PARTUUID="000df0e6-01"
  467. /dev/sdb2: LABEL="VMs" UUID="817cc471-4e6a-4e31-8822-49671a751e7c" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="000df0e6-02"
  468. /dev/sda2: UUID="c5066475-e824-4ce3-bb02-c087364b2ccf" TYPE="swap" PARTUUID="0001d8c3-02"
  469. /dev/sdc1: UUID="2016-04-20-22-29-52-00" LABEL="Ubuntu 16.04 LTS amd64" TYPE="iso9660" PTUUID="0e0e8e70" PTTYPE="dos" PARTUUID="0e0e8e70-01"
  470. /dev/sdc2: SEC_TYPE="msdos" UUID="B1F5-0A13" TYPE="vfat" PARTUUID="0e0e8e70-02"
  471. /dev/loop0: TYPE="squashfs"
  472. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  473. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  474. mount /dev/sdc2 : Error code 32
  475. mount -r /dev/sdc2 /mnt/boot-sav/sdc2
  476. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  477. mount -r /dev/sdc2 : Error code 32
  478. Windows not detected by os-prober on sda3.
  479. dd: invalid number: ‘0’
  480. Warning: /var/log/boot-sav/log/2016-04-21__20h09boot-repair06/sdc/current_mbr.img could not be created. Please report this message to [email protected]
  481. =================== sda1/etc/grub.d/ :
  482. drwxr-xr-x 2 root root 4096 Apr 20 18:15 grub.d
  483. total 76
  484. -rwxr-xr-x 1 root root 9791 Apr 15 18:00 00_header
  485. -rwxr-xr-x 1 root root 6258 Mar 15 14:08 05_debian_theme
  486. -rwxr-xr-x 1 root root 12261 Apr 15 18:00 10_linux
  487. -rwxr-xr-x 1 root root 11082 Apr 15 18:00 20_linux_xen
  488. -rwxr-xr-x 1 root root 1992 Jan 28 07:44 20_memtest86+
  489. -rwxr-xr-x 1 root root 11692 Apr 15 18:00 30_os-prober
  490. -rwxr-xr-x 1 root root 1418 Apr 15 18:00 30_uefi-firmware
  491. -rwxr-xr-x 1 root root 214 Apr 15 18:00 40_custom
  492. -rwxr-xr-x 1 root root 216 Apr 15 18:00 41_custom
  493. -rw-r--r-- 1 root root 483 Apr 15 18:00 README
  494. =================== sda1/etc/default/grub :
  495. # If you change this file, run 'update-grub' afterwards to update
  496. # /boot/grub/grub.cfg.
  497. # For full documentation of the options in this file, see:
  498. # info -f grub -n 'Simple configuration'
  499. GRUB_DEFAULT=0
  500. GRUB_HIDDEN_TIMEOUT=0
  501. GRUB_HIDDEN_TIMEOUT_QUIET=true
  502. GRUB_TIMEOUT=10
  503. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  504. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  505. GRUB_CMDLINE_LINUX=""
  506. # Uncomment to enable BadRAM filtering, modify to suit your needs
  507. # This works with Linux (no patch required) and with any kernel that obtains
  508. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  509. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  510. # Uncomment to disable graphical terminal (grub-pc only)
  511. #GRUB_TERMINAL=console
  512. # The resolution used on graphical terminal
  513. # note that you can use only modes which your graphic card supports via VBE
  514. # you can see them in real GRUB with the command `vbeinfo'
  515. #GRUB_GFXMODE=640x480
  516. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  517. #GRUB_DISABLE_LINUX_UUID=true
  518. # Uncomment to disable generation of recovery mode menu entries
  519. #GRUB_DISABLE_RECOVERY="true"
  520. # Uncomment to get a beep at grub start
  521. #GRUB_INIT_TUNE="480 440 1"
  522. =================== efibootmgr -v
  523. BootCurrent: 0003
  524. Timeout: 1 seconds
  525. BootOrder: 0003,0002,0001
  526. Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........o.M.4.-.C.T.2.5.6.M.4.S.S.D.2....................A...........................>..Gd-.;.A..MQ..L.0.0.0.0.0.0.0.0.2.1.9.3.9.0.6.1.6.E.4.5........BO..NO........o.W.D.C. .W.D.2.0.E.F.R.X.-.6.8.A.X.9.N.0....................A...........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.M.W.1.C.2.T.4.8.4.9.8.3........BO..NO........s.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .3...0.P.M.A.P....................A.......................F..Gd-.;.A..MQ..L.6.0.A.4.4.C.4.2.5.3.C.A.B.F.4.0.E.B.4.6.6.E.E.6........BO
  527. Boot0002* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.0.N.S.1.0....................A...........................>..Gd-.;.A..MQ..L.7.K.7.H.D.C.5.E.5.1. .8. . . . . . . . ........BO
  528. Boot0003* UEFI: KingstonDataTraveler 3.0PMAP PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)/HD(1,MBR,0x112,0x2c1144,0x1280)..BO
  529. =================== UEFI/Legacy mode:
  530. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  531. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  532. =================== PARTITIONS & DISKS:
  533. sda1 : sda, not-sepboot, no-grubenv grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
  534. sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
  535. sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb1.
  536. sdb2 : sdb, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb2.
  537. sdc2 : sdc, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sdc2.
  538. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  539. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 2048 sectors * 512 bytes
  540. sdc : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  541. =================== parted -l:
  542. Model: ATA M4-CT256M4SSD2 (scsi)
  543. Disk /dev/sda: 256GB
  544. Sector size (logical/physical): 512B/512B
  545. Partition Table: msdos
  546. Disk Flags:
  547. Number Start End Size Type File system Flags
  548. 1 1049kB 105GB 105GB primary ext4
  549. 2 105GB 117GB 12.6GB primary linux-swap(v1)
  550. 3 117GB 256GB 139GB primary ntfs boot
  551. Model: ATA WDC WD20EFRX-68A (scsi)
  552. Disk /dev/sdb: 2000GB
  553. Sector size (logical/physical): 512B/4096B
  554. Partition Table: msdos
  555. Disk Flags:
  556. Number Start End Size Type File system Flags
  557. 1 1049kB 1031GB 1031GB primary ntfs
  558. 2 1031GB 2000GB 969GB primary ext3 boot
  559. Model: Kingston DataTraveler 3.0 (scsi)
  560. Disk /dev/sdc: 7867MB
  561. Sector size (logical/physical): 512B/512B
  562. Partition Table: unknown
  563. Disk Flags:
  564. =================== parted -lm:
  565. BYT;
  566. /dev/sda:256GB:scsi:512:512:msdos:ATA M4-CT256M4SSD2:;
  567. 1:1049kB:105GB:105GB:ext4::;
  568. 2:105GB:117GB:12.6GB:linux-swap(v1)::;
  569. 3:117GB:256GB:139GB:ntfs::boot;
  570. BYT;
  571. /dev/sdb:2000GB:scsi:512:4096:msdos:ATA WDC WD20EFRX-68A:;
  572. 1:1049kB:1031GB:1031GB:ntfs::;
  573. 2:1031GB:2000GB:969GB:ext3::boot;
  574. BYT;
  575. /dev/sdc:7867MB:scsi:512:512:unknown:Kingston DataTraveler 3.0:;
  576. =================== lsblk:
  577. KNAME TYPE FSTYPE SIZE LABEL
  578. sda disk 238.5G
  579. sda1 part ext4 97.7G
  580. sda2 part swap 11.7G
  581. sda3 part ntfs 129.1G win7
  582. sdb disk 1.8T
  583. sdb1 part ntfs 960.3G data
  584. sdb2 part ext3 902.8G VMs
  585. sdc disk iso9660 7.3G Ubuntu 16.04 LTS amd64
  586. sdc1 part iso9660 1.4G Ubuntu 16.04 LTS amd64
  587. sdc2 part vfat 2.3M Ubuntu 16.04 LTS amd64
  588. sr0 rom 1024M
  589. loop0 loop squashfs 1.3G
  590. KNAME ROTA RO RM STATE MOUNTPOINT
  591. sda 0 0 0 running
  592. sda1 0 0 0 /mnt/boot-sav/sda1
  593. sda2 0 0 0 [SWAP]
  594. sda3 0 0 0 /mnt/boot-sav/sda3
  595. sdb 1 0 0 running
  596. sdb1 1 0 0 /mnt/boot-sav/sdb1
  597. sdb2 1 0 0 /mnt/boot-sav/sdb2
  598. sdc 1 0 1 running /cdrom
  599. sdc1 1 0 1
  600. sdc2 1 0 1
  601. sr0 1 0 1 running
  602. loop0 1 1 0 /rofs
  603. =================== mount:
  604. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  605. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  606. udev on /dev type devtmpfs (rw,nosuid,relatime,size=16370136k,nr_inodes=4092534,mode=755)
  607. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  608. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=3276960k,mode=755)
  609. /dev/sdc on /cdrom type iso9660 (ro,noatime)
  610. /dev/loop0 on /rofs type squashfs (ro,noatime)
  611. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  612. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  613. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  614. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  615. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  616. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  617. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  618. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  619. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  620. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  621. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  622. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  623. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  624. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  625. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  626. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  627. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  628. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  629. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  630. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  631. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  632. mqueue on /dev/mqueue type mqueue (rw,relatime)
  633. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  634. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  635. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  636. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=3276960k,mode=700,uid=999,gid=999)
  637. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  638. /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
  639. /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  640. /dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  641. /dev/sdb2 on /mnt/boot-sav/sdb2 type ext3 (rw,relatime,data=ordered)
  642. =================== ls:
  643. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
  644. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
  645. /sys/block/sdc (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdc1 sdc2 size slaves stat subsystem trace uevent
  646. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  647. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sdb2 sdc sdc1 sdc2 sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net zero
  648. ls /dev/mapper: control
  649. =================== hexdump -n512 -C /dev/sda3
  650. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  651. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 ac 0d |........?.......|
  652. 00000020 00 00 00 00 80 00 80 00 ff 27 23 10 00 00 00 00 |.........'#.....|
  653. 00000030 04 00 00 00 00 00 00 00 7f 32 02 01 00 00 00 00 |.........2......|
  654. 00000040 f6 00 00 00 01 00 00 00 5e 9d 74 6f 17 73 54 55 |........^.to.sTU|
  655. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  656. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  657. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  658. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 d2 00 1e 83 ec |U.u.....u.......|
  659. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  660. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  661. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  662. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  663. 000000d0 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.w......f#.u-|
  664. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  665. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  666. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
  667. 00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
  668. 00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
  669. 00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
  670. 00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
  671. 00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
  672. 00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
  673. 00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
  674. 00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
  675. 00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
  676. 000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
  677. 000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
  678. 000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
  679. 000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
  680. 000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
  681. 000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
  682. 00000200
  683. =================== hexdump -n512 -C /dev/sdb1
  684. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  685. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  686. 00000020 00 00 00 00 80 00 80 00 f8 ef 07 78 00 00 00 00 |...........x....|
  687. 00000030 04 00 00 00 00 00 00 00 ff 23 26 0b 00 00 00 00 |.........#&.....|
  688. 00000040 f6 00 00 00 01 00 00 00 48 c4 a4 08 40 92 9e 71 |[email protected]|
  689. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  690. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  691. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  692. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 d2 00 1e 83 ec |U.u.....u.......|
  693. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  694. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  695. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  696. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  697. 000000d0 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.w......f#.u-|
  698. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  699. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  700. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
  701. 00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
  702. 00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
  703. 00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
  704. 00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
  705. 00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
  706. 00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
  707. 00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
  708. 00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
  709. 00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
  710. 000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
  711. 000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
  712. 000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
  713. 000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
  714. 000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
  715. 000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
  716. 00000200
  717. =================== hexdump -n512 -C /dev/sdc2
  718. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  719. 00000010 02 00 02 80 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  720. 00000020 00 00 00 00 80 00 29 13 0a f5 b1 4e 4f 20 4e 41 |......)....NO NA|
  721. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  722. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  723. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  724. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  725. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  726. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  727. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  728. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  729. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  730. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  731. *
  732. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  733. 00000200
  734. =================== df -Th:
  735. Filesystem Type Size Used Avail Use% Mounted on
  736. udev devtmpfs 16G 0 16G 0% /dev
  737. tmpfs tmpfs 3.2G 9.7M 3.2G 1% /run
  738. /dev/sdc iso9660 1.4G 1.4G 0 100% /cdrom
  739. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  740. /cow overlay 16G 693M 15G 5% /
  741. tmpfs tmpfs 16G 1.1M 16G 1% /dev/shm
  742. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  743. tmpfs tmpfs 16G 0 16G 0% /sys/fs/cgroup
  744. tmpfs tmpfs 16G 364K 16G 1% /tmp
  745. tmpfs tmpfs 3.2G 80K 3.2G 1% /run/user/999
  746. /dev/sda1 ext4 96G 3.7G 88G 5% /mnt/boot-sav/sda1
  747. /dev/sda3 fuseblk 130G 113G 17G 88% /mnt/boot-sav/sda3
  748. /dev/sdb1 fuseblk 961G 422G 539G 44% /mnt/boot-sav/sdb1
  749. /dev/sdb2 ext3 889G 366G 478G 44% /mnt/boot-sav/sdb2
  750. =================== fdisk -l:
  751. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  752. Units: sectors of 1 * 512 = 512 bytes
  753. Sector size (logical/physical): 512 bytes / 4096 bytes
  754. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  755. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  756. Units: sectors of 1 * 512 = 512 bytes
  757. Sector size (logical/physical): 512 bytes / 4096 bytes
  758. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  759. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  760. Units: sectors of 1 * 512 = 512 bytes
  761. Sector size (logical/physical): 512 bytes / 4096 bytes
  762. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  763. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  764. Units: sectors of 1 * 512 = 512 bytes
  765. Sector size (logical/physical): 512 bytes / 4096 bytes
  766. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  767. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  768. Units: sectors of 1 * 512 = 512 bytes
  769. Sector size (logical/physical): 512 bytes / 4096 bytes
  770. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  771. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  772. Units: sectors of 1 * 512 = 512 bytes
  773. Sector size (logical/physical): 512 bytes / 4096 bytes
  774. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  775. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  776. Units: sectors of 1 * 512 = 512 bytes
  777. Sector size (logical/physical): 512 bytes / 4096 bytes
  778. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  779. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  780. Units: sectors of 1 * 512 = 512 bytes
  781. Sector size (logical/physical): 512 bytes / 4096 bytes
  782. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  783. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  784. Units: sectors of 1 * 512 = 512 bytes
  785. Sector size (logical/physical): 512 bytes / 4096 bytes
  786. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  787. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  788. Units: sectors of 1 * 512 = 512 bytes
  789. Sector size (logical/physical): 512 bytes / 4096 bytes
  790. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  791. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  792. Units: sectors of 1 * 512 = 512 bytes
  793. Sector size (logical/physical): 512 bytes / 4096 bytes
  794. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  795. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  796. Units: sectors of 1 * 512 = 512 bytes
  797. Sector size (logical/physical): 512 bytes / 4096 bytes
  798. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  799. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  800. Units: sectors of 1 * 512 = 512 bytes
  801. Sector size (logical/physical): 512 bytes / 4096 bytes
  802. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  803. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  804. Units: sectors of 1 * 512 = 512 bytes
  805. Sector size (logical/physical): 512 bytes / 4096 bytes
  806. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  807. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  808. Units: sectors of 1 * 512 = 512 bytes
  809. Sector size (logical/physical): 512 bytes / 4096 bytes
  810. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  811. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  812. Units: sectors of 1 * 512 = 512 bytes
  813. Sector size (logical/physical): 512 bytes / 4096 bytes
  814. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  815. Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
  816. Units: sectors of 1 * 512 = 512 bytes
  817. Sector size (logical/physical): 512 bytes / 512 bytes
  818. I/O size (minimum/optimal): 512 bytes / 512 bytes
  819. Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
  820. Units: sectors of 1 * 512 = 512 bytes
  821. Sector size (logical/physical): 512 bytes / 512 bytes
  822. I/O size (minimum/optimal): 512 bytes / 512 bytes
  823. Disklabel type: dos
  824. Disk identifier: 0x0001d8c3
  825. Device Boot Start End Sectors Size Id Type
  826. /dev/sda1 2048 204802047 204800000 97.7G 83 Linux
  827. /dev/sda2 204802048 229378047 24576000 11.7G 82 Linux swap / Solaris
  828. /dev/sda3 * 229378048 500117503 270739456 129.1G 7 HPFS/NTFS/exFAT
  829. Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
  830. Units: sectors of 1 * 512 = 512 bytes
  831. Sector size (logical/physical): 512 bytes / 4096 bytes
  832. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  833. Disklabel type: dos
  834. Disk identifier: 0x000df0e6
  835. Device Boot Start End Sectors Size Id Type
  836. /dev/sdb1 2048 2013788159 2013786112 960.3G 7 HPFS/NTFS/exFAT
  837. /dev/sdb2 * 2013788160 3907024895 1893236736 902.8G 83 Linux
  838. Disk /dev/sdc: 7.3 GiB, 7866580992 bytes, 15364416 sectors
  839. Units: sectors of 1 * 512 = 512 bytes
  840. Sector size (logical/physical): 512 bytes / 512 bytes
  841. I/O size (minimum/optimal): 512 bytes / 512 bytes
  842. Disklabel type: dos
  843. Disk identifier: 0x0e0e8e70
  844. Device Boot Start End Sectors Size Id Type
  845. /dev/sdc1 * 0 2902111 2902112 1.4G 0 Empty
  846. /dev/sdc2 2888004 2892739 4736 2.3M ef EFI (FAT-12/16/32)
  847. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  848. =================== Recommended repair
  849. The default repair of the Boot-Repair utility will purge (in order to fix packages) and reinstall the grub2 of sda1 into the MBRs of all disks (except USB without OS).
  850. The boot flag will be placed on sdc2.
  851. Additional repair will be performed: unhide-bootmenu-10s repair-filesystems
  852. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  853. Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
  854. fsck -fyM /dev/sda1
  855. fsck from util-linux 2.27.1
  856. ntfsfix /dev/sda3
  857. Refusing to operate on read-write mounted device /dev/sda3.
  858. ntfsfix /dev/sdb1
  859. Refusing to operate on read-write mounted device /dev/sdb1.
  860. fsck -fyM /dev/sdb2
  861. fsck from util-linux 2.27.1
  862. fsck -fyM /dev/sdc2
  863. fsck from util-linux 2.27.1
  864. fsck.fat 3.0.28 (2015-05-16)
  865. /dev/sdc2: 4 files, 1169/1173 clusters
  866. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  867. mount /dev/sdc2 : Error code 32
  868. mount -r /dev/sdc2 /mnt/boot-sav/sdc2
  869. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  870. mount -r /dev/sdc2 : Error code 32
  871. parted /dev/sdc set 2 boot on
  872. Warning: The driver descriptor says the physical block size is 2048 bytes, but
  873. Linux says it is 512 bytes.
  874. parted /dev/sdc set 1 boot off
  875. Warning: The driver descriptor says the physical block size is 2048 bytes, but
  876. Linux says it is 512 bytes.
  877. [debug]/mnt/boot-sav/sda1/etc/fstab unchanged for /boot
  878. chroot /mnt/boot-sav/sda1 apt-get -y --force-yes update
  879. AppStream cache update completed, but some metadata was ignored due to errors.
  880. Purge the GRUB of sda1
  881. grub-pc available
  882. The following additional packages will be installed:
  883. grub-gfxpayload-lists grub-pc-bin
  884. Suggested packages:
  885. desktop-base
  886. The following packages will be REMOVED:
  887. grub-efi-amd64 grub-efi-amd64-signed
  888. The following NEW packages will be installed:
  889. grub-gfxpayload-lists grub-pc grub-pc-bin
  890. 0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
  891. 2 not fully installed or removed.
  892. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  893. DEBCHECK debOK, grub-pc
  894. DEBCHECK debOK
  895. shim-signed available
  896. linux-signed-generic available
  897. Please type: sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda1" apt-get install -fynsudo chroot "/mnt/boot-sav/sda1" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  898. =================== sda1/etc/grub.d/ :
  899. drwxr-xr-x 2 root root 4096 Apr 21 20:11 grub.d
  900. total 4
  901. -rwxr-xr-x 1 root root 1992 Jan 28 07:44 20_memtest86+
  902. Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y --force-yes grub-pc linux-generic
  903. =================== sda1/etc/grub.d/ :
  904. drwxr-xr-x 2 root root 4096 Apr 21 20:18 grub.d
  905. drwxr-xr-x 2 root root 4096 Apr 21 20:11 grub.d.bak
  906. total 72
  907. -rwxr-xr-x 1 root root 9791 Apr 15 18:00 00_header
  908. -rwxr-xr-x 1 root root 6258 Mar 15 14:08 05_debian_theme
  909. -rwxr-xr-x 1 root root 12261 Apr 15 18:00 10_linux
  910. -rwxr-xr-x 1 root root 11082 Apr 15 18:00 20_linux_xen
  911. -rwxr-xr-x 1 root root 11692 Apr 15 18:00 30_os-prober
  912. -rwxr-xr-x 1 root root 1418 Apr 15 18:00 30_uefi-firmware
  913. -rwxr-xr-x 1 root root 214 Apr 15 18:00 40_custom
  914. -rwxr-xr-x 1 root root 216 Apr 15 18:00 41_custom
  915. -rw-r--r-- 1 root root 483 Apr 15 18:00 README
  916. =================== sda1/etc/default/grub :
  917. # If you change this file, run 'update-grub' afterwards to update
  918. # /boot/grub/grub.cfg.
  919. # For full documentation of the options in this file, see:
  920. # info -f grub -n 'Simple configuration'
  921. GRUB_DEFAULT=0
  922. GRUB_HIDDEN_TIMEOUT=0
  923. GRUB_HIDDEN_TIMEOUT_QUIET=true
  924. GRUB_TIMEOUT=10
  925. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  926. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  927. GRUB_CMDLINE_LINUX=""
  928. # Uncomment to enable BadRAM filtering, modify to suit your needs
  929. # This works with Linux (no patch required) and with any kernel that obtains
  930. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  931. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  932. # Uncomment to disable graphical terminal (grub-pc only)
  933. #GRUB_TERMINAL=console
  934. # The resolution used on graphical terminal
  935. # note that you can use only modes which your graphic card supports via VBE
  936. # you can see them in real GRUB with the command `vbeinfo'
  937. #GRUB_GFXMODE=640x480
  938. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  939. #GRUB_DISABLE_LINUX_UUID=true
  940. # Uncomment to disable generation of recovery mode menu entries
  941. #GRUB_DISABLE_RECOVERY="true"
  942. # Uncomment to get a beep at grub start
  943. #GRUB_INIT_TUNE="480 440 1"
  944. Unhide GRUB boot menu in sda1/etc/default/grub
  945. =================== sda1/etc/grub.d/ :
  946. drwxr-xr-x 2 root root 4096 Apr 21 20:18 grub.d
  947. drwxr-xr-x 2 root root 4096 Apr 21 20:11 grub.d.bak
  948. total 72
  949. -rwxr-xr-x 1 root root 9791 Apr 15 18:00 00_header
  950. -rwxr-xr-x 1 root root 6258 Mar 15 14:08 05_debian_theme
  951. -rwxr-xr-x 1 root root 12261 Apr 15 18:00 10_linux
  952. -rwxr-xr-x 1 root root 11082 Apr 15 18:00 20_linux_xen
  953. -rwxr-xr-x 1 root root 11692 Apr 15 18:00 30_os-prober
  954. -rwxr-xr-x 1 root root 1418 Apr 15 18:00 30_uefi-firmware
  955. -rwxr-xr-x 1 root root 214 Apr 15 18:00 40_custom
  956. -rwxr-xr-x 1 root root 216 Apr 15 18:00 41_custom
  957. -rw-r--r-- 1 root root 483 Apr 15 18:00 README
  958. =================== sda1/etc/default/grub :
  959. # If you change this file, run 'update-grub' afterwards to update
  960. # /boot/grub/grub.cfg.
  961. # For full documentation of the options in this file, see:
  962. # info -f grub -n 'Simple configuration'
  963. GRUB_DEFAULT=0
  964. #GRUB_HIDDEN_TIMEOUT=0
  965. GRUB_HIDDEN_TIMEOUT_QUIET=true
  966. GRUB_TIMEOUT=10
  967. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  968. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  969. GRUB_CMDLINE_LINUX=""
  970. # Uncomment to enable BadRAM filtering, modify to suit your needs
  971. # This works with Linux (no patch required) and with any kernel that obtains
  972. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  973. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  974. # Uncomment to disable graphical terminal (grub-pc only)
  975. #GRUB_TERMINAL=console
  976. # The resolution used on graphical terminal
  977. # note that you can use only modes which your graphic card supports via VBE
  978. # you can see them in real GRUB with the command `vbeinfo'
  979. #GRUB_GFXMODE=640x480
  980. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  981. #GRUB_DISABLE_LINUX_UUID=true
  982. # Uncomment to disable generation of recovery mode menu entries
  983. #GRUB_DISABLE_RECOVERY="true"
  984. # Uncomment to get a beep at grub start
  985. #GRUB_INIT_TUNE="480 440 1"
  986. Reinstall the GRUB of sda1 into all MBRs of disks with OS or not-USB
  987. *******lspci -nnk | grep -iA3 vga
  988. 06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1)
  989. Subsystem: eVga.com. Corp. GF114 [GeForce GTX 560 Ti] [3842:1568]
  990. Kernel driver in use: nouveau
  991. Kernel modules: nvidiafb, nouveau
  992. 06:00.1 Audio device [0403]: NVIDIA Corporation GF114 HDMI Audio Controller [10de:0e0c] (rev a1)
  993. Subsystem: eVga.com. Corp. GF114 HDMI Audio Controller [3842:1568]
  994. Kernel driver in use: snd_hda_intel
  995. Kernel modules: snd_hda_intel
  996. 08:00.0 USB controller [0c03]: Fresco Logic FL1100 USB 3.0 Host Controller [1b73:1100] (rev 01)
  997. *******
  998. grub-install --version
  999. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  1000. Reinstall the GRUB of sda1 into the MBR of sdb
  1001. Installing for i386-pc platform.
  1002. Installation finished. No error reported.
  1003. grub-install /dev/sdb: exit code of grub-install /dev/sdb:0
  1004. *******lspci -nnk | grep -iA3 vga
  1005. 06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1)
  1006. Subsystem: eVga.com. Corp. GF114 [GeForce GTX 560 Ti] [3842:1568]
  1007. Kernel driver in use: nouveau
  1008. Kernel modules: nvidiafb, nouveau
  1009. 06:00.1 Audio device [0403]: NVIDIA Corporation GF114 HDMI Audio Controller [10de:0e0c] (rev a1)
  1010. Subsystem: eVga.com. Corp. GF114 HDMI Audio Controller [3842:1568]
  1011. Kernel driver in use: snd_hda_intel
  1012. Kernel modules: snd_hda_intel
  1013. 08:00.0 USB controller [0c03]: Fresco Logic FL1100 USB 3.0 Host Controller [1b73:1100] (rev 01)
  1014. *******
  1015. grub-install --version
  1016. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  1017. Reinstall the GRUB of sda1 into the MBR of sdc
  1018. Installing for i386-pc platform.
  1019. grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
  1020. grub-install: error: embedding is not possible, but this is required for cross-disk install.
  1021. grub-install /dev/sdc: exit code of grub-install /dev/sdc:1
  1022. *******lspci -nnk | grep -iA3 vga
  1023. 06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1)
  1024. Subsystem: eVga.com. Corp. GF114 [GeForce GTX 560 Ti] [3842:1568]
  1025. Kernel driver in use: nouveau
  1026. Kernel modules: nvidiafb, nouveau
  1027. 06:00.1 Audio device [0403]: NVIDIA Corporation GF114 HDMI Audio Controller [10de:0e0c] (rev a1)
  1028. Subsystem: eVga.com. Corp. GF114 HDMI Audio Controller [3842:1568]
  1029. Kernel driver in use: snd_hda_intel
  1030. Kernel modules: snd_hda_intel
  1031. 08:00.0 USB controller [0c03]: Fresco Logic FL1100 USB 3.0 Host Controller [1b73:1100] (rev 01)
  1032. *******
  1033. grub-install --version
  1034. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  1035. Reinstall the GRUB of sda1 into the MBR of sda
  1036. Installing for i386-pc platform.
  1037. Installation finished. No error reported.
  1038. grub-install /dev/sda: exit code of grub-install /dev/sda:0
  1039. chroot /mnt/boot-sav/sda1 update-grub
  1040. Generating grub configuration file ...
  1041. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  1042. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  1043. File descriptor 9 (/proc/14907/mounts) leaked on lvs invocation. Parent PID 28038: /bin/sh
  1044. File descriptor 63 (pipe:[330107]) leaked on lvs invocation. Parent PID 28038: /bin/sh
  1045. grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
  1046. Adding boot menu entry for EFI firmware configuration
  1047. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  1048. mount /dev/sdc2 : Error code 32
  1049. mount -r /dev/sdc2 /mnt/boot-sav/sdc2
  1050. mount: /dev/sdc2 is already mounted or /mnt/boot-sav/sdc2 busy
  1051. mount -r /dev/sdc2 : Error code 32
  1052. Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
  1053. An error occurred during the repair.
  1054. You can now reboot your computer.
  1055. Please do not forget to make your BIOS boot on sda (256GB) disk!
  1056. paste.ubuntu.com ko (), using paste.debian
  1057. paste.debian.net ko (), using paste2