1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => No known boot loader is installed in the MBR of /dev/sda.
  4. => No boot loader is installed in the MBR of /dev/sdb.
  5. sda1: __________________________________________________________________________
  6. File system: iso9660
  7. Boot sector type: Unknown
  8. Boot sector info:
  9. Mounting failed: mount: /dev/sda1 is already mounted or /mnt/BootInfo/sda1 busy
  10. sda2: __________________________________________________________________________
  11. File system: vfat
  12. Boot sector type: FAT16
  13. Boot sector info: According to the info in the boot sector, sda2 starts
  14. at sector 0. But according to the info from fdisk,
  15. sda2 starts at sector 14432. According to the info in
  16. the boot sector, sda2 has 0 sectors.
  17. Mounting failed: mount: /dev/sda1 is already mounted or /mnt/BootInfo/sda1 busy
  18. mount: /dev/sda2 is already mounted or /mnt/BootInfo/sda2 busy
  19. sdb1: __________________________________________________________________________
  20. File system: vfat
  21. Boot sector type: FAT32
  22. Boot sector info: No errors found in the Boot Parameter Block.
  23. Operating System:
  24. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
  25. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
  26. /EFI/Microsoft/Boot/bootmgfw.efi
  27. /EFI/Microsoft/Boot/bootx64.efi
  28. sdb2: __________________________________________________________________________
  29. File system: ext4
  30. Boot sector type: -
  31. Boot sector info:
  32. Operating System: Ubuntu 16.04.2 LTS
  33. Boot files: /boot/grub/grub.cfg /etc/fstab
  34. sdb3: __________________________________________________________________________
  35. File system: swap
  36. Boot sector type: -
  37. Boot sector info:
  38. ============================ Drive/Partition Info: =============================
  39. Drive: sda _____________________________________________________________________
  40. Disk /dev/sda: 3.6 GiB, 3880452096 bytes, 7579008 sectors
  41. Units: sectors of 1 * 512 = 512 bytes
  42. Sector size (logical/physical): 512 bytes / 512 bytes
  43. I/O size (minimum/optimal): 512 bytes / 512 bytes
  44. Disklabel type: dos
  45. Partition Boot Start Sector End Sector # of Sectors Id System
  46. /dev/sda1 * 0 3,035,519 3,035,520 0 Empty
  47. /dev/sda2 14,432 19,295 4,864 ef EFI (FAT-12/16/32)
  48. /dev/sda1 overlaps with /dev/sda2
  49. GUID Partition Table detected, but does not seem to be used.
  50. Partition Attrs Start Sector End Sector # of Sectors System
  51. /dev/sda1 + R 0 3,035,463 3,035,464 Data partition (Windows/Linux)
  52. /dev/sda2 + R 14,432 19,295 4,864 Data partition (Windows/Linux)
  53. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  54. Drive: sdb _____________________________________________________________________
  55. Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
  56. Units: sectors of 1 * 512 = 512 bytes
  57. Sector size (logical/physical): 512 bytes / 512 bytes
  58. I/O size (minimum/optimal): 512 bytes / 512 bytes
  59. Disklabel type: gpt
  60. Partition Boot Start Sector End Sector # of Sectors Id System
  61. /dev/sdb1 1 488,397,167 488,397,167 ee GPT
  62. GUID Partition Table detected.
  63. Partition Attrs Start Sector End Sector # of Sectors System
  64. /dev/sdb1 2,048 1,050,623 1,048,576 EFI System partition
  65. /dev/sdb2 1,050,624 471,687,167 470,636,544 Data partition (Linux)
  66. /dev/sdb3 471,687,168 488,396,799 16,709,632 Swap partition (Linux)
  67. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  68. "blkid" output: ________________________________________________________________
  69. Device UUID TYPE LABEL
  70. /dev/loop0 squashfs
  71. /dev/sda1 2017-02-15-21-44-13-00 iso9660 Ubuntu 16.04.2 LTS amd64
  72. /dev/sda2 E561-C446 vfat
  73. /dev/sdb1 F405-4672 vfat
  74. /dev/sdb2 079445a2-4dc5-49b9-a4dc-d0904503f641 ext4
  75. /dev/sdb3 1e0044a0-7055-4ff5-bfdd-86db3ef9c940 swap
  76. ========================= "ls -l /dev/disk/by-id" output: ======================
  77. total 0
  78. lrwxrwxrwx 1 root root 9 Jun 30 17:54 ata-ATAPI_iHAS124_B_3524215_3F8120501250 -> ../../sr0
  79. lrwxrwxrwx 1 root root 9 Jun 30 18:23 ata-Hitachi_HCS5C3225SLA380_SCKBN0MM2KJYEC -> ../../sdb
  80. lrwxrwxrwx 1 root root 10 Jun 30 18:23 ata-Hitachi_HCS5C3225SLA380_SCKBN0MM2KJYEC-part1 -> ../../sdb1
  81. lrwxrwxrwx 1 root root 10 Jun 30 18:24 ata-Hitachi_HCS5C3225SLA380_SCKBN0MM2KJYEC-part2 -> ../../sdb2
  82. lrwxrwxrwx 1 root root 10 Jun 30 18:23 ata-Hitachi_HCS5C3225SLA380_SCKBN0MM2KJYEC-part3 -> ../../sdb3
  83. lrwxrwxrwx 1 root root 9 Jun 30 18:23 usb-_USB_DISK_2.0_07BA0A13294626AE-0:0 -> ../../sda
  84. lrwxrwxrwx 1 root root 10 Jun 30 18:23 usb-_USB_DISK_2.0_07BA0A13294626AE-0:0-part1 -> ../../sda1
  85. lrwxrwxrwx 1 root root 10 Jun 30 18:23 usb-_USB_DISK_2.0_07BA0A13294626AE-0:0-part2 -> ../../sda2
  86. lrwxrwxrwx 1 root root 9 Jun 30 18:23 wwn-0x5000cca34ee428f1 -> ../../sdb
  87. lrwxrwxrwx 1 root root 10 Jun 30 18:23 wwn-0x5000cca34ee428f1-part1 -> ../../sdb1
  88. lrwxrwxrwx 1 root root 10 Jun 30 18:24 wwn-0x5000cca34ee428f1-part2 -> ../../sdb2
  89. lrwxrwxrwx 1 root root 10 Jun 30 18:23 wwn-0x5000cca34ee428f1-part3 -> ../../sdb3
  90. ================================ Mount points: =================================
  91. Device Mount_Point Type Options
  92. /dev/loop0 /rofs squashfs (ro,noatime)
  93. /dev/sda /cdrom iso9660 (ro,noatime)
  94. =========================== sdb2/boot/grub/grub.cfg: ===========================
  95. --------------------------------------------------------------------------------
  96. #
  97. # DO NOT EDIT THIS FILE
  98. #
  99. # It is automatically generated by grub-mkconfig using templates
  100. # from /etc/grub.d and settings from /etc/default/grub
  101. #
  102. ### BEGIN /etc/grub.d/00_header ###
  103. if [ -s $prefix/grubenv ]; then
  104. set have_grubenv=true
  105. load_env
  106. fi
  107. if [ "${next_entry}" ] ; then
  108. set default="${next_entry}"
  109. set next_entry=
  110. save_env next_entry
  111. set boot_once=true
  112. else
  113. set default="0"
  114. fi
  115. if [ x"${feature_menuentry_id}" = xy ]; then
  116. menuentry_id_option="--id"
  117. else
  118. menuentry_id_option=""
  119. fi
  120. export menuentry_id_option
  121. if [ "${prev_saved_entry}" ]; then
  122. set saved_entry="${prev_saved_entry}"
  123. save_env saved_entry
  124. set prev_saved_entry=
  125. save_env prev_saved_entry
  126. set boot_once=true
  127. fi
  128. function savedefault {
  129. if [ -z "${boot_once}" ]; then
  130. saved_entry="${chosen}"
  131. save_env saved_entry
  132. fi
  133. }
  134. function recordfail {
  135. set recordfail=1
  136. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  137. }
  138. function load_video {
  139. if [ x$feature_all_video_module = xy ]; then
  140. insmod all_video
  141. else
  142. insmod efi_gop
  143. insmod efi_uga
  144. insmod ieee1275_fb
  145. insmod vbe
  146. insmod vga
  147. insmod video_bochs
  148. insmod video_cirrus
  149. fi
  150. }
  151. if [ x$feature_default_font_path = xy ] ; then
  152. font=unicode
  153. else
  154. insmod part_gpt
  155. insmod ext2
  156. set root='hd1,gpt2'
  157. if [ x$feature_platform_search_hint = xy ]; then
  158. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  159. else
  160. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  161. fi
  162. font="/usr/share/grub/unicode.pf2"
  163. fi
  164. if loadfont $font ; then
  165. set gfxmode=auto
  166. load_video
  167. insmod gfxterm
  168. set locale_dir=$prefix/locale
  169. set lang=en_US
  170. insmod gettext
  171. fi
  172. terminal_output gfxterm
  173. if [ "${recordfail}" = 1 ] ; then
  174. set timeout=10
  175. else
  176. if [ x$feature_timeout_style = xy ] ; then
  177. set timeout_style=menu
  178. set timeout=10
  179. # Fallback normal timeout code in case the timeout_style feature is
  180. # unavailable.
  181. else
  182. set timeout=10
  183. fi
  184. fi
  185. ### END /etc/grub.d/00_header ###
  186. ### BEGIN /etc/grub.d/05_debian_theme ###
  187. set menu_color_normal=white/black
  188. set menu_color_highlight=black/light-gray
  189. if background_color 44,0,30,0; then
  190. clear
  191. fi
  192. ### END /etc/grub.d/05_debian_theme ###
  193. ### BEGIN /etc/grub.d/10_linux ###
  194. function gfxmode {
  195. set gfxpayload="${1}"
  196. if [ "${1}" = "keep" ]; then
  197. set vt_handoff=vt.handoff=7
  198. else
  199. set vt_handoff=
  200. fi
  201. }
  202. set linux_gfx_mode=None
  203. export linux_gfx_mode
  204. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  205. recordfail
  206. load_video
  207. gfxmode $linux_gfx_mode
  208. insmod gzio
  209. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  210. insmod part_gpt
  211. insmod ext2
  212. set root='hd1,gpt2'
  213. if [ x$feature_platform_search_hint = xy ]; then
  214. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  215. else
  216. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  217. fi
  218. linux /boot/vmlinuz-4.4.0-81-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff
  219. initrd /boot/initrd.img-4.4.0-81-generic
  220. }
  221. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  222. menuentry 'Ubuntu, with Linux 4.4.0-81-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-81-generic-advanced-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  223. recordfail
  224. load_video
  225. gfxmode $linux_gfx_mode
  226. insmod gzio
  227. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  228. insmod part_gpt
  229. insmod ext2
  230. set root='hd1,gpt2'
  231. if [ x$feature_platform_search_hint = xy ]; then
  232. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  233. else
  234. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  235. fi
  236. echo 'Loading Linux 4.4.0-81-generic ...'
  237. linux /boot/vmlinuz-4.4.0-81-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff
  238. echo 'Loading initial ramdisk ...'
  239. initrd /boot/initrd.img-4.4.0-81-generic
  240. }
  241. menuentry 'Ubuntu, with Linux 4.4.0-81-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-81-generic-init-upstart-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  242. recordfail
  243. load_video
  244. gfxmode $linux_gfx_mode
  245. insmod gzio
  246. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  247. insmod part_gpt
  248. insmod ext2
  249. set root='hd1,gpt2'
  250. if [ x$feature_platform_search_hint = xy ]; then
  251. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  252. else
  253. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  254. fi
  255. echo 'Loading Linux 4.4.0-81-generic ...'
  256. linux /boot/vmlinuz-4.4.0-81-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff init=/sbin/upstart
  257. echo 'Loading initial ramdisk ...'
  258. initrd /boot/initrd.img-4.4.0-81-generic
  259. }
  260. menuentry 'Ubuntu, with Linux 4.4.0-81-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-81-generic-recovery-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  261. recordfail
  262. load_video
  263. insmod gzio
  264. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  265. insmod part_gpt
  266. insmod ext2
  267. set root='hd1,gpt2'
  268. if [ x$feature_platform_search_hint = xy ]; then
  269. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  270. else
  271. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  272. fi
  273. echo 'Loading Linux 4.4.0-81-generic ...'
  274. linux /boot/vmlinuz-4.4.0-81-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro recovery nomodeset
  275. echo 'Loading initial ramdisk ...'
  276. initrd /boot/initrd.img-4.4.0-81-generic
  277. }
  278. menuentry 'Ubuntu, with Linux 4.4.0-79-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-advanced-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  279. recordfail
  280. load_video
  281. gfxmode $linux_gfx_mode
  282. insmod gzio
  283. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  284. insmod part_gpt
  285. insmod ext2
  286. set root='hd1,gpt2'
  287. if [ x$feature_platform_search_hint = xy ]; then
  288. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  289. else
  290. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  291. fi
  292. echo 'Loading Linux 4.4.0-79-generic ...'
  293. linux /boot/vmlinuz-4.4.0-79-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff
  294. echo 'Loading initial ramdisk ...'
  295. initrd /boot/initrd.img-4.4.0-79-generic
  296. }
  297. menuentry 'Ubuntu, with Linux 4.4.0-79-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-init-upstart-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  298. recordfail
  299. load_video
  300. gfxmode $linux_gfx_mode
  301. insmod gzio
  302. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  303. insmod part_gpt
  304. insmod ext2
  305. set root='hd1,gpt2'
  306. if [ x$feature_platform_search_hint = xy ]; then
  307. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  308. else
  309. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  310. fi
  311. echo 'Loading Linux 4.4.0-79-generic ...'
  312. linux /boot/vmlinuz-4.4.0-79-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff init=/sbin/upstart
  313. echo 'Loading initial ramdisk ...'
  314. initrd /boot/initrd.img-4.4.0-79-generic
  315. }
  316. menuentry 'Ubuntu, with Linux 4.4.0-79-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-recovery-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  317. recordfail
  318. load_video
  319. insmod gzio
  320. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  321. insmod part_gpt
  322. insmod ext2
  323. set root='hd1,gpt2'
  324. if [ x$feature_platform_search_hint = xy ]; then
  325. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  326. else
  327. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  328. fi
  329. echo 'Loading Linux 4.4.0-79-generic ...'
  330. linux /boot/vmlinuz-4.4.0-79-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro recovery nomodeset
  331. echo 'Loading initial ramdisk ...'
  332. initrd /boot/initrd.img-4.4.0-79-generic
  333. }
  334. menuentry 'Ubuntu, with Linux 4.4.0-78-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-advanced-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  335. recordfail
  336. load_video
  337. gfxmode $linux_gfx_mode
  338. insmod gzio
  339. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  340. insmod part_gpt
  341. insmod ext2
  342. set root='hd1,gpt2'
  343. if [ x$feature_platform_search_hint = xy ]; then
  344. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  345. else
  346. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  347. fi
  348. echo 'Loading Linux 4.4.0-78-generic ...'
  349. linux /boot/vmlinuz-4.4.0-78-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff
  350. echo 'Loading initial ramdisk ...'
  351. initrd /boot/initrd.img-4.4.0-78-generic
  352. }
  353. menuentry 'Ubuntu, with Linux 4.4.0-78-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-init-upstart-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  354. recordfail
  355. load_video
  356. gfxmode $linux_gfx_mode
  357. insmod gzio
  358. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  359. insmod part_gpt
  360. insmod ext2
  361. set root='hd1,gpt2'
  362. if [ x$feature_platform_search_hint = xy ]; then
  363. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  364. else
  365. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  366. fi
  367. echo 'Loading Linux 4.4.0-78-generic ...'
  368. linux /boot/vmlinuz-4.4.0-78-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff init=/sbin/upstart
  369. echo 'Loading initial ramdisk ...'
  370. initrd /boot/initrd.img-4.4.0-78-generic
  371. }
  372. menuentry 'Ubuntu, with Linux 4.4.0-78-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-recovery-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  373. recordfail
  374. load_video
  375. insmod gzio
  376. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  377. insmod part_gpt
  378. insmod ext2
  379. set root='hd1,gpt2'
  380. if [ x$feature_platform_search_hint = xy ]; then
  381. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  382. else
  383. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  384. fi
  385. echo 'Loading Linux 4.4.0-78-generic ...'
  386. linux /boot/vmlinuz-4.4.0-78-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro recovery nomodeset
  387. echo 'Loading initial ramdisk ...'
  388. initrd /boot/initrd.img-4.4.0-78-generic
  389. }
  390. menuentry 'Ubuntu, with Linux 4.4.0-77-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-77-generic-advanced-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  391. recordfail
  392. load_video
  393. gfxmode $linux_gfx_mode
  394. insmod gzio
  395. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  396. insmod part_gpt
  397. insmod ext2
  398. set root='hd1,gpt2'
  399. if [ x$feature_platform_search_hint = xy ]; then
  400. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  401. else
  402. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  403. fi
  404. echo 'Loading Linux 4.4.0-77-generic ...'
  405. linux /boot/vmlinuz-4.4.0-77-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff
  406. echo 'Loading initial ramdisk ...'
  407. initrd /boot/initrd.img-4.4.0-77-generic
  408. }
  409. menuentry 'Ubuntu, with Linux 4.4.0-77-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-77-generic-init-upstart-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  410. recordfail
  411. load_video
  412. gfxmode $linux_gfx_mode
  413. insmod gzio
  414. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  415. insmod part_gpt
  416. insmod ext2
  417. set root='hd1,gpt2'
  418. if [ x$feature_platform_search_hint = xy ]; then
  419. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  420. else
  421. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  422. fi
  423. echo 'Loading Linux 4.4.0-77-generic ...'
  424. linux /boot/vmlinuz-4.4.0-77-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff init=/sbin/upstart
  425. echo 'Loading initial ramdisk ...'
  426. initrd /boot/initrd.img-4.4.0-77-generic
  427. }
  428. menuentry 'Ubuntu, with Linux 4.4.0-77-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-77-generic-recovery-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  429. recordfail
  430. load_video
  431. insmod gzio
  432. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  433. insmod part_gpt
  434. insmod ext2
  435. set root='hd1,gpt2'
  436. if [ x$feature_platform_search_hint = xy ]; then
  437. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  438. else
  439. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  440. fi
  441. echo 'Loading Linux 4.4.0-77-generic ...'
  442. linux /boot/vmlinuz-4.4.0-77-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro recovery nomodeset
  443. echo 'Loading initial ramdisk ...'
  444. initrd /boot/initrd.img-4.4.0-77-generic
  445. }
  446. menuentry 'Ubuntu, with Linux 4.4.0-75-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-75-generic-advanced-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  447. recordfail
  448. load_video
  449. gfxmode $linux_gfx_mode
  450. insmod gzio
  451. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  452. insmod part_gpt
  453. insmod ext2
  454. set root='hd1,gpt2'
  455. if [ x$feature_platform_search_hint = xy ]; then
  456. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  457. else
  458. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  459. fi
  460. echo 'Loading Linux 4.4.0-75-generic ...'
  461. linux /boot/vmlinuz-4.4.0-75-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff
  462. echo 'Loading initial ramdisk ...'
  463. initrd /boot/initrd.img-4.4.0-75-generic
  464. }
  465. menuentry 'Ubuntu, with Linux 4.4.0-75-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-75-generic-init-upstart-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  466. recordfail
  467. load_video
  468. gfxmode $linux_gfx_mode
  469. insmod gzio
  470. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  471. insmod part_gpt
  472. insmod ext2
  473. set root='hd1,gpt2'
  474. if [ x$feature_platform_search_hint = xy ]; then
  475. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  476. else
  477. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  478. fi
  479. echo 'Loading Linux 4.4.0-75-generic ...'
  480. linux /boot/vmlinuz-4.4.0-75-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro nomodeset=1 quiet splash $vt_handoff init=/sbin/upstart
  481. echo 'Loading initial ramdisk ...'
  482. initrd /boot/initrd.img-4.4.0-75-generic
  483. }
  484. menuentry 'Ubuntu, with Linux 4.4.0-75-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-75-generic-recovery-079445a2-4dc5-49b9-a4dc-d0904503f641' {
  485. recordfail
  486. load_video
  487. insmod gzio
  488. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  489. insmod part_gpt
  490. insmod ext2
  491. set root='hd1,gpt2'
  492. if [ x$feature_platform_search_hint = xy ]; then
  493. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 079445a2-4dc5-49b9-a4dc-d0904503f641
  494. else
  495. search --no-floppy --fs-uuid --set=root 079445a2-4dc5-49b9-a4dc-d0904503f641
  496. fi
  497. echo 'Loading Linux 4.4.0-75-generic ...'
  498. linux /boot/vmlinuz-4.4.0-75-generic.efi.signed root=UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 ro recovery nomodeset
  499. echo 'Loading initial ramdisk ...'
  500. initrd /boot/initrd.img-4.4.0-75-generic
  501. }
  502. }
  503. ### END /etc/grub.d/10_linux ###
  504. ### BEGIN /etc/grub.d/20_linux_xen ###
  505. ### END /etc/grub.d/20_linux_xen ###
  506. ### BEGIN /etc/grub.d/20_memtest86+ ###
  507. ### END /etc/grub.d/20_memtest86+ ###
  508. ### BEGIN /etc/grub.d/25_custom ###
  509. menuentry "EFI/ubuntu/MokManager.efi" {
  510. search --fs-uuid --no-floppy --set=root F405-4672
  511. chainloader (${root})/EFI/ubuntu/MokManager.efi
  512. }
  513. ### END /etc/grub.d/25_custom ###
  514. ### BEGIN /etc/grub.d/30_os-prober ###
  515. ### END /etc/grub.d/30_os-prober ###
  516. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  517. ### END /etc/grub.d/30_uefi-firmware ###
  518. ### BEGIN /etc/grub.d/40_custom ###
  519. # This file provides an easy way to add custom menu entries. Simply type the
  520. # menu entries you want to add after this comment. Be careful not to change
  521. # the 'exec tail' line above.
  522. ### END /etc/grub.d/40_custom ###
  523. ### BEGIN /etc/grub.d/41_custom ###
  524. if [ -f ${config_directory}/custom.cfg ]; then
  525. source ${config_directory}/custom.cfg
  526. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  527. source $prefix/custom.cfg;
  528. fi
  529. ### END /etc/grub.d/41_custom ###
  530. --------------------------------------------------------------------------------
  531. =============================== sdb2/etc/fstab: ================================
  532. --------------------------------------------------------------------------------
  533. # /etc/fstab: static file system information.
  534. #
  535. # Use 'blkid' to print the universally unique identifier for a
  536. # device; this may be used with UUID= as a more robust way to name devices
  537. # that works even if disks are added and removed. See fstab(5).
  538. #
  539. # <file system> <mount point> <type> <options> <dump> <pass>
  540. # / was on /dev/sdd2 during installation
  541. UUID=079445a2-4dc5-49b9-a4dc-d0904503f641 / ext4 errors=remount-ro 0 1
  542. # /boot/efi was on /dev/sda1 during installation
  543. #UUID=D425-C1B3 /boot/efi vfat defaults 0 1
  544. # swap was on /dev/sdd3 during installation
  545. UUID=1e0044a0-7055-4ff5-bfdd-86db3ef9c940 none swap sw 0 0
  546. UUID=F405-4672 /boot/efi vfat defaults 0 1
  547. --------------------------------------------------------------------------------
  548. =================== sdb2: Location of files loaded by Grub: ====================
  549. GiB - GB File Fragment(s)
  550. 168.628067017 = 181.063008256 boot/grub/grub.cfg 1
  551. 111.507568359 = 119.730339840 boot/vmlinuz-4.4.0-75-generic 1
  552. 11.406009674 = 12.247109632 boot/vmlinuz-4.4.0-75-generic.efi.signed 1
  553. 40.763019562 = 43.768958976 boot/vmlinuz-4.4.0-77-generic 1
  554. 41.187259674 = 44.224483328 boot/vmlinuz-4.4.0-77-generic.efi.signed 1
  555. 67.570075989 = 72.552816640 boot/vmlinuz-4.4.0-78-generic 1
  556. 43.296642303 = 46.489415680 boot/vmlinuz-4.4.0-78-generic.efi.signed 2
  557. 10.544689178 = 11.322273792 boot/vmlinuz-4.4.0-79-generic 1
  558. 41.152111053 = 44.186742784 boot/vmlinuz-4.4.0-79-generic.efi.signed 2
  559. 143.508232117 = 154.090790912 boot/vmlinuz-4.4.0-81-generic 1
  560. 74.675552368 = 80.182263808 boot/vmlinuz-4.4.0-81-generic.efi.signed 1
  561. 143.508232117 = 154.090790912 vmlinuz 1
  562. 10.544689178 = 11.322273792 vmlinuz.old 1
  563. 142.953411102 = 153.495056384 boot/initrd.img-4.4.0-75-generic 5
  564. 145.396396637 = 156.118192128 boot/initrd.img-4.4.0-77-generic 4
  565. 169.461910248 = 181.958340608 boot/initrd.img-4.4.0-78-generic 6
  566. 142.953670502 = 153.495334912 boot/initrd.img-4.4.0-79-generic 5
  567. 111.868934631 = 120.118353920 boot/initrd.img-4.4.0-81-generic 2
  568. 111.868934631 = 120.118353920 initrd.img 2
  569. 142.953670502 = 153.495334912 initrd.img.old 5
  570. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  571. Unknown MBR on /dev/sda
  572. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  573. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  574. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  575. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  576. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  577. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  578. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  579. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  580. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  581. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  582. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  583. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  584. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  585. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  586. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  587. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  588. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  589. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  590. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  591. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  592. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  593. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  594. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  595. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  596. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  597. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  598. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  599. 000001b0 58 03 00 00 00 00 00 00 3d 54 e2 15 00 00 80 00 |X.......=T......|
  600. 000001c0 01 00 00 5c e0 fb 00 00 00 00 80 51 2e 00 00 fe |...\.......Q....|
  601. 000001d0 ff ff ef fe ff ff 60 38 00 00 00 13 00 00 00 00 |......`8........|
  602. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  603. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  604. 00000200
  605. /dev/sda1: unknown GPT attributes
  606. 1000000000000001
  607. /dev/sda2: unknown GPT attributes
  608. 1000000000000001
  609. Unknown BootLoader on sda1
  610. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  611. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  612. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  613. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  614. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  615. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  616. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  617. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  618. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  619. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  620. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  621. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  622. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  623. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  624. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  625. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  626. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  627. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  628. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  629. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  630. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  631. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  632. *
  633. 000001b0 58 03 00 00 00 00 00 00 3d 54 e2 15 00 00 80 00 |X.......=T......|
  634. 000001c0 01 00 00 5c e0 fb 00 00 00 00 80 51 2e 00 00 fe |...\.......Q....|
  635. 000001d0 ff ff ef fe ff ff 60 38 00 00 00 13 00 00 00 00 |......`8........|
  636. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  637. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  638. 00000200
  639. =============================== StdErr Messages: ===============================
  640. File descriptor 9 (/proc/22103/mounts) leaked on lvs invocation. Parent PID 1032: bash
  641. File descriptor 63 (pipe:[199451]) leaked on lvs invocation. Parent PID 1032: bash
  642. ADDITIONAL INFORMATION :
  643. =================== log of boot-repair 2017-06-30__18h23 ===================
  644. boot-repair version : 4ppa40
  645. boot-sav version : 4ppa40
  646. glade2script version : 3.2.3~ppa1
  647. boot-sav-extra version : 4ppa40
  648. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  649. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  650. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  651. boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
  652. CPU op-mode(s): 32-bit, 64-bit
  653. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  654. ls: cannot access '/home/usr/.config': No such file or directory
  655. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  656. mount /dev/sda2 : Error code 32
  657. mount -r /dev/sda2 /mnt/boot-sav/sda2
  658. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  659. mount -r /dev/sda2 : Error code 32
  660. =================== os-prober:
  661. /dev/sdb2:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
  662. =================== blkid:
  663. /dev/loop0: TYPE="squashfs"
  664. /dev/sda1: UUID="2017-02-15-21-44-13-00" LABEL="Ubuntu 16.04.2 LTS amd64" TYPE="iso9660" PTUUID="15e2543d" PTTYPE="dos" PARTUUID="15e2543d-01"
  665. /dev/sda2: SEC_TYPE="msdos" UUID="E561-C446" TYPE="vfat" PARTUUID="15e2543d-02"
  666. /dev/sdb1: UUID="F405-4672" TYPE="vfat" PARTUUID="1e17fd0f-fb1f-4aa8-a10b-6749c6705188"
  667. /dev/sdb2: UUID="079445a2-4dc5-49b9-a4dc-d0904503f641" TYPE="ext4" PARTUUID="6ff3728f-3f35-4e39-aa12-109d01bf8db9"
  668. /dev/sdb3: UUID="1e0044a0-7055-4ff5-bfdd-86db3ef9c940" TYPE="swap" PARTUUID="a28b807d-2669-4db2-a469-1baabf7811dd"
  669. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  670. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  671. mount /dev/sda2 : Error code 32
  672. mount -r /dev/sda2 /mnt/boot-sav/sda2
  673. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  674. mount -r /dev/sda2 : Error code 32
  675. dd: invalid number: ‘0’
  676. Warning: /var/log/boot-sav/log/2017-06-30__18h23boot-repair54/sda/current_mbr.img could not be created. Please report this message to [email protected]
  677. =================== sdb2/etc/grub.d/ :
  678. drwxr-xr-x 2 root root 4096 Jun 17 04:06 grub.d
  679. total 80
  680. -rwxr-xr-x 1 root root 9791 Feb 25 2016 00_header
  681. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  682. -rwxr-xr-x 1 root root 12512 Mar 1 21:01 10_linux
  683. -rwxr-xr-x 1 root root 11082 Jul 23 2016 20_linux_xen
  684. -rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
  685. -rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
  686. -rwxr-xr-x 1 root root 1418 Aug 2 2016 30_uefi-firmware
  687. -rwxr-xr-x 1 root root 214 May 15 2014 40_custom
  688. -rwxr-xr-x 1 root root 216 May 15 2014 41_custom
  689. -rw-r--r-- 1 root root 483 May 15 2014 README
  690. =================== sdb2/etc/default/grub :
  691. # If you change this file, run 'update-grub' afterwards to update
  692. # /boot/grub/grub.cfg.
  693. # For full documentation of the options in this file, see:
  694. # info -f grub -n 'Simple configuration'
  695. GRUB_DEFAULT=0
  696. #GRUB_HIDDEN_TIMEOUT=0
  697. GRUB_HIDDEN_TIMEOUT_QUIET=true
  698. GRUB_TIMEOUT=10
  699. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  700. GRUB_CMDLINE_LINUX_DEFAULT="nomodeset=1 quiet splash"
  701. GRUB_CMDLINE_LINUX=""
  702. # Uncomment to enable BadRAM filtering, modify to suit your needs
  703. # This works with Linux (no patch required) and with any kernel that obtains
  704. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  705. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  706. # Uncomment to disable graphical terminal (grub-pc only)
  707. #GRUB_TERMINAL=console
  708. # The resolution used on graphical terminal
  709. # note that you can use only modes which your graphic card supports via VBE
  710. # you can see them in real GRUB with the command `vbeinfo'
  711. #GRUB_GFXMODE=640x480
  712. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  713. #GRUB_DISABLE_LINUX_UUID=true
  714. # Uncomment to disable generation of recovery mode menu entries
  715. #GRUB_DISABLE_RECOVERY="true"
  716. # Uncomment to get a beep at grub start
  717. #GRUB_INIT_TUNE="480 440 1"
  718. GRUB_GFXPAYLOAD_LINUX=None
  719. /boot/efi detected in the fstab of sdb2: UUID=D425-C1B3 ()
  720. ls /sys/firmware/efi/vars : WdtPersistentData-78ce2354-cfbc-4643-aeba-07a27fa892bf,VARSTORE_OCMR_TIMING_SETTINGS_NAME-93c483a1-d3fa-4e92-b437-733b2a346e23,VARSTORE_OCMR_SETTINGS_NAME-c05fba7d-7a92-49e0-bcee-233b14dca803,UsbSupport-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,USB_POINT-8be4df61-93ca-11d2-aa0d-00e098032b8c,UsbMassDevValid-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,UsbMassDevNum-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,StdDefaults-4599d26f-1a11-49b8-b91f-858745cff824,SetupSnbPpmFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,SetupPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,SetupHWMOneof-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,SetupHWMFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,ScramblerBaseSeed-87f22dcb-7304-4105-bb7c-317143ccc23b,SbAslBufferPtrVar-01f33c25-764d-43ea-aeea-6b5a41f3f3e8,SaPegData-c4975200-64f1-4fb6-9773-f6a9f89d985e,S3SS-4bafc2b4-02dc-4104-b236-d6f1b98d9e84,PNP0604_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0604_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0510_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0510_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_1_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_1_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0400_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0400_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PchS3Peim-e6c2f70a-b604-4877-85ba-deec89e117eb,PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb,OldLegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652,OemCpuData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,NvRamSpdMap-717fc150-abd9-4614-8015-0b3323eab95c,new_var,NBPlatformData-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,MrcS3Resume-87f22dcb-7304-4105-bb7c-317143ccc23b,MonotonicCounter-8be4df61-93ca-11d2-aa0d-00e098032b8c,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryFreq-58cd8089-e2d9-4b84-88b8-3da497dba390,MemCeil.-8be4df61-93ca-11d2-aa0d-00e098032b8c,MeEOPFlag-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,LegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,IccOcFlag-ec5ff312-bb97-465a-94fd-c84c2cb80e53,IccAdvancedSetupDataVar-7b77fb8b-1e0d-4d7e-953f-3980a261e077,FTBBResetFlag-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ErrOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,EPUHWSwitch-f61b2305-aac3-4c9d-8f25-3a4313f9cc0e,EPUflag-f61b2305-aac3-4c9d-8f25-3a4313f9cc0e,dump-type0-9-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-8-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-7-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-6-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-5-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-4-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-3-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-2-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-1-1-1432203490-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-11-1-1432203491-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,dump-type0-10-1-1432203491-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0,del_var,DefaultLegacyDevOrder-3c4ead08-45ae-4315-8d15-a60eaa8caf69,DefaultBootOrder-45cf35f6-0d6e-4d04-856a-0370a5b16f53,CurVID.-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,CMOSfailflag-c89dc9c7-5105-472c-a743-b1621e142b41,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot000A-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0009-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,ASUSMEUPDATE-65bd31bb-6d07-48af-be32-e4859b0dd421,AMITSESetup-c811fa38-42c8-4579-a9bb-60e94eddfb34,AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e,
  721. Please report this message to [email protected]
  722. =================== efibootmgr -v
  723. BootCurrent: 000A
  724. Timeout: 1 seconds
  725. BootOrder: 0009,000A,0002,0001
  726. Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .B....................A...........................>..Gd-.;.A..MQ..L.5.3.4.2.1.2. .5.F.3.1.8.0.2.0.5.2.1.0.5......AMBO
  727. Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.H.i.t.a.c.h.i. .H.C.S.5.C.3.2.2.5.S.L.A.3.8.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . .C.S.B.K.0.N.M.M.K.2.Y.J.C.E......AMBOAMNO........c. .U.S.B. .D.I.S.K. .2...0....................A.............................0..Gd-.;.A..MQ..L. .U.S.B. .D.I.S.K. .2...0......AMBOAMNOg.......M.P.1.:....................A..............................Gd-.;.A..MQ..L.P.1.:......AMBO
  728. Boot0009* ubuntu HD(1,GPT,1e17fd0f-fb1f-4aa8-a10b-6749c6705188,0x800,0x100000)/File(EFIUbuntugrubx64.efi)
  729. Boot000A* UEFI: USB DISK 2.0 PciRoot(0x0)/Pci(0x1c,0x1)/Pci(0x0,0x0)/USB(3,0)/HD(1,MBR,0x61,0x3860,0x1300)AMBO
  730. =================== UEFI/Legacy mode:
  731. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  732. SecureBoot maybe enabled. (maybe sec-boot, Please report this message to [email protected])
  733. =================== PARTITIONS & DISKS:
  734. sda2 : sda, 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/sda2.
  735. sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, 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/sdb1.
  736. sdb2 : sdb, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-bad-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/sdb2.
  737. sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  738. sdb : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  739. =================== parted -l:
  740. Model: USB DISK 2.0 (scsi)
  741. Disk /dev/sda: 3880MB
  742. Sector size (logical/physical): 512B/512B
  743. Partition Table: unknown
  744. Disk Flags:
  745. Model: ATA Hitachi HCS5C322 (scsi)
  746. Disk /dev/sdb: 250GB
  747. Sector size (logical/physical): 512B/512B
  748. Partition Table: gpt
  749. Disk Flags:
  750. Number Start End Size File system Name Flags
  751. 1 1049kB 538MB 537MB fat32 boot, esp
  752. 2 538MB 242GB 241GB ext4
  753. 3 242GB 250GB 8555MB linux-swap(v1)
  754. =================== parted -lm:
  755. BYT;
  756. /dev/sda:3880MB:scsi:512:512:unknown: USB DISK 2.0:;
  757. BYT;
  758. /dev/sdb:250GB:scsi:512:512:gpt:ATA Hitachi HCS5C322:;
  759. 1:1049kB:538MB:537MB:fat32::boot, esp;
  760. 2:538MB:242GB:241GB:ext4::;
  761. 3:242GB:250GB:8555MB:linux-swap(v1)::;
  762. =================== lsblk:
  763. KNAME TYPE FSTYPE SIZE LABEL
  764. sdb disk 232.9G
  765. sdb2 part ext4 224.4G
  766. sdb3 part swap 8G
  767. sdb1 part vfat 512M
  768. sr0 rom 1024M
  769. loop0 loop squashfs 1.4G
  770. sda disk iso9660 3.6G Ubuntu 16.04.2 LTS amd64
  771. sda2 part vfat 2.4M Ubuntu 16.04.2 LTS amd64
  772. sda1 part iso9660 1.5G Ubuntu 16.04.2 LTS amd64
  773. KNAME ROTA RO RM STATE MOUNTPOINT
  774. sdb 1 0 0 running
  775. sdb2 1 0 0 /mnt/boot-sav/sdb2
  776. sdb3 1 0 0 [SWAP]
  777. sdb1 1 0 0 /mnt/boot-sav/sdb1
  778. sr0 1 0 1 running
  779. loop0 1 1 0 /rofs
  780. sda 1 0 1 running /cdrom
  781. sda2 1 0 1
  782. sda1 1 0 1
  783. =================== mount:
  784. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  785. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  786. udev on /dev type devtmpfs (rw,nosuid,relatime,size=8147528k,nr_inodes=2036882,mode=755)
  787. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  788. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1632624k,mode=755)
  789. /dev/sda on /cdrom type iso9660 (ro,noatime)
  790. /dev/loop0 on /rofs type squashfs (ro,noatime)
  791. aufs on / type aufs (rw,noatime,si=8ba6eeb144221e5a)
  792. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  793. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  794. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  795. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  796. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  797. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  798. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  799. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  800. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  801. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  802. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  803. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  804. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  805. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  806. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  807. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  808. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  809. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=9032)
  810. mqueue on /dev/mqueue type mqueue (rw,relatime)
  811. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  812. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  813. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  814. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  815. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  816. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1632624k,mode=700,uid=999,gid=999)
  817. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  818. /dev/sdb1 on /mnt/boot-sav/sdb1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  819. /dev/sdb2 on /mnt/boot-sav/sdb2 type ext4 (rw,relatime,data=ordered)
  820. =================== ls:
  821. /sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
  822. /sys/block/sdb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
  823. /sys/block/sr0 (filtered): alignment_offset badblocks 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
  824. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 drm_dp_aux3 drm_dp_aux4 dvd dvdrw ecryptfs fb0 fb1 fb2 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hidraw4 hidraw5 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-20 i2c-21 i2c-22 i2c-23 i2c-24 i2c-25 i2c-26 i2c-27 i2c-28 i2c-29 i2c-3 i2c-30 i2c-31 i2c-32 i2c-33 i2c-34 i2c-35 i2c-36 i2c-37 i2c-38 i2c-39 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 sdb sdb1 sdb2 sdb3 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net zero
  825. ls /dev/mapper: control
  826. =================== hexdump -n512 -C /dev/sda2
  827. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  828. 00000010 02 00 02 00 13 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  829. 00000020 00 00 00 00 80 00 29 46 c4 61 e5 4e 4f 20 4e 41 |......)F.a.NO NA|
  830. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  831. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  832. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  833. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  834. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  835. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  836. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  837. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  838. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  839. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  840. *
  841. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  842. 00000200
  843. =================== hexdump -n512 -C /dev/sdb1
  844. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  845. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  846. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  847. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  848. 00000040 80 01 29 72 46 05 f4 4e 4f 20 4e 41 4d 45 20 20 |..)rF..NO NAME |
  849. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  850. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  851. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  852. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  853. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  854. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  855. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  856. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  857. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  858. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  859. *
  860. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  861. 00000200
  862. =================== df -Th:
  863. Filesystem Type Size Used Avail Use% Mounted on
  864. udev devtmpfs 7.8G 0 7.8G 0% /dev
  865. tmpfs tmpfs 1.6G 9.8M 1.6G 1% /run
  866. /dev/sda iso9660 1.5G 1.5G 0 100% /cdrom
  867. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  868. aufs aufs 7.8G 109M 7.7G 2% /
  869. tmpfs tmpfs 7.8G 35M 7.8G 1% /dev/shm
  870. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  871. tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
  872. tmpfs tmpfs 7.8G 756K 7.8G 1% /tmp
  873. tmpfs tmpfs 1.6G 120K 1.6G 1% /run/user/999
  874. /dev/sdb1 vfat 511M 3.4M 508M 1% /mnt/boot-sav/sdb1
  875. /dev/sdb2 ext4 221G 204G 6.6G 97% /mnt/boot-sav/sdb2
  876. =================== fdisk -l:
  877. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  878. Units: sectors of 1 * 512 = 512 bytes
  879. Sector size (logical/physical): 512 bytes / 4096 bytes
  880. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  881. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  882. Units: sectors of 1 * 512 = 512 bytes
  883. Sector size (logical/physical): 512 bytes / 4096 bytes
  884. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  885. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  886. Units: sectors of 1 * 512 = 512 bytes
  887. Sector size (logical/physical): 512 bytes / 4096 bytes
  888. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  889. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  890. Units: sectors of 1 * 512 = 512 bytes
  891. Sector size (logical/physical): 512 bytes / 4096 bytes
  892. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  893. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  894. Units: sectors of 1 * 512 = 512 bytes
  895. Sector size (logical/physical): 512 bytes / 4096 bytes
  896. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  897. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  898. Units: sectors of 1 * 512 = 512 bytes
  899. Sector size (logical/physical): 512 bytes / 4096 bytes
  900. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  901. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  902. Units: sectors of 1 * 512 = 512 bytes
  903. Sector size (logical/physical): 512 bytes / 4096 bytes
  904. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  905. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  906. Units: sectors of 1 * 512 = 512 bytes
  907. Sector size (logical/physical): 512 bytes / 4096 bytes
  908. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  909. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  910. Units: sectors of 1 * 512 = 512 bytes
  911. Sector size (logical/physical): 512 bytes / 4096 bytes
  912. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  913. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  914. Units: sectors of 1 * 512 = 512 bytes
  915. Sector size (logical/physical): 512 bytes / 4096 bytes
  916. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  917. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  918. Units: sectors of 1 * 512 = 512 bytes
  919. Sector size (logical/physical): 512 bytes / 4096 bytes
  920. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  921. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  922. Units: sectors of 1 * 512 = 512 bytes
  923. Sector size (logical/physical): 512 bytes / 4096 bytes
  924. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  925. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  926. Units: sectors of 1 * 512 = 512 bytes
  927. Sector size (logical/physical): 512 bytes / 4096 bytes
  928. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  929. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  930. Units: sectors of 1 * 512 = 512 bytes
  931. Sector size (logical/physical): 512 bytes / 4096 bytes
  932. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  933. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  934. Units: sectors of 1 * 512 = 512 bytes
  935. Sector size (logical/physical): 512 bytes / 4096 bytes
  936. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  937. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  938. Units: sectors of 1 * 512 = 512 bytes
  939. Sector size (logical/physical): 512 bytes / 4096 bytes
  940. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  941. Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
  942. Units: sectors of 1 * 512 = 512 bytes
  943. Sector size (logical/physical): 512 bytes / 512 bytes
  944. I/O size (minimum/optimal): 512 bytes / 512 bytes
  945. Disk /dev/sda: 3.6 GiB, 3880452096 bytes, 7579008 sectors
  946. Units: sectors of 1 * 512 = 512 bytes
  947. Sector size (logical/physical): 512 bytes / 512 bytes
  948. I/O size (minimum/optimal): 512 bytes / 512 bytes
  949. Disklabel type: dos
  950. Disk identifier: 0x15e2543d
  951. Device Boot Start End Sectors Size Id Type
  952. /dev/sda1 * 0 3035519 3035520 1.5G 0 Empty
  953. /dev/sda2 14432 19295 4864 2.4M ef EFI (FAT-12/16/32)
  954. Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
  955. Units: sectors of 1 * 512 = 512 bytes
  956. Sector size (logical/physical): 512 bytes / 512 bytes
  957. I/O size (minimum/optimal): 512 bytes / 512 bytes
  958. Disklabel type: gpt
  959. Disk identifier: 11CF6AAF-C619-4F2A-89EF-A0D72486149F
  960. Device Start End Sectors Size Type
  961. /dev/sdb1 2048 1050623 1048576 512M EFI System
  962. /dev/sdb2 1050624 471687167 470636544 224.4G Linux filesystem
  963. /dev/sdb3 471687168 488396799 16709632 8G Linux swap
  964. =================== Recommended repair
  965. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sdb2, using the following options: sdb1/boot/efi,
  966. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  967. /boot/efi added in sdb2/fstab
  968. sdb2 is 97 % full
  969. (nautilus:28226): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  970. ** (nautilus:28226): CRITICAL **: Another desktop manager in use; desktop window won't be created
  971. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  972. Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
  973. Please ask your system administrator to enable user sharing.
  974. totem-video-thumbnailer couldn't open file 'file:///mnt/boot-sav/sdb2/home/speed/2017-06-15%2015-23-21.flv'
  975. (nautilus:28226): GnomeDesktop-WARNING **: Unable to create loader for mime type video/x-flv: Unrecognized image file format
  976. (nautilus:28226): GnomeDesktop-WARNING **: Error creating thumbnail for file:///mnt/boot-sav/sdb2/home/speed/2017-06-15%2015-23-21.flv: Unrecognized image file format
  977. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  978. Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
  979. Please ask your system administrator to enable user sharing.
  980. totem-video-thumbnailer couldn't open file 'file:///mnt/boot-sav/sdb2/home/speed/Videos/vlc-record-2017-06-06-16h38m15s-screen___-.avi'
  981. (nautilus:28226): GnomeDesktop-WARNING **: Unable to create loader for mime type video/x-msvideo: Unrecognized image file format
  982. (nautilus:28226): GnomeDesktop-WARNING **: Error creating thumbnail for file:///mnt/boot-sav/sdb2/home/speed/Videos/vlc-record-2017-06-06-16h38m15s-screen___-.avi: Unrecognized image file format
  983. totem-video-thumbnailer couldn't open file 'file:///mnt/boot-sav/sdb2/home/speed/Videos/Warriors%20of%20the%20Net.mpg'
  984. (nautilus:28226): GnomeDesktop-WARNING **: Unable to create loader for mime type video/mpeg: Unrecognized image file format
  985. (nautilus:28226): GnomeDesktop-WARNING **: Error creating thumbnail for file:///mnt/boot-sav/sdb2/home/speed/Videos/Warriors%20of%20the%20Net.mpg: Unrecognized image file format
  986. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  987. (nautilus:28226): TotemPropertiesPage-WARNING **: Couldn't get information about 'file:///mnt/boot-sav/sdb2/home/speed/Videos/vlc-record-2017-06-06-16h38m15s-screen___-.avi': Could not demultiplex stream.
  988. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  989. (nautilus:28226): TotemPropertiesPage-WARNING **: Couldn't get information about 'file:///mnt/boot-sav/sdb2/home/speed/Videos/Warriors%20of%20the%20Net.mpg': Your GStreamer installation is missing a plug-in.
  990. Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
  991. (nautilus:28226): TotemPropertiesPage-WARNING **: Couldn't get information about 'file:///mnt/boot-sav/sdb2/home/speed/2017-06-15%2015-23-21.flv': Internal data stream error.
  992. Mount sdb1 on /mnt/boot-sav/sdb2/boot/efi
  993. ls sdb1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg
  994. lspci: Unable to load libkmod resources: error -12
  995. *******lspci -nnk | grep -iA3 vga
  996. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1)
  997. Subsystem: eVga.com. Corp. GM206 [GeForce GTX 960] [3842:2962]
  998. Kernel driver in use: nouveau
  999. 01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fba] (rev a1)
  1000. Subsystem: eVga.com. Corp. Device [3842:2962]
  1001. Kernel driver in use: snd_hda_intel
  1002. 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GT 640 OEM] [10de:0fc0] (rev a1)
  1003. Subsystem: NVIDIA Corporation GK107 [GeForce GT 640 OEM] [10de:093d]
  1004. Kernel driver in use: nouveau
  1005. 02:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)
  1006. *******
  1007. grub-install --version
  1008. grub-install (GRUB) 2.02~beta2-36ubuntu3.11,grub-install (GRUB) 2.
  1009. chroot /mnt/boot-sav/sdb2 efibootmgr -v
  1010. BootCurrent: 000A
  1011. Timeout: 1 seconds
  1012. BootOrder: 0009,000A,0002,0001
  1013. Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .B....................A...........................>..Gd-.;.A..MQ..L.5.3.4.2.1.2. .5.F.3.1.8.0.2.0.5.2.1.0.5......AMBO
  1014. Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.H.i.t.a.c.h.i. .H.C.S.5.C.3.2.2.5.S.L.A.3.8.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . .C.S.B.K.0.N.M.M.K.2.Y.J.C.E......AMBOAMNO........c. .U.S.B. .D.I.S.K. .2...0....................A.............................0..Gd-.;.A..MQ..L. .U.S.B. .D.I.S.K. .2...0......AMBOAMNOg.......M.P.1.:....................A..............................Gd-.;.A..MQ..L.P.1.:......AMBO
  1015. Boot0009* ubuntu HD(1,GPT,1e17fd0f-fb1f-4aa8-a10b-6749c6705188,0x800,0x100000)/File(EFIUbuntugrubx64.efi)
  1016. Boot000A* UEFI: USB DISK 2.0 PciRoot(0x0)/Pci(0x1c,0x1)/Pci(0x0,0x0)/USB(3,0)/HD(1,MBR,0x61,0x3860,0x1300)AMBO
  1017. chroot /mnt/boot-sav/sdb2 uname -r
  1018. Kernel: 4.8.0-36-generic
  1019. Reinstall the grub-efi-amd64-signed of sdb2
  1020. Installing for x86_64-efi platform.
  1021. Installation finished. No error reported.
  1022. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  1023. ls sdb1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg
  1024. df /dev/sdb1
  1025. cp /mnt/boot-sav/sdb2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sdb2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  1026. df /dev/sdb1
  1027. cp /mnt/boot-sav/sdb2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sdb2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  1028. df /dev/sdb1
  1029. cp /mnt/boot-sav/sdb2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sdb2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  1030. ls sdb1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  1031. Add /mnt/boot-sav/sdb2/boot/efi efi entries in /mnt/boot-sav/sdb2/etc/grub.d/25_custom
  1032. Adding custom /mnt/boot-sav/sdb2/boot/efi/EFI/ubuntu/MokManager.efi
  1033. chroot /mnt/boot-sav/sdb2 efibootmgr -v
  1034. BootCurrent: 000A
  1035. Timeout: 1 seconds
  1036. BootOrder: 0000,000A,0002,0001
  1037. Boot0000* ubuntu HD(1,GPT,1e17fd0f-fb1f-4aa8-a10b-6749c6705188,0x800,0x100000)/File(EFIubuntugrubx64.efi)
  1038. Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .B....................A...........................>..Gd-.;.A..MQ..L.5.3.4.2.1.2. .5.F.3.1.8.0.2.0.5.2.1.0.5......AMBO
  1039. Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.H.i.t.a.c.h.i. .H.C.S.5.C.3.2.2.5.S.L.A.3.8.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . .C.S.B.K.0.N.M.M.K.2.Y.J.C.E......AMBOAMNO........c. .U.S.B. .D.I.S.K. .2...0....................A.............................0..Gd-.;.A..MQ..L. .U.S.B. .D.I.S.K. .2...0......AMBOAMNOg.......M.P.1.:....................A..............................Gd-.;.A..MQ..L.P.1.:......AMBO
  1040. Boot000A* UEFI: USB DISK 2.0 PciRoot(0x0)/Pci(0x1c,0x1)/Pci(0x0,0x0)/USB(3,0)/HD(1,MBR,0x61,0x3860,0x1300)AMBO
  1041. chroot /mnt/boot-sav/sdb2 update-grub
  1042. Generating grub configuration file ...
  1043. Found linux image: /boot/vmlinuz-4.4.0-81-generic
  1044. Found initrd image: /boot/initrd.img-4.4.0-81-generic
  1045. Found linux image: /boot/vmlinuz-4.4.0-79-generic
  1046. Found initrd image: /boot/initrd.img-4.4.0-79-generic
  1047. Found linux image: /boot/vmlinuz-4.4.0-78-generic
  1048. Found initrd image: /boot/initrd.img-4.4.0-78-generic
  1049. Found linux image: /boot/vmlinuz-4.4.0-77-generic
  1050. Found initrd image: /boot/initrd.img-4.4.0-77-generic
  1051. Found linux image: /boot/vmlinuz-4.4.0-75-generic
  1052. Found initrd image: /boot/initrd.img-4.4.0-75-generic
  1053. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  1054. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  1055. mount /dev/sda2 : Error code 32
  1056. mount -r /dev/sda2 /mnt/boot-sav/sda2
  1057. mount: /dev/sda2 is already mounted or /mnt/boot-sav/sda2 busy
  1058. mount -r /dev/sda2 : Error code 32
  1059. Unhide GRUB boot menu in sdb2/boot/grub/grub.cfg
  1060. An error occurred during the repair.
  1061. You can now reboot your computer.
  1062. Please do not forget to make your BIOS boot on sdb (250GB) disk!