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. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
  5. sda1: __________________________________________________________________________
  6. File system: vfat
  7. Boot sector type: Windows 8/2012: 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. /EFI/OEM/Boot/bootmgfw.efi /EFI/OEM/Boot/bootmgr.efi
  17. /EFI/OEM/Boot/memtest.efi
  18. sda2: __________________________________________________________________________
  19. File system:
  20. Boot sector type: -
  21. Boot sector info:
  22. Mounting failed: mount: unknown filesystem type ''
  23. sda3: __________________________________________________________________________
  24. File system: ntfs
  25. Boot sector type: Windows 8/2012: NTFS
  26. Boot sector info: No errors found in the Boot Parameter Block.
  27. Operating System:
  28. Boot files: /bootmgr /Windows/System32/winload.exe
  29. sda4: __________________________________________________________________________
  30. File system: ext4
  31. Boot sector type: -
  32. Boot sector info:
  33. Operating System: Ubuntu 16.04.1 LTS
  34. Boot files: /boot/grub/grub.cfg /etc/fstab
  35. sda5: __________________________________________________________________________
  36. File system: swap
  37. Boot sector type: -
  38. Boot sector info:
  39. sda6: __________________________________________________________________________
  40. File system: ext4
  41. Boot sector type: -
  42. Boot sector info:
  43. Operating System:
  44. Boot files:
  45. sdb1: __________________________________________________________________________
  46. File system: vfat
  47. Boot sector type: SYSLINUX 6.03
  48. Boot sector info: Syslinux looks at sector 32776 of /dev/sdb1 for its
  49. second stage. The integrity check of Syslinux failed.
  50. No errors found in the Boot Parameter Block.
  51. Operating System:
  52. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  53. /EFI/BOOT/grubx64.efi /ldlinux.sys
  54. ============================ Drive/Partition Info: =============================
  55. Drive: sda _____________________________________________________________________
  56. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  57. Units: sectors of 1 * 512 = 512 bytes
  58. Sector size (logical/physical): 512 bytes / 4096 bytes
  59. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  60. Disklabel type: gpt
  61. Partition Boot Start Sector End Sector # of Sectors Id System
  62. /dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
  63. GUID Partition Table detected.
  64. Partition Attrs Start Sector End Sector # of Sectors System
  65. /dev/sda1 2,048 206,847 204,800 EFI System partition
  66. /dev/sda2 206,848 239,615 32,768 Microsoft Reserved Partition (Windows)
  67. /dev/sda3 239,616 1,316,755,455 1,316,515,840 Data partition (Windows/Linux)
  68. /dev/sda4 1,316,755,456 1,366,755,327 49,999,872 Data partition (Linux)
  69. /dev/sda5 1,366,755,328 1,382,756,351 16,001,024 Swap partition (Linux)
  70. /dev/sda6 1,382,756,352 1,582,755,839 199,999,488 Data partition (Linux)
  71. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  72. Drive: sdb _____________________________________________________________________
  73. Disk /dev/sdb: 7.2 GiB, 7739768832 bytes, 15116736 sectors
  74. Units: sectors of 1 * 512 = 512 bytes
  75. Sector size (logical/physical): 512 bytes / 512 bytes
  76. I/O size (minimum/optimal): 512 bytes / 512 bytes
  77. Disklabel type: dos
  78. Partition Boot Start Sector End Sector # of Sectors Id System
  79. /dev/sdb1 * 2,048 15,116,735 15,114,688 c W95 FAT32 (LBA)
  80. "blkid" output: ________________________________________________________________
  81. Device UUID TYPE LABEL
  82. /dev/loop0 squashfs
  83. /dev/sda1 4A79-B308 vfat ESP
  84. /dev/sda2
  85. /dev/sda3 DE867B2D867B04F5 ntfs Acer
  86. /dev/sda4 57d1c450-854d-45f8-99b3-af478896d3d3 ext4
  87. /dev/sda5 41c762df-2cf5-4244-bedf-38fff1a9851a swap
  88. /dev/sda6 c0d60e44-8f12-4787-9d90-91796f9a9340 ext4
  89. /dev/sdb1 00CD-0808 vfat UBUNTU 16_0
  90. ========================= "ls -l /dev/disk/by-id" output: ======================
  91. total 0
  92. lrwxrwxrwx 1 root root 9 Oct 30 11:23 ata-Slimtype_DVD_A_DA8A6SH_0080F008542128CDF101 -> ../../sr0
  93. lrwxrwxrwx 1 root root 9 Oct 30 12:19 ata-TOSHIBA_MQ01ABD100_Y5ATC4XVT -> ../../sda
  94. lrwxrwxrwx 1 root root 10 Oct 30 12:19 ata-TOSHIBA_MQ01ABD100_Y5ATC4XVT-part1 -> ../../sda1
  95. lrwxrwxrwx 1 root root 10 Oct 30 12:19 ata-TOSHIBA_MQ01ABD100_Y5ATC4XVT-part2 -> ../../sda2
  96. lrwxrwxrwx 1 root root 10 Oct 30 12:21 ata-TOSHIBA_MQ01ABD100_Y5ATC4XVT-part3 -> ../../sda3
  97. lrwxrwxrwx 1 root root 10 Oct 30 12:19 ata-TOSHIBA_MQ01ABD100_Y5ATC4XVT-part4 -> ../../sda4
  98. lrwxrwxrwx 1 root root 10 Oct 30 12:19 ata-TOSHIBA_MQ01ABD100_Y5ATC4XVT-part5 -> ../../sda5
  99. lrwxrwxrwx 1 root root 10 Oct 30 12:19 ata-TOSHIBA_MQ01ABD100_Y5ATC4XVT-part6 -> ../../sda6
  100. lrwxrwxrwx 1 root root 9 Oct 30 12:19 usb-Imation_ImationFlashDriv_07032A90480AA684-0:0 -> ../../sdb
  101. lrwxrwxrwx 1 root root 10 Oct 30 12:19 usb-Imation_ImationFlashDriv_07032A90480AA684-0:0-part1 -> ../../sdb1
  102. lrwxrwxrwx 1 root root 9 Oct 30 12:19 wwn-0x50000396a4102120 -> ../../sda
  103. lrwxrwxrwx 1 root root 10 Oct 30 12:19 wwn-0x50000396a4102120-part1 -> ../../sda1
  104. lrwxrwxrwx 1 root root 10 Oct 30 12:19 wwn-0x50000396a4102120-part2 -> ../../sda2
  105. lrwxrwxrwx 1 root root 10 Oct 30 12:21 wwn-0x50000396a4102120-part3 -> ../../sda3
  106. lrwxrwxrwx 1 root root 10 Oct 30 12:19 wwn-0x50000396a4102120-part4 -> ../../sda4
  107. lrwxrwxrwx 1 root root 10 Oct 30 12:19 wwn-0x50000396a4102120-part5 -> ../../sda5
  108. lrwxrwxrwx 1 root root 10 Oct 30 12:19 wwn-0x50000396a4102120-part6 -> ../../sda6
  109. ================================ Mount points: =================================
  110. Device Mount_Point Type Options
  111. /dev/loop0 /rofs squashfs (ro,noatime)
  112. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  113. =========================== sda4/boot/grub/grub.cfg: ===========================
  114. --------------------------------------------------------------------------------
  115. #
  116. # DO NOT EDIT THIS FILE
  117. #
  118. # It is automatically generated by grub-mkconfig using templates
  119. # from /etc/grub.d and settings from /etc/default/grub
  120. #
  121. ### BEGIN /etc/grub.d/00_header ###
  122. if [ -s $prefix/grubenv ]; then
  123. set have_grubenv=true
  124. load_env
  125. fi
  126. if [ "${next_entry}" ] ; then
  127. set default="${next_entry}"
  128. set next_entry=
  129. save_env next_entry
  130. set boot_once=true
  131. else
  132. set default="0"
  133. fi
  134. if [ x"${feature_menuentry_id}" = xy ]; then
  135. menuentry_id_option="--id"
  136. else
  137. menuentry_id_option=""
  138. fi
  139. export menuentry_id_option
  140. if [ "${prev_saved_entry}" ]; then
  141. set saved_entry="${prev_saved_entry}"
  142. save_env saved_entry
  143. set prev_saved_entry=
  144. save_env prev_saved_entry
  145. set boot_once=true
  146. fi
  147. function savedefault {
  148. if [ -z "${boot_once}" ]; then
  149. saved_entry="${chosen}"
  150. save_env saved_entry
  151. fi
  152. }
  153. function recordfail {
  154. set recordfail=1
  155. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  156. }
  157. function load_video {
  158. if [ x$feature_all_video_module = xy ]; then
  159. insmod all_video
  160. else
  161. insmod efi_gop
  162. insmod efi_uga
  163. insmod ieee1275_fb
  164. insmod vbe
  165. insmod vga
  166. insmod video_bochs
  167. insmod video_cirrus
  168. fi
  169. }
  170. if [ x$feature_default_font_path = xy ] ; then
  171. font=unicode
  172. else
  173. insmod part_gpt
  174. insmod ext2
  175. set root='hd0,gpt4'
  176. if [ x$feature_platform_search_hint = xy ]; then
  177. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  178. else
  179. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  180. fi
  181. font="/usr/share/grub/unicode.pf2"
  182. fi
  183. if loadfont $font ; then
  184. set gfxmode=auto
  185. load_video
  186. insmod gfxterm
  187. set locale_dir=$prefix/locale
  188. set lang=en_US
  189. insmod gettext
  190. fi
  191. terminal_output gfxterm
  192. if [ "${recordfail}" = 1 ] ; then
  193. set timeout=10
  194. else
  195. if [ x$feature_timeout_style = xy ] ; then
  196. set timeout_style=menu
  197. set timeout=10
  198. # Fallback normal timeout code in case the timeout_style feature is
  199. # unavailable.
  200. else
  201. set timeout=10
  202. fi
  203. fi
  204. ### END /etc/grub.d/00_header ###
  205. ### BEGIN /etc/grub.d/05_debian_theme ###
  206. set menu_color_normal=white/black
  207. set menu_color_highlight=black/light-gray
  208. if background_color 44,0,30,0; then
  209. clear
  210. fi
  211. ### END /etc/grub.d/05_debian_theme ###
  212. ### BEGIN /etc/grub.d/10_linux ###
  213. function gfxmode {
  214. set gfxpayload="${1}"
  215. if [ "${1}" = "keep" ]; then
  216. set vt_handoff=vt.handoff=7
  217. else
  218. set vt_handoff=
  219. fi
  220. }
  221. if [ "${recordfail}" != 1 ]; then
  222. if [ -e ${prefix}/gfxblacklist.txt ]; then
  223. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  224. if [ ${match} = 0 ]; then
  225. set linux_gfx_mode=keep
  226. else
  227. set linux_gfx_mode=text
  228. fi
  229. else
  230. set linux_gfx_mode=text
  231. fi
  232. else
  233. set linux_gfx_mode=keep
  234. fi
  235. else
  236. set linux_gfx_mode=text
  237. fi
  238. export linux_gfx_mode
  239. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-57d1c450-854d-45f8-99b3-af478896d3d3' {
  240. recordfail
  241. load_video
  242. gfxmode $linux_gfx_mode
  243. insmod gzio
  244. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  245. insmod part_gpt
  246. insmod ext2
  247. set root='hd0,gpt4'
  248. if [ x$feature_platform_search_hint = xy ]; then
  249. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  250. else
  251. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  252. fi
  253. linux /boot/vmlinuz-4.4.0-45-generic.efi.signed root=UUID=57d1c450-854d-45f8-99b3-af478896d3d3 ro quiet splash $vt_handoff
  254. initrd /boot/initrd.img-4.4.0-45-generic
  255. }
  256. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-57d1c450-854d-45f8-99b3-af478896d3d3' {
  257. menuentry 'Ubuntu, with Linux 4.4.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-45-generic-advanced-57d1c450-854d-45f8-99b3-af478896d3d3' {
  258. recordfail
  259. load_video
  260. gfxmode $linux_gfx_mode
  261. insmod gzio
  262. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  263. insmod part_gpt
  264. insmod ext2
  265. set root='hd0,gpt4'
  266. if [ x$feature_platform_search_hint = xy ]; then
  267. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  268. else
  269. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  270. fi
  271. echo 'Loading Linux 4.4.0-45-generic ...'
  272. linux /boot/vmlinuz-4.4.0-45-generic.efi.signed root=UUID=57d1c450-854d-45f8-99b3-af478896d3d3 ro quiet splash $vt_handoff
  273. echo 'Loading initial ramdisk ...'
  274. initrd /boot/initrd.img-4.4.0-45-generic
  275. }
  276. menuentry 'Ubuntu, with Linux 4.4.0-45-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-45-generic-init-upstart-57d1c450-854d-45f8-99b3-af478896d3d3' {
  277. recordfail
  278. load_video
  279. gfxmode $linux_gfx_mode
  280. insmod gzio
  281. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  282. insmod part_gpt
  283. insmod ext2
  284. set root='hd0,gpt4'
  285. if [ x$feature_platform_search_hint = xy ]; then
  286. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  287. else
  288. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  289. fi
  290. echo 'Loading Linux 4.4.0-45-generic ...'
  291. linux /boot/vmlinuz-4.4.0-45-generic.efi.signed root=UUID=57d1c450-854d-45f8-99b3-af478896d3d3 ro quiet splash $vt_handoff init=/sbin/upstart
  292. echo 'Loading initial ramdisk ...'
  293. initrd /boot/initrd.img-4.4.0-45-generic
  294. }
  295. menuentry 'Ubuntu, with Linux 4.4.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-45-generic-recovery-57d1c450-854d-45f8-99b3-af478896d3d3' {
  296. recordfail
  297. load_video
  298. insmod gzio
  299. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  300. insmod part_gpt
  301. insmod ext2
  302. set root='hd0,gpt4'
  303. if [ x$feature_platform_search_hint = xy ]; then
  304. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  305. else
  306. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  307. fi
  308. echo 'Loading Linux 4.4.0-45-generic ...'
  309. linux /boot/vmlinuz-4.4.0-45-generic.efi.signed root=UUID=57d1c450-854d-45f8-99b3-af478896d3d3 ro recovery nomodeset
  310. echo 'Loading initial ramdisk ...'
  311. initrd /boot/initrd.img-4.4.0-45-generic
  312. }
  313. menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-57d1c450-854d-45f8-99b3-af478896d3d3' {
  314. recordfail
  315. load_video
  316. gfxmode $linux_gfx_mode
  317. insmod gzio
  318. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  319. insmod part_gpt
  320. insmod ext2
  321. set root='hd0,gpt4'
  322. if [ x$feature_platform_search_hint = xy ]; then
  323. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  324. else
  325. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  326. fi
  327. echo 'Loading Linux 4.4.0-31-generic ...'
  328. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=57d1c450-854d-45f8-99b3-af478896d3d3 ro quiet splash $vt_handoff
  329. echo 'Loading initial ramdisk ...'
  330. initrd /boot/initrd.img-4.4.0-31-generic
  331. }
  332. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-57d1c450-854d-45f8-99b3-af478896d3d3' {
  333. recordfail
  334. load_video
  335. gfxmode $linux_gfx_mode
  336. insmod gzio
  337. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  338. insmod part_gpt
  339. insmod ext2
  340. set root='hd0,gpt4'
  341. if [ x$feature_platform_search_hint = xy ]; then
  342. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  343. else
  344. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  345. fi
  346. echo 'Loading Linux 4.4.0-31-generic ...'
  347. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=57d1c450-854d-45f8-99b3-af478896d3d3 ro quiet splash $vt_handoff init=/sbin/upstart
  348. echo 'Loading initial ramdisk ...'
  349. initrd /boot/initrd.img-4.4.0-31-generic
  350. }
  351. menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-57d1c450-854d-45f8-99b3-af478896d3d3' {
  352. recordfail
  353. load_video
  354. insmod gzio
  355. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  356. insmod part_gpt
  357. insmod ext2
  358. set root='hd0,gpt4'
  359. if [ x$feature_platform_search_hint = xy ]; then
  360. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 57d1c450-854d-45f8-99b3-af478896d3d3
  361. else
  362. search --no-floppy --fs-uuid --set=root 57d1c450-854d-45f8-99b3-af478896d3d3
  363. fi
  364. echo 'Loading Linux 4.4.0-31-generic ...'
  365. linux /boot/vmlinuz-4.4.0-31-generic root=UUID=57d1c450-854d-45f8-99b3-af478896d3d3 ro recovery nomodeset
  366. echo 'Loading initial ramdisk ...'
  367. initrd /boot/initrd.img-4.4.0-31-generic
  368. }
  369. }
  370. ### END /etc/grub.d/10_linux ###
  371. ### BEGIN /etc/grub.d/20_linux_xen ###
  372. ### END /etc/grub.d/20_linux_xen ###
  373. ### BEGIN /etc/grub.d/20_memtest86+ ###
  374. ### END /etc/grub.d/20_memtest86+ ###
  375. ### BEGIN /etc/grub.d/25_custom ###
  376. menuentry "Windows UEFI bootmgfw.efi" {
  377. search --fs-uuid --no-floppy --set=root 4A79-B308
  378. chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
  379. }
  380. menuentry "Windows Boot UEFI loader" {
  381. search --fs-uuid --no-floppy --set=root 4A79-B308
  382. chainloader (${root})/EFI/Boot/bkpbootx64.efi
  383. }
  384. menuentry "EFI/ubuntu/fwupx64.efi" {
  385. search --fs-uuid --no-floppy --set=root 4A79-B308
  386. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  387. }
  388. menuentry "EFI/ubuntu/MokManager.efi" {
  389. search --fs-uuid --no-floppy --set=root 4A79-B308
  390. chainloader (${root})/EFI/ubuntu/MokManager.efi
  391. }
  392. menuentry "EFI/OEM/Boot/bootmgfw.efi" {
  393. search --fs-uuid --no-floppy --set=root 4A79-B308
  394. chainloader (${root})/EFI/OEM/Boot/bootmgfw.efi
  395. }
  396. ### END /etc/grub.d/25_custom ###
  397. ### BEGIN /etc/grub.d/30_os-prober ###
  398. menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-4A79-B308' {
  399. insmod part_gpt
  400. insmod fat
  401. set root='hd0,gpt1'
  402. if [ x$feature_platform_search_hint = xy ]; then
  403. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 4A79-B308
  404. else
  405. search --no-floppy --fs-uuid --set=root 4A79-B308
  406. fi
  407. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  408. }
  409. set timeout_style=menu
  410. if [ "${timeout}" = 0 ]; then
  411. set timeout=10
  412. fi
  413. ### END /etc/grub.d/30_os-prober ###
  414. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  415. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  416. fwsetup
  417. }
  418. ### END /etc/grub.d/30_uefi-firmware ###
  419. ### BEGIN /etc/grub.d/40_custom ###
  420. # This file provides an easy way to add custom menu entries. Simply type the
  421. # menu entries you want to add after this comment. Be careful not to change
  422. # the 'exec tail' line above.
  423. ### END /etc/grub.d/40_custom ###
  424. ### BEGIN /etc/grub.d/41_custom ###
  425. if [ -f ${config_directory}/custom.cfg ]; then
  426. source ${config_directory}/custom.cfg
  427. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  428. source $prefix/custom.cfg;
  429. fi
  430. ### END /etc/grub.d/41_custom ###
  431. --------------------------------------------------------------------------------
  432. =============================== sda4/etc/fstab: ================================
  433. --------------------------------------------------------------------------------
  434. # /etc/fstab: static file system information.
  435. #
  436. # Use 'blkid' to print the universally unique identifier for a
  437. # device; this may be used with UUID= as a more robust way to name devices
  438. # that works even if disks are added and removed. See fstab(5).
  439. #
  440. # <file system> <mount point> <type> <options> <dump> <pass>
  441. # / was on /dev/sda4 during installation
  442. UUID=57d1c450-854d-45f8-99b3-af478896d3d3 / ext4 errors=remount-ro 0 1
  443. # /boot/efi was on /dev/sda1 during installation
  444. #UUID=4A79-B308 /boot/efi vfat umask=0077 0 1
  445. # /home was on /dev/sda6 during installation
  446. UUID=c0d60e44-8f12-4787-9d90-91796f9a9340 /home ext4 defaults 0 2
  447. # swap was on /dev/sda5 during installation
  448. UUID=41c762df-2cf5-4244-bedf-38fff1a9851a none swap sw 0 0
  449. UUID=4A79-B308 /boot/efi vfat defaults 0 1
  450. --------------------------------------------------------------------------------
  451. =================== sda4: Location of files loaded by Grub: ====================
  452. GiB - GB File Fragment(s)
  453. 632.011566162 = 678.617251840 boot/grub/grub.cfg 1
  454. 629.107147217 = 675.498655744 boot/vmlinuz-4.4.0-31-generic 1
  455. 634.771156311 = 681.580339200 boot/vmlinuz-4.4.0-45-generic 1
  456. 634.923561096 = 681.743982592 boot/vmlinuz-4.4.0-45-generic.efi.signed 1
  457. 629.107147217 = 675.498655744 vmlinuz 1
  458. 635.088863373 = 681.921474560 boot/initrd.img-4.4.0-31-generic 2
  459. 640.106971741 = 687.309627392 boot/initrd.img-4.4.0-45-generic 2
  460. 635.088863373 = 681.921474560 initrd.img 2
  461. 635.088863373 = 681.921474560 initrd.img.old 2
  462. =========================== sdb1/boot/grub/grub.cfg: ===========================
  463. --------------------------------------------------------------------------------
  464. if loadfont /boot/grub/font.pf2 ; then
  465. set gfxmode=auto
  466. insmod efi_gop
  467. insmod efi_uga
  468. insmod gfxterm
  469. terminal_output gfxterm
  470. fi
  471. set menu_color_normal=white/black
  472. set menu_color_highlight=black/light-gray
  473. menuentry "Try Ubuntu without installing" {
  474. set gfxpayload=keep
  475. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  476. initrd /casper/initrd.lz
  477. }
  478. menuentry "Install Ubuntu" {
  479. set gfxpayload=keep
  480. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  481. initrd /casper/initrd.lz
  482. }
  483. menuentry "OEM install (for manufacturers)" {
  484. set gfxpayload=keep
  485. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  486. initrd /casper/initrd.lz
  487. }
  488. menuentry "Check disc for defects" {
  489. set gfxpayload=keep
  490. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  491. initrd /casper/initrd.lz
  492. }
  493. --------------------------------------------------------------------------------
  494. ============================== sdb1/syslinux.cfg: ==============================
  495. --------------------------------------------------------------------------------
  496. DEFAULT loadconfig
  497. LABEL loadconfig
  498. CONFIG /isolinux/isolinux.cfg
  499. APPEND /isolinux/
  500. --------------------------------------------------------------------------------
  501. =================== sdb1: Location of files loaded by Grub: ====================
  502. GiB - GB File Fragment(s)
  503. ?? = ?? boot/grub/grub.cfg 1
  504. ================= sdb1: Location of files loaded by Syslinux: ==================
  505. GiB - GB File Fragment(s)
  506. ?? = ?? syslinux.cfg 1
  507. ?? = ?? ldlinux.sys 1
  508. =============================== StdErr Messages: ===============================
  509. File descriptor 9 (/proc/21304/mounts) leaked on lvs invocation. Parent PID 1022: bash
  510. File descriptor 63 (pipe:[99309]) leaked on lvs invocation. Parent PID 1022: bash
  511. ADDITIONAL INFORMATION :
  512. =================== log of boot-repair 2016-10-30__12h19 ===================
  513. boot-repair version : 4ppa38
  514. boot-sav version : 4ppa38
  515. glade2script version : 3.2.3~ppa1
  516. boot-sav-extra version : 4ppa38
  517. boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
  518. CPU op-mode(s): 32-bit, 64-bit
  519. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  520. ls: cannot access '/home/usr/.config': No such file or directory
  521. =================== os-prober:
  522. /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
  523. /dev/sda4:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux
  524. =================== blkid:
  525. /dev/sda1: LABEL="ESP" UUID="4A79-B308" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="b87f49c1-9bb5-4398-aba2-661730daeea3"
  526. /dev/sda3: LABEL="Acer" UUID="DE867B2D867B04F5" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="01ea92c3-693a-4970-b2fa-c40ea8709f2c"
  527. /dev/sda4: UUID="57d1c450-854d-45f8-99b3-af478896d3d3" TYPE="ext4" PARTUUID="428edd4d-c5f8-44d2-b0c9-ce183826d65b"
  528. /dev/sda6: UUID="c0d60e44-8f12-4787-9d90-91796f9a9340" TYPE="ext4" PARTUUID="99de13e0-b52c-4be2-ae10-7eb49aeac4a8"
  529. /dev/sdb1: LABEL="UBUNTU 16_0" UUID="00CD-0808" TYPE="vfat" PARTUUID="0351f26d-01"
  530. /dev/loop0: TYPE="squashfs"
  531. /dev/sda5: UUID="41c762df-2cf5-4244-bedf-38fff1a9851a" TYPE="swap" PARTUUID="51006317-bc66-4f04-939b-dee76c108bb0"
  532. /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="a1be1c6d-7fff-45a1-a73e-4f7372778356"
  533. 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  534. Windows not detected by os-prober on sda3.
  535. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
  536. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
  537. =================== sda4/etc/grub.d/ :
  538. drwxr-xr-x 2 root root 4096 Oct 30 10:45 grub.d
  539. total 76
  540. -rwxr-xr-x 1 root root 9791 Jun 17 09:10 00_header
  541. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  542. -rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
  543. -rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
  544. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  545. -rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
  546. -rwxr-xr-x 1 root root 1418 Jun 17 09:10 30_uefi-firmware
  547. -rwxr-xr-x 1 root root 214 Jun 17 09:10 40_custom
  548. -rwxr-xr-x 1 root root 216 Jun 17 09:10 41_custom
  549. -rw-r--r-- 1 root root 483 Jun 17 09:10 README
  550. =================== sda4/etc/default/grub :
  551. # If you change this file, run 'update-grub' afterwards to update
  552. # /boot/grub/grub.cfg.
  553. # For full documentation of the options in this file, see:
  554. # info -f grub -n 'Simple configuration'
  555. GRUB_DEFAULT=0
  556. #GRUB_HIDDEN_TIMEOUT=0
  557. GRUB_HIDDEN_TIMEOUT_QUIET=true
  558. GRUB_TIMEOUT=10
  559. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  560. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  561. GRUB_CMDLINE_LINUX=""
  562. # Uncomment to enable BadRAM filtering, modify to suit your needs
  563. # This works with Linux (no patch required) and with any kernel that obtains
  564. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  565. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  566. # Uncomment to disable graphical terminal (grub-pc only)
  567. #GRUB_TERMINAL=console
  568. # The resolution used on graphical terminal
  569. # note that you can use only modes which your graphic card supports via VBE
  570. # you can see them in real GRUB with the command `vbeinfo'
  571. #GRUB_GFXMODE=640x480
  572. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  573. #GRUB_DISABLE_LINUX_UUID=true
  574. # Uncomment to disable generation of recovery mode menu entries
  575. #GRUB_DISABLE_RECOVERY="true"
  576. # Uncomment to get a beep at grub start
  577. #GRUB_INIT_TUNE="480 440 1"
  578. /boot/efi detected in the fstab of sda4: UUID=4A79-B308 (sda1)
  579. =================== efibootmgr -v
  580. BootCurrent: 0001
  581. Timeout: 0 seconds
  582. BootOrder: 2001,0003,2002,2003
  583. Boot0000* Network Boot-IPV4: 54-AB-3A-12-56-83 PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(54ab3a125683,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  584. Boot0001* USB HDD: Imation ImationFlashDriv PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(3,0)/HD(1,MBR,0x109,0x800,0xe6a1c0)RC
  585. Boot0002* Unknown Device: HD(1,GPT,b87f49c1-9bb5-4398-aba2-661730daeea3,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  586. Boot0003* Windows Boot Manager HD(1,GPT,b87f49c1-9bb5-4398-aba2-661730daeea3,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
  587. Boot2001* EFI USB Device RC
  588. Boot2002* EFI DVD/CDROM RC
  589. Boot2003* EFI Network RC
  590. =================== UEFI/Legacy mode:
  591. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  592. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  593. =================== PARTITIONS & DISKS:
  594. 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.
  595. sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
  596. sda4 : 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/sda4.
  597. sda6 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda6.
  598. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  599. =================== parted -l:
  600. Model: ATA TOSHIBA MQ01ABD1 (scsi)
  601. Disk /dev/sda: 1000GB
  602. Sector size (logical/physical): 512B/4096B
  603. Partition Table: gpt
  604. Disk Flags:
  605. Number Start End Size File system Name Flags
  606. 1 1049kB 106MB 105MB fat32 EFI system partition boot, esp
  607. 2 106MB 123MB 16.8MB Microsoft reserved partition msftres
  608. 3 123MB 674GB 674GB ntfs Basic data partition msftdata
  609. 4 674GB 700GB 25.6GB ext4
  610. 5 700GB 708GB 8193MB linux-swap(v1)
  611. 6 708GB 810GB 102GB ext4
  612. Model: Imation ImationFlashDriv (scsi)
  613. Disk /dev/sdb: 7740MB
  614. Sector size (logical/physical): 512B/512B
  615. Partition Table: msdos
  616. Disk Flags:
  617. Number Start End Size Type File system Flags
  618. 1 1049kB 7740MB 7739MB primary fat32 boot, lba
  619. =================== parted -lm:
  620. BYT;
  621. /dev/sda:1000GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD1:;
  622. 1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
  623. 2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
  624. 3:123MB:674GB:674GB:ntfs:Basic data partition:msftdata;
  625. 4:674GB:700GB:25.6GB:ext4::;
  626. 5:700GB:708GB:8193MB:linux-swap(v1)::;
  627. 6:708GB:810GB:102GB:ext4::;
  628. BYT;
  629. /dev/sdb:7740MB:scsi:512:512:msdos:Imation ImationFlashDriv:;
  630. 1:1049kB:7740MB:7739MB:fat32::boot, lba;
  631. =================== lsblk:
  632. KNAME TYPE FSTYPE SIZE LABEL
  633. sda disk 931.5G
  634. sda1 part vfat 100M ESP
  635. sda2 part 16M
  636. sda3 part ntfs 627.8G Acer
  637. sda4 part ext4 23.9G
  638. sda5 part swap 7.6G
  639. sda6 part ext4 95.4G
  640. sdb disk 7.2G
  641. sdb1 part vfat 7.2G UBUNTU 16_0
  642. sr0 rom 1024M
  643. loop0 loop squashfs 1.4G
  644. KNAME ROTA RO RM STATE MOUNTPOINT
  645. sda 1 0 0 running
  646. sda1 1 0 0 /mnt/boot-sav/sda1
  647. sda2 1 0 0
  648. sda3 1 0 0 /mnt/boot-sav/sda3
  649. sda4 1 0 0 /mnt/boot-sav/sda4
  650. sda5 1 0 0 [SWAP]
  651. sda6 1 0 0 /mnt/boot-sav/sda6
  652. sdb 1 0 1 running
  653. sdb1 1 0 1 /cdrom
  654. sr0 1 0 1 running
  655. loop0 1 1 0 /rofs
  656. =================== mount:
  657. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  658. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  659. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4029564k,nr_inodes=1007391,mode=755)
  660. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  661. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=808840k,mode=755)
  662. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  663. /dev/loop0 on /rofs type squashfs (ro,noatime)
  664. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  665. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  666. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  667. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  668. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  669. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  670. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  671. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  672. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  673. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  674. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  675. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  676. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  677. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  678. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  679. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  680. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  681. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  682. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  683. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  684. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  685. mqueue on /dev/mqueue type mqueue (rw,relatime)
  686. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  687. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  688. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  689. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=808840k,mode=700,uid=999,gid=999)
  690. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  691. /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)
  692. /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  693. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime,data=ordered)
  694. /dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw,relatime,data=ordered)
  695. =================== ls:
  696. /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 sda4 sda5 sda6 size slaves stat subsystem trace uevent
  697. /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 size slaves stat subsystem trace uevent
  698. /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
  699. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  700. ls /dev/mapper: control
  701. =================== hexdump -n512 -C /dev/sda1
  702. 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 fe 19 |.X.MSDOS5.0.....|
  703. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  704. 00000020 00 20 03 00 01 03 00 00 00 00 00 00 02 00 00 00 |. ..............|
  705. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  706. 00000040 80 01 29 08 b3 79 4a 4e 4f 20 4e 41 4d 45 20 20 |..)..yJNO NAME |
  707. 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
  708. 00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|[email protected]|
  709. 00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
  710. 00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
  711. 00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
  712. 000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
  713. 000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
  714. 000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
  715. 000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
  716. 000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
  717. 000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
  718. 00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
  719. 00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
  720. 00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
  721. 00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
  722. 00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
  723. 00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
  724. 00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |[email protected]|
  725. 00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
  726. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  727. *
  728. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
  729. 000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
  730. 000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
  731. 000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
  732. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  733. 000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
  734. 00000200
  735. =================== hexdump -n512 -C /dev/sda3
  736. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  737. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a8 03 00 |........?.......|
  738. 00000020 00 00 00 00 80 00 80 00 f8 6f 78 4e 00 00 00 00 |.........oxN....|
  739. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  740. 00000040 f6 00 00 00 01 00 00 00 f5 04 7b 86 2d 7b 86 de |..........{.-{..|
  741. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  742. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  743. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  744. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  745. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  746. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  747. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  748. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  749. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  750. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  751. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  752. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  753. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  754. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  755. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  756. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  757. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  758. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  759. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  760. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  761. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  762. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  763. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  764. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  765. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  766. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  767. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  768. 00000200
  769. =================== df -Th:
  770. Filesystem Type Size Used Avail Use% Mounted on
  771. udev devtmpfs 3.9G 0 3.9G 0% /dev
  772. tmpfs tmpfs 790M 9.5M 781M 2% /run
  773. /dev/sdb1 vfat 7.2G 1.5G 5.8G 20% /cdrom
  774. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  775. /cow overlay 3.9G 90M 3.8G 3% /
  776. tmpfs tmpfs 3.9G 152K 3.9G 1% /dev/shm
  777. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  778. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  779. tmpfs tmpfs 3.9G 704K 3.9G 1% /tmp
  780. tmpfs tmpfs 790M 72K 790M 1% /run/user/999
  781. /dev/sda1 vfat 96M 53M 44M 55% /mnt/boot-sav/sda1
  782. /dev/sda3 fuseblk 628G 136G 493G 22% /mnt/boot-sav/sda3
  783. /dev/sda4 ext4 24G 4.6G 18G 21% /mnt/boot-sav/sda4
  784. /dev/sda6 ext4 94G 61M 89G 1% /mnt/boot-sav/sda6
  785. =================== fdisk -l:
  786. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  787. Units: sectors of 1 * 512 = 512 bytes
  788. Sector size (logical/physical): 512 bytes / 4096 bytes
  789. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  790. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  791. Units: sectors of 1 * 512 = 512 bytes
  792. Sector size (logical/physical): 512 bytes / 4096 bytes
  793. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  794. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  795. Units: sectors of 1 * 512 = 512 bytes
  796. Sector size (logical/physical): 512 bytes / 4096 bytes
  797. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  798. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  799. Units: sectors of 1 * 512 = 512 bytes
  800. Sector size (logical/physical): 512 bytes / 4096 bytes
  801. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  802. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  803. Units: sectors of 1 * 512 = 512 bytes
  804. Sector size (logical/physical): 512 bytes / 4096 bytes
  805. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  806. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  807. Units: sectors of 1 * 512 = 512 bytes
  808. Sector size (logical/physical): 512 bytes / 4096 bytes
  809. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  810. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  811. Units: sectors of 1 * 512 = 512 bytes
  812. Sector size (logical/physical): 512 bytes / 4096 bytes
  813. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  814. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  815. Units: sectors of 1 * 512 = 512 bytes
  816. Sector size (logical/physical): 512 bytes / 4096 bytes
  817. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  818. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  819. Units: sectors of 1 * 512 = 512 bytes
  820. Sector size (logical/physical): 512 bytes / 4096 bytes
  821. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  822. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  823. Units: sectors of 1 * 512 = 512 bytes
  824. Sector size (logical/physical): 512 bytes / 4096 bytes
  825. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  826. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  827. Units: sectors of 1 * 512 = 512 bytes
  828. Sector size (logical/physical): 512 bytes / 4096 bytes
  829. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  830. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  831. Units: sectors of 1 * 512 = 512 bytes
  832. Sector size (logical/physical): 512 bytes / 4096 bytes
  833. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  834. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  835. Units: sectors of 1 * 512 = 512 bytes
  836. Sector size (logical/physical): 512 bytes / 4096 bytes
  837. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  838. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  839. Units: sectors of 1 * 512 = 512 bytes
  840. Sector size (logical/physical): 512 bytes / 4096 bytes
  841. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  842. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  843. Units: sectors of 1 * 512 = 512 bytes
  844. Sector size (logical/physical): 512 bytes / 4096 bytes
  845. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  846. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  847. Units: sectors of 1 * 512 = 512 bytes
  848. Sector size (logical/physical): 512 bytes / 4096 bytes
  849. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  850. Disk /dev/loop0: 1.4 GiB, 1459982336 bytes, 2851528 sectors
  851. Units: sectors of 1 * 512 = 512 bytes
  852. Sector size (logical/physical): 512 bytes / 512 bytes
  853. I/O size (minimum/optimal): 512 bytes / 512 bytes
  854. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  855. Units: sectors of 1 * 512 = 512 bytes
  856. Sector size (logical/physical): 512 bytes / 4096 bytes
  857. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  858. Disklabel type: gpt
  859. Disk identifier: 108018FD-B0EA-4370-8F2E-930620DCA123
  860. Device Start End Sectors Size Type
  861. /dev/sda1 2048 206847 204800 100M EFI System
  862. /dev/sda2 206848 239615 32768 16M Microsoft reserved
  863. /dev/sda3 239616 1316755455 1316515840 627.8G Microsoft basic data
  864. /dev/sda4 1316755456 1366755327 49999872 23.9G Linux filesystem
  865. /dev/sda5 1366755328 1382756351 16001024 7.6G Linux swap
  866. /dev/sda6 1382756352 1582755839 199999488 95.4G Linux filesystem
  867. Disk /dev/sdb: 7.2 GiB, 7739768832 bytes, 15116736 sectors
  868. Units: sectors of 1 * 512 = 512 bytes
  869. Sector size (logical/physical): 512 bytes / 512 bytes
  870. I/O size (minimum/optimal): 512 bytes / 512 bytes
  871. Disklabel type: dos
  872. Disk identifier: 0x0351f26d
  873. Device Boot Start End Sectors Size Id Type
  874. /dev/sdb1 * 2048 15116735 15114688 7.2G c W95 FAT32 (LBA)
  875. =================== Recommended repair
  876. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda4, using the following options: sda1/boot/efi,
  877. Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
  878. /boot/efi added in sda4/fstab
  879. Quantity of real Windows: 1
  880. Mount sda1 on /mnt/boot-sav/sda4/boot/efi
  881. ls sda1/efi: /OEM/Recovery/BCD.LOG2 /OEM/Recovery/BCD.LOG1 /OEM/Recovery/BCD.LOG /OEM/Recovery/BCD /OEM/Boot/zh-TW /OEM/Boot/zh-HK /OEM/Boot/zh-CN /OEM/Boot/uk-UA /OEM/Boot/tr-TR /OEM/Boot/sv-SE /OEM/Boot/sr-Latn-RS /OEM/Boot/sr-Latn-CS /OEM/Boot/sl-SI /OEM/Boot/sk-SK /OEM/Boot/ru-RU /OEM/Boot/ro-RO /OEM/Boot/Resources /OEM/Boot/qps-ploc /OEM/Boot/pt-PT /OEM/Boot/pt-BR /OEM/Boot/pl-PL /OEM/Boot/nl-NL /OEM/Boot/nb-NO /OEM/Boot/memtest.efi /OEM/Boot/lv-LV /OEM/Boot/lt-LT /OEM/Boot/ko-KR /OEM/Boot/kdstub.dll /OEM/Boot/kd_0C_8086.dll /OEM/Boot/kd_07_1415.dll /OEM/Boot/kd_02_8086.dll /OEM/Boot/kd_02_19a2.dll /OEM/Boot/kd_02_1969.dll /OEM/Boot/kd_02_15b3.dll /OEM/Boot/kd_02_14e4.dll /OEM/Boot/kd_02_1137.dll /OEM/Boot/kd_02_10ec.dll /OEM/Boot/kd_02_10df.dll /OEM/Boot/ja-JP /OEM/Boot/it-IT /OEM/Boot/hu-HU /OEM/Boot/hr-HR /OEM/Boot/fr-FR /OEM/Boot/fr-CA /OEM/Boot/Fonts /OEM/Boot/fi-FI /OEM/Boot/et-EE /OEM/Boot/es-MX /OEM/Boot/es-ES /OEM/Boot/en-US /OEM/Boot/en-GB /OEM/Boot/el-GR /OEM/Boot/de-DE /OEM/Boot/da-DK /OEM/Boot/cs-CZ /OEM/Boot/boot.stl /OEM/Boot/BOOTSTAT.DAT /OEM/Boot/bootmgr.efi /OEM/Boot/bootmgfw.efi /OEM/Boot/bg-BG /OEM/Boot/BCD.LOG2 /OEM/Boot/BCD.LOG1 /OEM/Boot/BCD.LOG /OEM/Boot/BCD /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/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /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/lv-LV /Microsoft/Boot/lt-LT /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/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /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/bg-BG /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 /OEM/Recovery /OEM/Boot /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi
  882. ls sda1: boot-sav
  883. EFI
  884. System Volume Information . Please report this message to [email protected]
  885. *******lspci -nnk | grep -iA3 vga
  886. 00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
  887. Subsystem: Acer Incorporated [ALI] Broadwell-U Integrated Graphics [1025:098a]
  888. Kernel driver in use: i915
  889. Kernel modules: i915
  890. *******
  891. grub-install --version
  892. grub-install (GRUB) 2.02~beta2-36ubuntu3.2,grub-install (GRUB) 2.
  893. chroot /mnt/boot-sav/sda4 efibootmgr -v
  894. BootCurrent: 0001
  895. Timeout: 0 seconds
  896. BootOrder: 2001,0003,2002,2003
  897. Boot0000* Network Boot-IPV4: 54-AB-3A-12-56-83 PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(54ab3a125683,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  898. Boot0001* USB HDD: Imation ImationFlashDriv PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(3,0)/HD(1,MBR,0x109,0x800,0xe6a1c0)RC
  899. Boot0002* Unknown Device: HD(1,GPT,b87f49c1-9bb5-4398-aba2-661730daeea3,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  900. Boot0003* Windows Boot Manager HD(1,GPT,b87f49c1-9bb5-4398-aba2-661730daeea3,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
  901. Boot2001* EFI USB Device RC
  902. Boot2002* EFI DVD/CDROM RC
  903. Boot2003* EFI Network RC
  904. chroot /mnt/boot-sav/sda4 uname -r
  905. Kernel: 4.4.0-31-generic
  906. Reinstall the grub-efi-amd64-signed of sda4
  907. Installing for x86_64-efi platform.
  908. Installation finished. No error reported.
  909. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  910. ls sda1/efi: /OEM/Recovery/BCD.LOG2 /OEM/Recovery/BCD.LOG1 /OEM/Recovery/BCD.LOG /OEM/Recovery/BCD /OEM/Boot/zh-TW /OEM/Boot/zh-HK /OEM/Boot/zh-CN /OEM/Boot/uk-UA /OEM/Boot/tr-TR /OEM/Boot/sv-SE /OEM/Boot/sr-Latn-RS /OEM/Boot/sr-Latn-CS /OEM/Boot/sl-SI /OEM/Boot/sk-SK /OEM/Boot/ru-RU /OEM/Boot/ro-RO /OEM/Boot/Resources /OEM/Boot/qps-ploc /OEM/Boot/pt-PT /OEM/Boot/pt-BR /OEM/Boot/pl-PL /OEM/Boot/nl-NL /OEM/Boot/nb-NO /OEM/Boot/memtest.efi /OEM/Boot/lv-LV /OEM/Boot/lt-LT /OEM/Boot/ko-KR /OEM/Boot/kdstub.dll /OEM/Boot/kd_0C_8086.dll /OEM/Boot/kd_07_1415.dll /OEM/Boot/kd_02_8086.dll /OEM/Boot/kd_02_19a2.dll /OEM/Boot/kd_02_1969.dll /OEM/Boot/kd_02_15b3.dll /OEM/Boot/kd_02_14e4.dll /OEM/Boot/kd_02_1137.dll /OEM/Boot/kd_02_10ec.dll /OEM/Boot/kd_02_10df.dll /OEM/Boot/ja-JP /OEM/Boot/it-IT /OEM/Boot/hu-HU /OEM/Boot/hr-HR /OEM/Boot/fr-FR /OEM/Boot/fr-CA /OEM/Boot/Fonts /OEM/Boot/fi-FI /OEM/Boot/et-EE /OEM/Boot/es-MX /OEM/Boot/es-ES /OEM/Boot/en-US /OEM/Boot/en-GB /OEM/Boot/el-GR /OEM/Boot/de-DE /OEM/Boot/da-DK /OEM/Boot/cs-CZ /OEM/Boot/boot.stl /OEM/Boot/BOOTSTAT.DAT /OEM/Boot/bootmgr.efi /OEM/Boot/bootmgfw.efi /OEM/Boot/bg-BG /OEM/Boot/BCD.LOG2 /OEM/Boot/BCD.LOG1 /OEM/Boot/BCD.LOG /OEM/Boot/BCD /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/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /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/lv-LV /Microsoft/Boot/lt-LT /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/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /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/bg-BG /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 /OEM/Recovery /OEM/Boot /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi
  911. ls sda1: boot-sav
  912. EFI
  913. System Volume Information . Please report this message to [email protected]
  914. df /dev/sda1
  915. Save and rename /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi)
  916. cp /mnt/boot-sav/sda4/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bootx64.efi
  917. ls sda1/efi: /OEM/Recovery/BCD.LOG2 /OEM/Recovery/BCD.LOG1 /OEM/Recovery/BCD.LOG /OEM/Recovery/BCD /OEM/Boot/zh-TW /OEM/Boot/zh-HK /OEM/Boot/zh-CN /OEM/Boot/uk-UA /OEM/Boot/tr-TR /OEM/Boot/sv-SE /OEM/Boot/sr-Latn-RS /OEM/Boot/sr-Latn-CS /OEM/Boot/sl-SI /OEM/Boot/sk-SK /OEM/Boot/ru-RU /OEM/Boot/ro-RO /OEM/Boot/Resources /OEM/Boot/qps-ploc /OEM/Boot/pt-PT /OEM/Boot/pt-BR /OEM/Boot/pl-PL /OEM/Boot/nl-NL /OEM/Boot/nb-NO /OEM/Boot/memtest.efi /OEM/Boot/lv-LV /OEM/Boot/lt-LT /OEM/Boot/ko-KR /OEM/Boot/kdstub.dll /OEM/Boot/kd_0C_8086.dll /OEM/Boot/kd_07_1415.dll /OEM/Boot/kd_02_8086.dll /OEM/Boot/kd_02_19a2.dll /OEM/Boot/kd_02_1969.dll /OEM/Boot/kd_02_15b3.dll /OEM/Boot/kd_02_14e4.dll /OEM/Boot/kd_02_1137.dll /OEM/Boot/kd_02_10ec.dll /OEM/Boot/kd_02_10df.dll /OEM/Boot/ja-JP /OEM/Boot/it-IT /OEM/Boot/hu-HU /OEM/Boot/hr-HR /OEM/Boot/fr-FR /OEM/Boot/fr-CA /OEM/Boot/Fonts /OEM/Boot/fi-FI /OEM/Boot/et-EE /OEM/Boot/es-MX /OEM/Boot/es-ES /OEM/Boot/en-US /OEM/Boot/en-GB /OEM/Boot/el-GR /OEM/Boot/de-DE /OEM/Boot/da-DK /OEM/Boot/cs-CZ /OEM/Boot/boot.stl /OEM/Boot/BOOTSTAT.DAT /OEM/Boot/bootmgr.efi /OEM/Boot/bootmgfw.efi /OEM/Boot/bg-BG /OEM/Boot/BCD.LOG2 /OEM/Boot/BCD.LOG1 /OEM/Boot/BCD.LOG /OEM/Boot/BCD /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/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-RS /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /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/lv-LV /Microsoft/Boot/lt-LT /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/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/fr-CA /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-MX /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /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/bg-BG /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 /OEM/Recovery /OEM/Boot /Microsoft/Recovery /Microsoft/Boot /Boot/bootx64.efi /Boot/bkpbootx64.efi
  918. ls sda1: boot-sav
  919. EFI
  920. System Volume Information . Please report this message to [email protected]
  921. Add /mnt/boot-sav/sda4/boot/efi efi entries in /mnt/boot-sav/sda4/etc/grub.d/25_custom
  922. Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  923. Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
  924. sda1/bkpbootx64.efi already added
  925. Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/ubuntu/fwupx64.efi
  926. Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/ubuntu/MokManager.efi
  927. sda1/bootmgfw.efi already added
  928. Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/OEM/Boot/bootmgfw.efi
  929. Installing for x86_64-efi platform.
  930. Installation finished. No error reported.
  931. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  932. chroot /mnt/boot-sav/sda4 efibootmgr -v
  933. BootCurrent: 0001
  934. Timeout: 0 seconds
  935. BootOrder: 0004,2001,0003,2002,2003
  936. Boot0000* Network Boot-IPV4: 54-AB-3A-12-56-83 PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(54ab3a125683,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  937. Boot0001* USB HDD: Imation ImationFlashDriv PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(3,0)/HD(1,MBR,0x109,0x800,0xe6a1c0)RC
  938. Boot0002* Unknown Device: HD(1,GPT,b87f49c1-9bb5-4398-aba2-661730daeea3,0x800,0x32000)/File(EFIubuntushimx64.efi)RC
  939. Boot0003* Windows Boot Manager HD(1,GPT,b87f49c1-9bb5-4398-aba2-661730daeea3,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
  940. Boot0004* ubuntu HD(1,GPT,b87f49c1-9bb5-4398-aba2-661730daeea3,0x800,0x32000)/File(EFIubuntushimx64.efi)
  941. Boot2001* EFI USB Device RC
  942. Boot2002* EFI DVD/CDROM RC
  943. Boot2003* EFI Network RC
  944. chroot /mnt/boot-sav/sda4 update-grub
  945. Generating grub configuration file ...
  946. Found linux image: /boot/vmlinuz-4.4.0-45-generic
  947. Found initrd image: /boot/initrd.img-4.4.0-45-generic
  948. Found linux image: /boot/vmlinuz-4.4.0-31-generic
  949. Found initrd image: /boot/initrd.img-4.4.0-31-generic
  950. Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
  951. Adding boot menu entry for EFI firmware configuration
  952. Unhide GRUB boot menu in sda4/boot/grub/grub.cfg
  953. Boot successfully repaired.
  954. You can now reboot your computer.
  955. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  956. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  957. For example you can boot into Windows, then type the following command in an admin command prompt:
  958. bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
  959. paste.ubuntu.com ko (), using paste.debian
  960. paste.debian.net ko (), using paste2