1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => No boot loader is installed in the MBR of /dev/sda.
  4. => No known boot loader is installed in the MBR of /dev/sdb.
  5. sda1: __________________________________________________________________________
  6. File system: vfat
  7. Boot sector type: FAT32
  8. Boot sector info: No errors found in the Boot Parameter Block.
  9. Operating System:
  10. Boot files: /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi
  11. /EFI/ubuntu/MokManager.efi /EFI/ubuntu/fwupx64.efi
  12. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
  13. /EFI/Microsoft/Boot/bootmgfw.efi
  14. /EFI/Microsoft/Boot/bootmgr.efi
  15. /EFI/Microsoft/Boot/memtest.efi
  16. /boot-sav/log/2016-06-19__22h08boot-repair07/sdb1/bootx
  17. 64.efi
  18. /boot-sav/log/2016-06-19__22h19boot-repair28/sdb1/bootx
  19. 64.efi
  20. /boot-sav/log/2016-06-20__14h06boot-repair00/sda1/bootx
  21. 64.efi
  22. sda2: __________________________________________________________________________
  23. File system: ext4
  24. Boot sector type: -
  25. Boot sector info:
  26. Operating System: Ubuntu 16.04 LTS
  27. Boot files: /boot/grub/grub.cfg /etc/fstab
  28. sda3: __________________________________________________________________________
  29. File system: swap
  30. Boot sector type: -
  31. Boot sector info:
  32. sdb1: __________________________________________________________________________
  33. File system: iso9660
  34. Boot sector type: Unknown
  35. Boot sector info:
  36. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  37. sdb2: __________________________________________________________________________
  38. File system: vfat
  39. Boot sector type: FAT16
  40. Boot sector info: According to the info in the boot sector, sdb2 starts
  41. at sector 0. But according to the info from fdisk,
  42. sdb2 starts at sector 2888004. According to the info
  43. in the boot sector, sdb2 has 0 sectors.
  44. Mounting failed: mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
  45. mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy
  46. ============================ Drive/Partition Info: =============================
  47. Drive: sda _____________________________________________________________________
  48. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  49. Units: sectors of 1 * 512 = 512 bytes
  50. Sector size (logical/physical): 512 bytes / 4096 bytes
  51. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  52. Disklabel type: gpt
  53. Partition Boot Start Sector End Sector # of Sectors Id System
  54. /dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
  55. GUID Partition Table detected.
  56. Partition Attrs Start Sector End Sector # of Sectors System
  57. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  58. /dev/sda2 1,050,624 1,936,986,111 1,935,935,488 Data partition (Linux)
  59. /dev/sda3 1,936,986,112 1,953,523,711 16,537,600 Swap partition (Linux)
  60. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  61. Drive: sdb _____________________________________________________________________
  62. Disk /dev/sdb: 3.8 GiB, 4018143232 bytes, 7847936 sectors
  63. Units: sectors of 1 * 512 = 512 bytes
  64. Sector size (logical/physical): 512 bytes / 512 bytes
  65. I/O size (minimum/optimal): 512 bytes / 512 bytes
  66. Disklabel type: dos
  67. Partition Boot Start Sector End Sector # of Sectors Id System
  68. /dev/sdb1 * 0 2,902,111 2,902,112 0 Empty
  69. /dev/sdb2 2,888,004 2,892,739 4,736 ef EFI (FAT-12/16/32)
  70. /dev/sdb1 overlaps with /dev/sdb2
  71. GUID Partition Table detected, but does not seem to be used.
  72. Partition Attrs Start Sector End Sector # of Sectors System
  73. /dev/sdb1 + R 0 2,902,055 2,902,056 Data partition (Windows/Linux)
  74. /dev/sdb2 + R 2,888,004 2,892,739 4,736 Data partition (Windows/Linux)
  75. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  76. "blkid" output: ________________________________________________________________
  77. Device UUID TYPE LABEL
  78. /dev/loop0 squashfs
  79. /dev/sda1 F7B5-7F7D vfat
  80. /dev/sda2 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef ext4
  81. /dev/sda3 1ffb9ec5-c271-4c8a-9b26-684aac3ce2c9 swap
  82. /dev/sdb1 2016-04-20-22-29-52-00 iso9660 Ubuntu 16.04 LTS amd64
  83. /dev/sdb2 B1F5-0A13 vfat
  84. ========================= "ls -l /dev/disk/by-id" output: ======================
  85. total 0
  86. lrwxrwxrwx 1 root root 9 Jun 21 02:53 ata-HL-DT-ST_DVDRAM_GUC0N_KLMFBAD4639 -> ../../sr0
  87. lrwxrwxrwx 1 root root 9 Jun 21 03:04 ata-WDC_WD10SPCX-08S8TT0_WD-WXD1AA528U1R -> ../../sda
  88. lrwxrwxrwx 1 root root 10 Jun 21 03:04 ata-WDC_WD10SPCX-08S8TT0_WD-WXD1AA528U1R-part1 -> ../../sda1
  89. lrwxrwxrwx 1 root root 10 Jun 21 03:04 ata-WDC_WD10SPCX-08S8TT0_WD-WXD1AA528U1R-part2 -> ../../sda2
  90. lrwxrwxrwx 1 root root 10 Jun 21 03:04 ata-WDC_WD10SPCX-08S8TT0_WD-WXD1AA528U1R-part3 -> ../../sda3
  91. lrwxrwxrwx 1 root root 9 Jun 21 03:04 usb-Kingston_DataTraveler_G2_0014780DE1A5A910D2CF01B1-0:0 -> ../../sdb
  92. lrwxrwxrwx 1 root root 10 Jun 21 03:04 usb-Kingston_DataTraveler_G2_0014780DE1A5A910D2CF01B1-0:0-part1 -> ../../sdb1
  93. lrwxrwxrwx 1 root root 10 Jun 21 03:04 usb-Kingston_DataTraveler_G2_0014780DE1A5A910D2CF01B1-0:0-part2 -> ../../sdb2
  94. lrwxrwxrwx 1 root root 9 Jun 21 02:53 wwn-0x5001480000000000 -> ../../sr0
  95. lrwxrwxrwx 1 root root 9 Jun 21 03:04 wwn-0x50014ee6b0edf85d -> ../../sda
  96. lrwxrwxrwx 1 root root 10 Jun 21 03:04 wwn-0x50014ee6b0edf85d-part1 -> ../../sda1
  97. lrwxrwxrwx 1 root root 10 Jun 21 03:04 wwn-0x50014ee6b0edf85d-part2 -> ../../sda2
  98. lrwxrwxrwx 1 root root 10 Jun 21 03:04 wwn-0x50014ee6b0edf85d-part3 -> ../../sda3
  99. ================================ Mount points: =================================
  100. Device Mount_Point Type Options
  101. /dev/loop0 /rofs squashfs (ro,noatime)
  102. /dev/sdb /cdrom iso9660 (ro,noatime)
  103. =========================== sda2/boot/grub/grub.cfg: ===========================
  104. --------------------------------------------------------------------------------
  105. #
  106. # DO NOT EDIT THIS FILE
  107. #
  108. # It is automatically generated by grub-mkconfig using templates
  109. # from /etc/grub.d and settings from /etc/default/grub
  110. #
  111. ### BEGIN /etc/grub.d/00_header ###
  112. if [ -s $prefix/grubenv ]; then
  113. set have_grubenv=true
  114. load_env
  115. fi
  116. if [ "${next_entry}" ] ; then
  117. set default="${next_entry}"
  118. set next_entry=
  119. save_env next_entry
  120. set boot_once=true
  121. else
  122. set default="0"
  123. fi
  124. if [ x"${feature_menuentry_id}" = xy ]; then
  125. menuentry_id_option="--id"
  126. else
  127. menuentry_id_option=""
  128. fi
  129. export menuentry_id_option
  130. if [ "${prev_saved_entry}" ]; then
  131. set saved_entry="${prev_saved_entry}"
  132. save_env saved_entry
  133. set prev_saved_entry=
  134. save_env prev_saved_entry
  135. set boot_once=true
  136. fi
  137. function savedefault {
  138. if [ -z "${boot_once}" ]; then
  139. saved_entry="${chosen}"
  140. save_env saved_entry
  141. fi
  142. }
  143. function recordfail {
  144. set recordfail=1
  145. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  146. }
  147. function load_video {
  148. if [ x$feature_all_video_module = xy ]; then
  149. insmod all_video
  150. else
  151. insmod efi_gop
  152. insmod efi_uga
  153. insmod ieee1275_fb
  154. insmod vbe
  155. insmod vga
  156. insmod video_bochs
  157. insmod video_cirrus
  158. fi
  159. }
  160. if [ x$feature_default_font_path = xy ] ; then
  161. font=unicode
  162. else
  163. insmod part_gpt
  164. insmod ext2
  165. set root='hd0,gpt2'
  166. if [ x$feature_platform_search_hint = xy ]; then
  167. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  168. else
  169. search --no-floppy --fs-uuid --set=root 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  170. fi
  171. font="/usr/share/grub/unicode.pf2"
  172. fi
  173. if loadfont $font ; then
  174. set gfxmode=auto
  175. load_video
  176. insmod gfxterm
  177. set locale_dir=$prefix/locale
  178. set lang=en_US
  179. insmod gettext
  180. fi
  181. terminal_output gfxterm
  182. if [ "${recordfail}" = 1 ] ; then
  183. set timeout=10
  184. else
  185. if [ x$feature_timeout_style = xy ] ; then
  186. set timeout_style=menu
  187. set timeout=10
  188. # Fallback normal timeout code in case the timeout_style feature is
  189. # unavailable.
  190. else
  191. set timeout=10
  192. fi
  193. fi
  194. ### END /etc/grub.d/00_header ###
  195. ### BEGIN /etc/grub.d/05_debian_theme ###
  196. set menu_color_normal=white/black
  197. set menu_color_highlight=black/light-gray
  198. if background_color 44,0,30,0; then
  199. clear
  200. fi
  201. ### END /etc/grub.d/05_debian_theme ###
  202. ### BEGIN /etc/grub.d/10_linux ###
  203. function gfxmode {
  204. set gfxpayload="${1}"
  205. if [ "${1}" = "keep" ]; then
  206. set vt_handoff=vt.handoff=7
  207. else
  208. set vt_handoff=
  209. fi
  210. }
  211. if [ "${recordfail}" != 1 ]; then
  212. if [ -e ${prefix}/gfxblacklist.txt ]; then
  213. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  214. if [ ${match} = 0 ]; then
  215. set linux_gfx_mode=keep
  216. else
  217. set linux_gfx_mode=text
  218. fi
  219. else
  220. set linux_gfx_mode=text
  221. fi
  222. else
  223. set linux_gfx_mode=keep
  224. fi
  225. else
  226. set linux_gfx_mode=text
  227. fi
  228. export linux_gfx_mode
  229. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef' {
  230. recordfail
  231. load_video
  232. gfxmode $linux_gfx_mode
  233. insmod gzio
  234. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  235. insmod part_gpt
  236. insmod ext2
  237. set root='hd0,gpt2'
  238. if [ x$feature_platform_search_hint = xy ]; then
  239. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  240. else
  241. search --no-floppy --fs-uuid --set=root 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  242. fi
  243. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef ro quiet splash $vt_handoff
  244. initrd /boot/initrd.img-4.4.0-21-generic
  245. }
  246. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef' {
  247. 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-0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef' {
  248. recordfail
  249. load_video
  250. gfxmode $linux_gfx_mode
  251. insmod gzio
  252. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  253. insmod part_gpt
  254. insmod ext2
  255. set root='hd0,gpt2'
  256. if [ x$feature_platform_search_hint = xy ]; then
  257. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  258. else
  259. search --no-floppy --fs-uuid --set=root 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  260. fi
  261. echo 'Loading Linux 4.4.0-21-generic ...'
  262. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef ro quiet splash $vt_handoff
  263. echo 'Loading initial ramdisk ...'
  264. initrd /boot/initrd.img-4.4.0-21-generic
  265. }
  266. 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-0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef' {
  267. recordfail
  268. load_video
  269. gfxmode $linux_gfx_mode
  270. insmod gzio
  271. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  272. insmod part_gpt
  273. insmod ext2
  274. set root='hd0,gpt2'
  275. if [ x$feature_platform_search_hint = xy ]; then
  276. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  277. else
  278. search --no-floppy --fs-uuid --set=root 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  279. fi
  280. echo 'Loading Linux 4.4.0-21-generic ...'
  281. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef ro quiet splash $vt_handoff init=/sbin/upstart
  282. echo 'Loading initial ramdisk ...'
  283. initrd /boot/initrd.img-4.4.0-21-generic
  284. }
  285. 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-0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef' {
  286. recordfail
  287. load_video
  288. insmod gzio
  289. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  290. insmod part_gpt
  291. insmod ext2
  292. set root='hd0,gpt2'
  293. if [ x$feature_platform_search_hint = xy ]; then
  294. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  295. else
  296. search --no-floppy --fs-uuid --set=root 0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef
  297. fi
  298. echo 'Loading Linux 4.4.0-21-generic ...'
  299. linux /boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef ro recovery nomodeset
  300. echo 'Loading initial ramdisk ...'
  301. initrd /boot/initrd.img-4.4.0-21-generic
  302. }
  303. }
  304. ### END /etc/grub.d/10_linux ###
  305. ### BEGIN /etc/grub.d/20_linux_xen ###
  306. ### END /etc/grub.d/20_linux_xen ###
  307. ### BEGIN /etc/grub.d/20_memtest86+ ###
  308. ### END /etc/grub.d/20_memtest86+ ###
  309. ### BEGIN /etc/grub.d/25_custom ###
  310. menuentry "Windows UEFI bootmgfw.efi" {
  311. search --fs-uuid --no-floppy --set=root F7B5-7F7D
  312. chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
  313. }
  314. menuentry "Windows Boot UEFI loader" {
  315. search --fs-uuid --no-floppy --set=root F7B5-7F7D
  316. chainloader (${root})/EFI/Boot/bkpbootx64.efi
  317. }
  318. menuentry "EFI/ubuntu/fwupx64.efi" {
  319. search --fs-uuid --no-floppy --set=root F7B5-7F7D
  320. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  321. }
  322. menuentry "EFI/ubuntu/MokManager.efi" {
  323. search --fs-uuid --no-floppy --set=root F7B5-7F7D
  324. chainloader (${root})/EFI/ubuntu/MokManager.efi
  325. }
  326. ### END /etc/grub.d/25_custom ###
  327. ### BEGIN /etc/grub.d/30_os-prober ###
  328. menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-F7B5-7F7D' {
  329. insmod part_gpt
  330. insmod fat
  331. set root='hd0,gpt1'
  332. if [ x$feature_platform_search_hint = xy ]; then
  333. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 F7B5-7F7D
  334. else
  335. search --no-floppy --fs-uuid --set=root F7B5-7F7D
  336. fi
  337. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  338. }
  339. set timeout_style=menu
  340. if [ "${timeout}" = 0 ]; then
  341. set timeout=10
  342. fi
  343. ### END /etc/grub.d/30_os-prober ###
  344. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  345. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  346. fwsetup
  347. }
  348. ### END /etc/grub.d/30_uefi-firmware ###
  349. ### BEGIN /etc/grub.d/40_custom ###
  350. # This file provides an easy way to add custom menu entries. Simply type the
  351. # menu entries you want to add after this comment. Be careful not to change
  352. # the 'exec tail' line above.
  353. ### END /etc/grub.d/40_custom ###
  354. ### BEGIN /etc/grub.d/41_custom ###
  355. if [ -f ${config_directory}/custom.cfg ]; then
  356. source ${config_directory}/custom.cfg
  357. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  358. source $prefix/custom.cfg;
  359. fi
  360. ### END /etc/grub.d/41_custom ###
  361. --------------------------------------------------------------------------------
  362. =============================== sda2/etc/fstab: ================================
  363. --------------------------------------------------------------------------------
  364. # /etc/fstab: static file system information.
  365. #
  366. # Use 'blkid' to print the universally unique identifier for a
  367. # device; this may be used with UUID= as a more robust way to name devices
  368. # that works even if disks are added and removed. See fstab(5).
  369. #
  370. # <file system> <mount point> <type> <options> <dump> <pass>
  371. # / was on /dev/sdb2 during installation
  372. UUID=0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef / ext4 errors=remount-ro 0 1
  373. # /boot/efi was on /dev/sdb1 during installation
  374. #UUID=F7B5-7F7D /boot/efi vfat umask=0077 0 1
  375. # swap was on /dev/sdb3 during installation
  376. UUID=1ffb9ec5-c271-4c8a-9b26-684aac3ce2c9 none swap sw 0 0
  377. UUID=F7B5-7F7D /boot/efi vfat defaults 0 1
  378. --------------------------------------------------------------------------------
  379. =================== sda2: Location of files loaded by Grub: ====================
  380. GiB - GB File Fragment(s)
  381. 752.631431580 = 808.131846144 boot/grub/grub.cfg 1
  382. 1.546569824 = 1.660616704 boot/vmlinuz-4.4.0-21-generic 1
  383. 752.640193939 = 808.141254656 boot/vmlinuz-4.4.0-21-generic.efi.signed 1
  384. 1.546569824 = 1.660616704 vmlinuz 1
  385. 1.753170013 = 1.882451968 boot/initrd.img-4.4.0-21-generic 4
  386. 1.753170013 = 1.882451968 initrd.img 4
  387. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  388. Unknown MBR on /dev/sdb
  389. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  390. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  391. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  392. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  393. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  394. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  395. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  396. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  397. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  398. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  399. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  400. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  401. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  402. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  403. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  404. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  405. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  406. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  407. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  408. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  409. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  410. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  411. 00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  412. 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  413. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  414. 00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  415. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  416. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  417. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  418. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  419. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  420. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  421. 00000200
  422. /dev/sdb1: unknown GPT attributes
  423. 1000000000000001
  424. /dev/sdb2: unknown GPT attributes
  425. 1000000000000001
  426. Unknown BootLoader on sdb1
  427. 00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
  428. 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  429. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  430. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  431. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  432. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  433. 00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
  434. 00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
  435. 00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
  436. 00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
  437. 000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
  438. 000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
  439. 000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
  440. 000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
  441. 000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
  442. 000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
  443. 00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
  444. 00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
  445. 00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
  446. 00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
  447. 00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
  448. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  449. *
  450. 000001b0 28 db 2b 00 00 00 00 00 70 8e 0e 0e 00 00 80 00 |(.+.....p.......|
  451. 000001c0 01 00 00 58 e0 fa 00 00 00 00 60 48 2c 00 00 fe |...X......`H,...|
  452. 000001d0 ff ff ef fe ff ff 44 11 2c 00 80 12 00 00 00 00 |......D.,.......|
  453. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  454. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  455. 00000200
  456. =============================== StdErr Messages: ===============================
  457. File descriptor 9 (/proc/7499/mounts) leaked on lvs invocation. Parent PID 17987: bash
  458. File descriptor 63 (pipe:[69959]) leaked on lvs invocation. Parent PID 17987: bash
  459. ADDITIONAL INFORMATION :
  460. =================== log of boot-repair 2016-06-21__03h04 ===================
  461. boot-repair version : 4ppa38
  462. boot-sav version : 4ppa38
  463. glade2script version : 3.2.3~ppa1
  464. boot-sav-extra version : 4ppa38
  465. File descriptor 9 (/proc/7499/mounts) leaked on lvs invocation. Parent PID 9351: /bin/sh
  466. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  467. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  468. Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
  469. boot-repair is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
  470. CPU op-mode(s): 32-bit, 64-bit
  471. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  472. ls: cannot access '/home/usr/.config': No such file or directory
  473. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  474. mount /dev/sdb2 : Error code 32
  475. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  476. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  477. mount -r /dev/sdb2 : Error code 32
  478. =================== os-prober:
  479. /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
  480. /dev/sda2:Ubuntu 16.04 LTS (16.04):Ubuntu:linux
  481. =================== blkid:
  482. /dev/sda1: UUID="F7B5-7F7D" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="efeb982c-3429-483b-8b80-7e369e9b60a1"
  483. /dev/sda2: UUID="0e48470c-0aeb-49b1-9793-2c5e8ecaa9ef" TYPE="ext4" PARTUUID="0925786c-e2cc-4bad-8723-7e388d4b42a9"
  484. /dev/loop0: TYPE="squashfs"
  485. /dev/sda3: UUID="1ffb9ec5-c271-4c8a-9b26-684aac3ce2c9" TYPE="swap" PARTUUID="bbc3fded-f1d4-4971-8a8e-93bcd0c3a85e"
  486. /dev/sdb1: UUID="2016-04-20-22-29-52-00" LABEL="Ubuntu 16.04 LTS amd64" TYPE="iso9660" PTUUID="0e0e8e70" PTTYPE="dos" PARTUUID="0e0e8e70-01"
  487. /dev/sdb2: SEC_TYPE="msdos" UUID="B1F5-0A13" TYPE="vfat" PARTUUID="0e0e8e70-02"
  488. 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  489. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  490. mount /dev/sdb2 : Error code 32
  491. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  492. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  493. mount -r /dev/sdb2 : Error code 32
  494. dd: invalid number: ‘0’
  495. Warning: /var/log/boot-sav/log/2016-06-21__03h04boot-repair39/sdb/current_mbr.img could not be created. Please report this message to [email protected]
  496. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
  497. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
  498. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
  499. Presence of bkp file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
  500. =================== sda2/etc/grub.d/ :
  501. drwxr-xr-x 2 root root 4096 Apr 20 22:15 grub.d
  502. total 76
  503. -rwxr-xr-x 1 root root 9791 Apr 15 22:00 00_header
  504. -rwxr-xr-x 1 root root 6258 Mar 15 18:08 05_debian_theme
  505. -rwxr-xr-x 1 root root 12261 Apr 15 22:00 10_linux
  506. -rwxr-xr-x 1 root root 11082 Apr 15 22:00 20_linux_xen
  507. -rwxr-xr-x 1 root root 1992 Jan 28 12:44 20_memtest86+
  508. -rwxr-xr-x 1 root root 11692 Apr 15 22:00 30_os-prober
  509. -rwxr-xr-x 1 root root 1418 Apr 15 22:00 30_uefi-firmware
  510. -rwxr-xr-x 1 root root 214 Apr 15 22:00 40_custom
  511. -rwxr-xr-x 1 root root 216 Apr 15 22:00 41_custom
  512. -rw-r--r-- 1 root root 483 Apr 15 22:00 README
  513. =================== sda2/etc/default/grub :
  514. # If you change this file, run 'update-grub' afterwards to update
  515. # /boot/grub/grub.cfg.
  516. # For full documentation of the options in this file, see:
  517. # info -f grub -n 'Simple configuration'
  518. GRUB_DEFAULT=0
  519. #GRUB_HIDDEN_TIMEOUT=0
  520. GRUB_HIDDEN_TIMEOUT_QUIET=true
  521. GRUB_TIMEOUT=10
  522. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  523. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  524. GRUB_CMDLINE_LINUX=""
  525. # Uncomment to enable BadRAM filtering, modify to suit your needs
  526. # This works with Linux (no patch required) and with any kernel that obtains
  527. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  528. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  529. # Uncomment to disable graphical terminal (grub-pc only)
  530. #GRUB_TERMINAL=console
  531. # The resolution used on graphical terminal
  532. # note that you can use only modes which your graphic card supports via VBE
  533. # you can see them in real GRUB with the command `vbeinfo'
  534. #GRUB_GFXMODE=640x480
  535. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  536. #GRUB_DISABLE_LINUX_UUID=true
  537. # Uncomment to disable generation of recovery mode menu entries
  538. #GRUB_DISABLE_RECOVERY="true"
  539. # Uncomment to get a beep at grub start
  540. #GRUB_INIT_TUNE="480 440 1"
  541. /boot/efi detected in the fstab of sda2: UUID=F7B5-7F7D (sda1)
  542. =================== efibootmgr -v
  543. BootCurrent: 001B
  544. Timeout: 2 seconds
  545. BootOrder: 0010,0011,0012,0013,0017,0018,0019,001A,001B,001C,0021
  546. Boot0000* ubuntu HD(1,GPT,efeb982c-3429-483b-8b80-7e369e9b60a1,0x800,0x100000)/File(EFIubuntushimx64.efi)
  547. Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
  548. Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
  549. Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
  550. Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
  551. Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
  552. Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
  553. Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
  554. Boot0017* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
  555. Boot0018* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
  556. Boot0019* ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401)
  557. Boot001A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
  558. Boot001B* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
  559. Boot001C* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  560. Boot001D* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
  561. Boot001E* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
  562. Boot001F* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
  563. Boot0020* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
  564. Boot0021* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  565. =================== UEFI/Legacy mode:
  566. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  567. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  568. =================== PARTITIONS & DISKS:
  569. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-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/sda1.
  570. sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, 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/sda2.
  571. sdb2 : 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, not-far, /mnt/boot-sav/sdb2.
  572. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  573. sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 0 sectors * 512 bytes
  574. =================== parted -l:
  575. Model: ATA WDC WD10SPCX-08S (scsi)
  576. Disk /dev/sda: 1000GB
  577. Sector size (logical/physical): 512B/4096B
  578. Partition Table: gpt
  579. Disk Flags:
  580. Number Start End Size File system Name Flags
  581. 1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
  582. 2 538MB 992GB 991GB ext4
  583. 3 992GB 1000GB 8467MB linux-swap(v1)
  584. Model: Kingston DataTraveler G2 (scsi)
  585. Disk /dev/sdb: 4018MB
  586. Sector size (logical/physical): 512B/512B
  587. Partition Table: unknown
  588. Disk Flags:
  589. =================== parted -lm:
  590. BYT;
  591. /dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10SPCX-08S:;
  592. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  593. 2:538MB:992GB:991GB:ext4::;
  594. 3:992GB:1000GB:8467MB:linux-swap(v1)::;
  595. BYT;
  596. /dev/sdb:4018MB:scsi:512:512:unknown:Kingston DataTraveler G2:;
  597. =================== lsblk:
  598. KNAME TYPE FSTYPE SIZE LABEL
  599. sda disk 931.5G
  600. sda1 part vfat 512M
  601. sda2 part ext4 923.1G
  602. sda3 part swap 7.9G
  603. sdb disk iso9660 3.8G Ubuntu 16.04 LTS amd64
  604. sdb1 part iso9660 1.4G Ubuntu 16.04 LTS amd64
  605. sdb2 part vfat 2.3M Ubuntu 16.04 LTS amd64
  606. sr0 rom 1024M
  607. loop0 loop squashfs 1.3G
  608. KNAME ROTA RO RM STATE MOUNTPOINT
  609. sda 1 0 0 running
  610. sda1 1 0 0 /mnt/boot-sav/sda1
  611. sda2 1 0 0 /mnt/boot-sav/sda2
  612. sda3 1 0 0 [SWAP]
  613. sdb 1 0 1 running /cdrom
  614. sdb1 1 0 1
  615. sdb2 1 0 1
  616. sr0 1 0 1 running
  617. loop0 1 1 0 /rofs
  618. =================== mount:
  619. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  620. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  621. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4013148k,nr_inodes=1003287,mode=755)
  622. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  623. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=805560k,mode=755)
  624. /dev/sdb on /cdrom type iso9660 (ro,noatime)
  625. /dev/loop0 on /rofs type squashfs (ro,noatime)
  626. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  627. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  628. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  629. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  630. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  631. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
  632. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  633. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  634. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
  635. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
  636. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
  637. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
  638. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
  639. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
  640. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
  641. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
  642. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
  643. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
  644. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  645. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  646. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  647. mqueue on /dev/mqueue type mqueue (rw,relatime)
  648. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  649. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  650. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  651. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=805560k,mode=700,uid=999,gid=999)
  652. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  653. /dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  654. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
  655. =================== ls:
  656. /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
  657. /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
  658. /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
  659. /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 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg lightnvm log mapper mcelog media0 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 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  660. ls /dev/mapper: control
  661. =================== hexdump -n512 -C /dev/sda1
  662. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  663. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  664. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  665. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  666. 00000040 80 01 29 7d 7f b5 f7 4e 4f 20 4e 41 4d 45 20 20 |..)}...NO NAME |
  667. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  668. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  669. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  670. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  671. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  672. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  673. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  674. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  675. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  676. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  677. *
  678. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  679. 00000200
  680. =================== hexdump -n512 -C /dev/sdb2
  681. 00000000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
  682. 00000010 02 00 02 80 12 f8 04 00 20 00 40 00 00 00 00 00 |........ .@.....|
  683. 00000020 00 00 00 00 80 00 29 13 0a f5 b1 4e 4f 20 4e 41 |......)....NO NA|
  684. 00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
  685. 00000040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
  686. 00000050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
  687. 00000060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
  688. 00000070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
  689. 00000080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
  690. 00000090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
  691. 000000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
  692. 000000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
  693. 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  694. *
  695. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  696. 00000200
  697. =================== df -Th:
  698. Filesystem Type Size Used Avail Use% Mounted on
  699. udev devtmpfs 3.9G 0 3.9G 0% /dev
  700. tmpfs tmpfs 787M 9.4M 778M 2% /run
  701. /dev/sdb iso9660 1.4G 1.4G 0 100% /cdrom
  702. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  703. /cow overlay 3.9G 105M 3.8G 3% /
  704. tmpfs tmpfs 3.9G 192K 3.9G 1% /dev/shm
  705. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  706. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  707. tmpfs tmpfs 3.9G 24K 3.9G 1% /tmp
  708. tmpfs tmpfs 787M 84K 787M 1% /run/user/999
  709. /dev/sda1 vfat 511M 32M 480M 7% /mnt/boot-sav/sda1
  710. /dev/sda2 ext4 909G 3.4G 859G 1% /mnt/boot-sav/sda2
  711. =================== fdisk -l:
  712. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  713. Units: sectors of 1 * 512 = 512 bytes
  714. Sector size (logical/physical): 512 bytes / 4096 bytes
  715. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  716. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  717. Units: sectors of 1 * 512 = 512 bytes
  718. Sector size (logical/physical): 512 bytes / 4096 bytes
  719. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  720. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  721. Units: sectors of 1 * 512 = 512 bytes
  722. Sector size (logical/physical): 512 bytes / 4096 bytes
  723. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  724. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  725. Units: sectors of 1 * 512 = 512 bytes
  726. Sector size (logical/physical): 512 bytes / 4096 bytes
  727. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  728. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  729. Units: sectors of 1 * 512 = 512 bytes
  730. Sector size (logical/physical): 512 bytes / 4096 bytes
  731. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  732. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  733. Units: sectors of 1 * 512 = 512 bytes
  734. Sector size (logical/physical): 512 bytes / 4096 bytes
  735. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  736. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  737. Units: sectors of 1 * 512 = 512 bytes
  738. Sector size (logical/physical): 512 bytes / 4096 bytes
  739. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  740. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  741. Units: sectors of 1 * 512 = 512 bytes
  742. Sector size (logical/physical): 512 bytes / 4096 bytes
  743. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  744. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  745. Units: sectors of 1 * 512 = 512 bytes
  746. Sector size (logical/physical): 512 bytes / 4096 bytes
  747. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  748. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  749. Units: sectors of 1 * 512 = 512 bytes
  750. Sector size (logical/physical): 512 bytes / 4096 bytes
  751. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  752. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  753. Units: sectors of 1 * 512 = 512 bytes
  754. Sector size (logical/physical): 512 bytes / 4096 bytes
  755. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  756. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  757. Units: sectors of 1 * 512 = 512 bytes
  758. Sector size (logical/physical): 512 bytes / 4096 bytes
  759. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  760. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  761. Units: sectors of 1 * 512 = 512 bytes
  762. Sector size (logical/physical): 512 bytes / 4096 bytes
  763. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  764. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  765. Units: sectors of 1 * 512 = 512 bytes
  766. Sector size (logical/physical): 512 bytes / 4096 bytes
  767. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  768. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  769. Units: sectors of 1 * 512 = 512 bytes
  770. Sector size (logical/physical): 512 bytes / 4096 bytes
  771. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  772. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  773. Units: sectors of 1 * 512 = 512 bytes
  774. Sector size (logical/physical): 512 bytes / 4096 bytes
  775. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  776. Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
  777. Units: sectors of 1 * 512 = 512 bytes
  778. Sector size (logical/physical): 512 bytes / 512 bytes
  779. I/O size (minimum/optimal): 512 bytes / 512 bytes
  780. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  781. Units: sectors of 1 * 512 = 512 bytes
  782. Sector size (logical/physical): 512 bytes / 4096 bytes
  783. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  784. Disklabel type: gpt
  785. Disk identifier: 8F53B93F-F4FD-470C-AFD1-21248820C25D
  786. Device Start End Sectors Size Type
  787. /dev/sda1 2048 1050623 1048576 512M EFI System
  788. /dev/sda2 1050624 1936986111 1935935488 923.1G Linux filesystem
  789. /dev/sda3 1936986112 1953523711 16537600 7.9G Linux swap
  790. Disk /dev/sdb: 3.8 GiB, 4018143232 bytes, 7847936 sectors
  791. Units: sectors of 1 * 512 = 512 bytes
  792. Sector size (logical/physical): 512 bytes / 512 bytes
  793. I/O size (minimum/optimal): 512 bytes / 512 bytes
  794. Disklabel type: dos
  795. Disk identifier: 0x0e0e8e70
  796. Device Boot Start End Sectors Size Id Type
  797. /dev/sdb1 * 0 2902111 2902112 1.4G 0 Empty
  798. /dev/sdb2 2888004 2892739 4736 2.3M ef EFI (FAT-12/16/32)
  799. =================== Recommended repair
  800. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  801. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
  802. /boot/efi added in sda2/fstab
  803. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
  804. Mount sda1 on /mnt/boot-sav/sda2/boot/efi
  805. ls sda1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi
  806. ls sda1: boot-sav
  807. EFI . Please report this message to [email protected]
  808. *******lspci -nnk | grep -iA3 vga
  809. 00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07)
  810. Subsystem: Lenovo Skylake Integrated Graphics [17aa:5049]
  811. Kernel driver in use: i915_bpo
  812. Kernel modules: i915_bpo
  813. *******
  814. grub-install --version
  815. grub-install (GRUB) 2.02~beta2-36ubuntu3,grub-install (GRUB) 2.
  816. chroot /mnt/boot-sav/sda2 efibootmgr -v
  817. BootCurrent: 001B
  818. Timeout: 2 seconds
  819. BootOrder: 0010,0011,0012,0013,0017,0018,0019,001A,001B,001C,0021
  820. Boot0000* ubuntu HD(1,GPT,efeb982c-3429-483b-8b80-7e369e9b60a1,0x800,0x100000)/File(EFIubuntushimx64.efi)
  821. Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
  822. Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
  823. Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
  824. Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
  825. Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
  826. Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
  827. Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
  828. Boot0017* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
  829. Boot0018* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
  830. Boot0019* ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401)
  831. Boot001A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
  832. Boot001B* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
  833. Boot001C* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  834. Boot001D* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
  835. Boot001E* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
  836. Boot001F* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
  837. Boot0020* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
  838. Boot0021* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  839. chroot /mnt/boot-sav/sda2 uname -r
  840. Kernel: 4.4.0-21-generic
  841. Reinstall the grub-efi-amd64-signed of sda2
  842. Installing for x86_64-efi platform.
  843. Installation finished. No error reported.
  844. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  845. ls sda1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi
  846. ls sda1: boot-sav
  847. EFI . Please report this message to [email protected]
  848. df /dev/sda1
  849. Save and rename /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi)
  850. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
  851. ls sda1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi /Boot/bkpbootx64.efi
  852. ls sda1: boot-sav
  853. EFI . Please report this message to [email protected]
  854. Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
  855. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  856. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
  857. sda1/bkpbootx64.efi already added
  858. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/fwupx64.efi
  859. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/MokManager.efi
  860. sda1/bootmgfw.efi already added
  861. Installing for x86_64-efi platform.
  862. Installation finished. No error reported.
  863. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  864. chroot /mnt/boot-sav/sda2 efibootmgr -v
  865. BootCurrent: 001B
  866. Timeout: 2 seconds
  867. BootOrder: 0000,0010,0011,0012,0013,0017,0018,0019,001A,001B,001C,0021
  868. Boot0000* ubuntu HD(1,GPT,efeb982c-3429-483b-8b80-7e369e9b60a1,0x800,0x100000)/File(EFIubuntushimx64.efi)
  869. Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
  870. Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
  871. Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
  872. Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
  873. Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
  874. Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
  875. Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
  876. Boot0017* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
  877. Boot0018* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
  878. Boot0019* ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401)
  879. Boot001A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
  880. Boot001B* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
  881. Boot001C* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  882. Boot001D* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
  883. Boot001E* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
  884. Boot001F* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
  885. Boot0020* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
  886. Boot0021* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  887. chroot /mnt/boot-sav/sda2 update-grub
  888. Generating grub configuration file ...
  889. Found linux image: /boot/vmlinuz-4.4.0-21-generic
  890. Found initrd image: /boot/initrd.img-4.4.0-21-generic
  891. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  892. Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  893. Adding boot menu entry for EFI firmware configuration
  894. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  895. mount /dev/sdb2 : Error code 32
  896. mount -r /dev/sdb2 /mnt/boot-sav/sdb2
  897. mount: /dev/sdb2 is already mounted or /mnt/boot-sav/sdb2 busy
  898. mount -r /dev/sdb2 : Error code 32
  899. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  900. An error occurred during the repair.
  901. You can now reboot your computer.
  902. Please do not forget to make your BIOS boot on sda (1000GB) disk!
  903. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  904. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  905. For example you can boot into Windows, then type the following command in an admin command prompt:
  906. bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
  907. paste.ubuntu.com ko (), using paste.debian
  908. paste.debian.net ko (), using paste2