Advertisement
Guest User

Ubuntu boot-repair log info

a guest
Jul 8th, 2017
632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.68 KB | None | 0 0
  1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => No boot loader is installed in the MBR of /dev/sda.
  7.  
  8. sda1: __________________________________________________________________________
  9.  
  10. File system: ntfs
  11. Boot sector type: Windows 8/2012: NTFS
  12. Boot sector info: No errors found in the Boot Parameter Block.
  13. Operating System:
  14. Boot files:
  15.  
  16. sda2: __________________________________________________________________________
  17.  
  18. File system: vfat
  19. Boot sector type: Windows 8/2012: FAT32
  20. Boot sector info: No errors found in the Boot Parameter Block.
  21. Operating System:
  22. Boot files: /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi
  23. /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi
  24. /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi
  25. /EFI/Microsoft/Boot/bootmgfw.efi
  26. /EFI/Microsoft/Boot/bootmgr.efi
  27. /EFI/Microsoft/Boot/memtest.efi
  28.  
  29. sda3: __________________________________________________________________________
  30.  
  31. File system:
  32. Boot sector type: -
  33. Boot sector info:
  34. Mounting failed: mount: unknown filesystem type ''
  35.  
  36. sda4: __________________________________________________________________________
  37.  
  38. File system: ntfs
  39. Boot sector type: Windows 8/2012: NTFS
  40. Boot sector info: No errors found in the Boot Parameter Block.
  41. Operating System:
  42. Boot files: /bootmgr /Windows/System32/winload.exe
  43.  
  44. sda5: __________________________________________________________________________
  45.  
  46. File system: ext4
  47. Boot sector type: -
  48. Boot sector info:
  49. Operating System: Ubuntu 16.04.2 LTS
  50. Boot files: /boot/grub/grub.cfg /etc/fstab
  51.  
  52. ============================ Drive/Partition Info: =============================
  53.  
  54. Drive: sda _____________________________________________________________________
  55. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  56. Units: sectors of 1 * 512 = 512 bytes
  57. Sector size (logical/physical): 512 bytes / 4096 bytes
  58. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  59. Disklabel type: gpt
  60.  
  61. Partition Boot Start Sector End Sector # of Sectors Id System
  62.  
  63. /dev/sda1 1 1,953,525,167 1,953,525,167 ee GPT
  64.  
  65.  
  66. GUID Partition Table detected.
  67.  
  68. Partition Attrs Start Sector End Sector # of Sectors System
  69. /dev/sda1 R 2,048 616,447 614,400 Windows Recovery Environment (Windows)
  70. /dev/sda2 616,448 821,247 204,800 EFI System partition
  71. /dev/sda3 821,248 1,083,391 262,144 Microsoft Reserved Partition (Windows)
  72. /dev/sda4 1,083,392 1,328,525,311 1,327,441,920 Data partition (Windows/Linux)
  73. /dev/sda5 1,328,525,312 1,953,523,711 624,998,400 Data partition (Linux)
  74.  
  75. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  76.  
  77. "blkid" output: ________________________________________________________________
  78.  
  79. Device UUID TYPE LABEL
  80.  
  81. /dev/loop0 squashfs
  82. /dev/sda1 D0C624E5C624CD92 ntfs Recovery
  83. /dev/sda2 9826-1669 vfat
  84. /dev/sda3
  85. /dev/sda4 724238024237C99D ntfs
  86. /dev/sda5 a3a365dd-ed31-441e-ae4b-a8ee3804e383 ext4
  87. /dev/sr0 2017-02-15-21-44-13-00 iso9660 Ubuntu 16.04.2 LTS amd64
  88.  
  89. ========================= "ls -l /dev/disk/by-id" output: ======================
  90.  
  91. total 0
  92. lrwxrwxrwx 1 root root 9 Jul 8 05:44 ata-TSSTcorp_CDDVDW_SU-208DB_R93W6YFD70132W -> ../../sr0
  93. lrwxrwxrwx 1 root root 9 Jul 8 05:54 ata-WDC_WD10JPVX-22JC3T0_WD-WX21A565UN8D -> ../../sda
  94. lrwxrwxrwx 1 root root 10 Jul 8 05:55 ata-WDC_WD10JPVX-22JC3T0_WD-WX21A565UN8D-part1 -> ../../sda1
  95. lrwxrwxrwx 1 root root 10 Jul 8 05:54 ata-WDC_WD10JPVX-22JC3T0_WD-WX21A565UN8D-part2 -> ../../sda2
  96. lrwxrwxrwx 1 root root 10 Jul 8 05:54 ata-WDC_WD10JPVX-22JC3T0_WD-WX21A565UN8D-part3 -> ../../sda3
  97. lrwxrwxrwx 1 root root 10 Jul 8 05:55 ata-WDC_WD10JPVX-22JC3T0_WD-WX21A565UN8D-part4 -> ../../sda4
  98. lrwxrwxrwx 1 root root 10 Jul 8 05:54 ata-WDC_WD10JPVX-22JC3T0_WD-WX21A565UN8D-part5 -> ../../sda5
  99. lrwxrwxrwx 1 root root 9 Jul 8 05:54 wwn-0x50014ee65c11ab00 -> ../../sda
  100. lrwxrwxrwx 1 root root 10 Jul 8 05:55 wwn-0x50014ee65c11ab00-part1 -> ../../sda1
  101. lrwxrwxrwx 1 root root 10 Jul 8 05:54 wwn-0x50014ee65c11ab00-part2 -> ../../sda2
  102. lrwxrwxrwx 1 root root 10 Jul 8 05:54 wwn-0x50014ee65c11ab00-part3 -> ../../sda3
  103. lrwxrwxrwx 1 root root 10 Jul 8 05:55 wwn-0x50014ee65c11ab00-part4 -> ../../sda4
  104. lrwxrwxrwx 1 root root 10 Jul 8 05:54 wwn-0x50014ee65c11ab00-part5 -> ../../sda5
  105.  
  106. ================================ Mount points: =================================
  107.  
  108. Device Mount_Point Type Options
  109.  
  110. /dev/loop0 /rofs squashfs (ro,noatime)
  111. /dev/sr0 /cdrom iso9660 (ro,noatime)
  112.  
  113.  
  114. =========================== sda5/boot/grub/grub.cfg: ===========================
  115.  
  116. --------------------------------------------------------------------------------
  117. #
  118. # DO NOT EDIT THIS FILE
  119. #
  120. # It is automatically generated by grub-mkconfig using templates
  121. # from /etc/grub.d and settings from /etc/default/grub
  122. #
  123.  
  124. ### BEGIN /etc/grub.d/00_header ###
  125. if [ -s $prefix/grubenv ]; then
  126. set have_grubenv=true
  127. load_env
  128. fi
  129. if [ "${next_entry}" ] ; then
  130. set default="${next_entry}"
  131. set next_entry=
  132. save_env next_entry
  133. set boot_once=true
  134. else
  135. set default="0"
  136. fi
  137.  
  138. if [ x"${feature_menuentry_id}" = xy ]; then
  139. menuentry_id_option="--id"
  140. else
  141. menuentry_id_option=""
  142. fi
  143.  
  144. export menuentry_id_option
  145.  
  146. if [ "${prev_saved_entry}" ]; then
  147. set saved_entry="${prev_saved_entry}"
  148. save_env saved_entry
  149. set prev_saved_entry=
  150. save_env prev_saved_entry
  151. set boot_once=true
  152. fi
  153.  
  154. function savedefault {
  155. if [ -z "${boot_once}" ]; then
  156. saved_entry="${chosen}"
  157. save_env saved_entry
  158. fi
  159. }
  160. function recordfail {
  161. set recordfail=1
  162. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  163. }
  164. function load_video {
  165. if [ x$feature_all_video_module = xy ]; then
  166. insmod all_video
  167. else
  168. insmod efi_gop
  169. insmod efi_uga
  170. insmod ieee1275_fb
  171. insmod vbe
  172. insmod vga
  173. insmod video_bochs
  174. insmod video_cirrus
  175. fi
  176. }
  177.  
  178. if [ x$feature_default_font_path = xy ] ; then
  179. font=unicode
  180. else
  181. insmod part_gpt
  182. insmod ext2
  183. set root='hd0,gpt5'
  184. if [ x$feature_platform_search_hint = xy ]; then
  185. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  186. else
  187. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  188. fi
  189. font="/usr/share/grub/unicode.pf2"
  190. fi
  191.  
  192. if loadfont $font ; then
  193. set gfxmode=auto
  194. load_video
  195. insmod gfxterm
  196. set locale_dir=$prefix/locale
  197. set lang=en_US
  198. insmod gettext
  199. fi
  200. terminal_output gfxterm
  201. if [ "${recordfail}" = 1 ] ; then
  202. set timeout=10
  203. else
  204. if [ x$feature_timeout_style = xy ] ; then
  205. set timeout_style=menu
  206. set timeout=10
  207. # Fallback normal timeout code in case the timeout_style feature is
  208. # unavailable.
  209. else
  210. set timeout=10
  211. fi
  212. fi
  213. ### END /etc/grub.d/00_header ###
  214.  
  215. ### BEGIN /etc/grub.d/05_debian_theme ###
  216. set menu_color_normal=white/black
  217. set menu_color_highlight=black/light-gray
  218. if background_color 44,0,30,0; then
  219. clear
  220. fi
  221. ### END /etc/grub.d/05_debian_theme ###
  222.  
  223. ### BEGIN /etc/grub.d/10_linux ###
  224. function gfxmode {
  225. set gfxpayload="${1}"
  226. if [ "${1}" = "keep" ]; then
  227. set vt_handoff=vt.handoff=7
  228. else
  229. set vt_handoff=
  230. fi
  231. }
  232. if [ "${recordfail}" != 1 ]; then
  233. if [ -e ${prefix}/gfxblacklist.txt ]; then
  234. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  235. if [ ${match} = 0 ]; then
  236. set linux_gfx_mode=keep
  237. else
  238. set linux_gfx_mode=text
  239. fi
  240. else
  241. set linux_gfx_mode=text
  242. fi
  243. else
  244. set linux_gfx_mode=keep
  245. fi
  246. else
  247. set linux_gfx_mode=text
  248. fi
  249. export linux_gfx_mode
  250. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  251. recordfail
  252. load_video
  253. gfxmode $linux_gfx_mode
  254. insmod gzio
  255. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  256. insmod part_gpt
  257. insmod ext2
  258. set root='hd0,gpt5'
  259. if [ x$feature_platform_search_hint = xy ]; then
  260. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  261. else
  262. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  263. fi
  264. linux /boot/vmlinuz-4.8.0-58-generic.efi.signed root=UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 ro quiet splash $vt_handoff
  265. initrd /boot/initrd.img-4.8.0-58-generic
  266. }
  267. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  268. menuentry 'Ubuntu, with Linux 4.8.0-58-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-58-generic-advanced-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  269. recordfail
  270. load_video
  271. gfxmode $linux_gfx_mode
  272. insmod gzio
  273. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  274. insmod part_gpt
  275. insmod ext2
  276. set root='hd0,gpt5'
  277. if [ x$feature_platform_search_hint = xy ]; then
  278. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  279. else
  280. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  281. fi
  282. echo 'Loading Linux 4.8.0-58-generic ...'
  283. linux /boot/vmlinuz-4.8.0-58-generic.efi.signed root=UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 ro quiet splash $vt_handoff
  284. echo 'Loading initial ramdisk ...'
  285. initrd /boot/initrd.img-4.8.0-58-generic
  286. }
  287. menuentry 'Ubuntu, with Linux 4.8.0-58-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-58-generic-init-upstart-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  288. recordfail
  289. load_video
  290. gfxmode $linux_gfx_mode
  291. insmod gzio
  292. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  293. insmod part_gpt
  294. insmod ext2
  295. set root='hd0,gpt5'
  296. if [ x$feature_platform_search_hint = xy ]; then
  297. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  298. else
  299. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  300. fi
  301. echo 'Loading Linux 4.8.0-58-generic ...'
  302. linux /boot/vmlinuz-4.8.0-58-generic.efi.signed root=UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 ro quiet splash $vt_handoff init=/sbin/upstart
  303. echo 'Loading initial ramdisk ...'
  304. initrd /boot/initrd.img-4.8.0-58-generic
  305. }
  306. menuentry 'Ubuntu, with Linux 4.8.0-58-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-58-generic-recovery-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  307. recordfail
  308. load_video
  309. insmod gzio
  310. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  311. insmod part_gpt
  312. insmod ext2
  313. set root='hd0,gpt5'
  314. if [ x$feature_platform_search_hint = xy ]; then
  315. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  316. else
  317. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  318. fi
  319. echo 'Loading Linux 4.8.0-58-generic ...'
  320. linux /boot/vmlinuz-4.8.0-58-generic.efi.signed root=UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 ro recovery nomodeset
  321. echo 'Loading initial ramdisk ...'
  322. initrd /boot/initrd.img-4.8.0-58-generic
  323. }
  324. menuentry 'Ubuntu, with Linux 4.8.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-advanced-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  325. recordfail
  326. load_video
  327. gfxmode $linux_gfx_mode
  328. insmod gzio
  329. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  330. insmod part_gpt
  331. insmod ext2
  332. set root='hd0,gpt5'
  333. if [ x$feature_platform_search_hint = xy ]; then
  334. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  335. else
  336. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  337. fi
  338. echo 'Loading Linux 4.8.0-36-generic ...'
  339. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 ro quiet splash $vt_handoff
  340. echo 'Loading initial ramdisk ...'
  341. initrd /boot/initrd.img-4.8.0-36-generic
  342. }
  343. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-init-upstart-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  344. recordfail
  345. load_video
  346. gfxmode $linux_gfx_mode
  347. insmod gzio
  348. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  349. insmod part_gpt
  350. insmod ext2
  351. set root='hd0,gpt5'
  352. if [ x$feature_platform_search_hint = xy ]; then
  353. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  354. else
  355. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  356. fi
  357. echo 'Loading Linux 4.8.0-36-generic ...'
  358. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 ro quiet splash $vt_handoff init=/sbin/upstart
  359. echo 'Loading initial ramdisk ...'
  360. initrd /boot/initrd.img-4.8.0-36-generic
  361. }
  362. menuentry 'Ubuntu, with Linux 4.8.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-36-generic-recovery-a3a365dd-ed31-441e-ae4b-a8ee3804e383' {
  363. recordfail
  364. load_video
  365. insmod gzio
  366. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  367. insmod part_gpt
  368. insmod ext2
  369. set root='hd0,gpt5'
  370. if [ x$feature_platform_search_hint = xy ]; then
  371. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 a3a365dd-ed31-441e-ae4b-a8ee3804e383
  372. else
  373. search --no-floppy --fs-uuid --set=root a3a365dd-ed31-441e-ae4b-a8ee3804e383
  374. fi
  375. echo 'Loading Linux 4.8.0-36-generic ...'
  376. linux /boot/vmlinuz-4.8.0-36-generic root=UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 ro recovery nomodeset
  377. echo 'Loading initial ramdisk ...'
  378. initrd /boot/initrd.img-4.8.0-36-generic
  379. }
  380. }
  381.  
  382. ### END /etc/grub.d/10_linux ###
  383.  
  384. ### BEGIN /etc/grub.d/20_linux_xen ###
  385.  
  386. ### END /etc/grub.d/20_linux_xen ###
  387.  
  388. ### BEGIN /etc/grub.d/20_memtest86+ ###
  389. ### END /etc/grub.d/20_memtest86+ ###
  390.  
  391. ### BEGIN /etc/grub.d/25_custom ###
  392.  
  393. menuentry "Windows UEFI bootmgfw.efi" {
  394. search --fs-uuid --no-floppy --set=root 9826-1669
  395. chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
  396. }
  397.  
  398. menuentry "Windows Boot UEFI loader" {
  399. search --fs-uuid --no-floppy --set=root 9826-1669
  400. chainloader (${root})/EFI/Boot/bkpbootx64.efi
  401. }
  402.  
  403. menuentry "EFI/ubuntu/fwupx64.efi" {
  404. search --fs-uuid --no-floppy --set=root 9826-1669
  405. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  406. }
  407.  
  408. menuentry "EFI/ubuntu/mmx64.efi" {
  409. search --fs-uuid --no-floppy --set=root 9826-1669
  410. chainloader (${root})/EFI/ubuntu/mmx64.efi
  411. }
  412. ### END /etc/grub.d/25_custom ###
  413.  
  414. ### BEGIN /etc/grub.d/30_os-prober ###
  415. menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-9826-1669' {
  416. insmod part_gpt
  417. insmod fat
  418. set root='hd0,gpt2'
  419. if [ x$feature_platform_search_hint = xy ]; then
  420. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9826-1669
  421. else
  422. search --no-floppy --fs-uuid --set=root 9826-1669
  423. fi
  424. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  425. }
  426. set timeout_style=menu
  427. if [ "${timeout}" = 0 ]; then
  428. set timeout=10
  429. fi
  430. ### END /etc/grub.d/30_os-prober ###
  431.  
  432. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  433. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  434. fwsetup
  435. }
  436. ### END /etc/grub.d/30_uefi-firmware ###
  437.  
  438. ### BEGIN /etc/grub.d/40_custom ###
  439. # This file provides an easy way to add custom menu entries. Simply type the
  440. # menu entries you want to add after this comment. Be careful not to change
  441. # the 'exec tail' line above.
  442. ### END /etc/grub.d/40_custom ###
  443.  
  444. ### BEGIN /etc/grub.d/41_custom ###
  445. if [ -f ${config_directory}/custom.cfg ]; then
  446. source ${config_directory}/custom.cfg
  447. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  448. source $prefix/custom.cfg;
  449. fi
  450. ### END /etc/grub.d/41_custom ###
  451. --------------------------------------------------------------------------------
  452.  
  453. =============================== sda5/etc/fstab: ================================
  454.  
  455. --------------------------------------------------------------------------------
  456. # /etc/fstab: static file system information.
  457. #
  458. # Use 'blkid' to print the universally unique identifier for a
  459. # device; this may be used with UUID= as a more robust way to name devices
  460. # that works even if disks are added and removed. See fstab(5).
  461. #
  462. # <file system> <mount point> <type> <options> <dump> <pass>
  463. # / was on /dev/sda5 during installation
  464. UUID=a3a365dd-ed31-441e-ae4b-a8ee3804e383 / ext4 errors=remount-ro 0 1
  465. # /boot/efi was on /dev/sda2 during installation
  466. #UUID=9826-1669 /boot/efi vfat umask=0077 0 1
  467. UUID=9826-1669 /boot/efi vfat defaults 0 1
  468. --------------------------------------------------------------------------------
  469.  
  470. =================== sda5: Location of files loaded by Grub: ====================
  471.  
  472. GiB - GB File Fragment(s)
  473.  
  474. 753.621940613 = 809.195397120 boot/grub/grub.cfg 1
  475. 635.043903351 = 681.873199104 boot/vmlinuz-4.8.0-36-generic 1
  476. 758.144325256 = 814.051270656 boot/vmlinuz-4.8.0-58-generic 1
  477. 758.333980560 = 814.254911488 boot/vmlinuz-4.8.0-58-generic.efi.signed 2
  478. 635.043903351 = 681.873199104 vmlinuz 1
  479. 758.442768097 = 814.371721216 boot/initrd.img-4.8.0-36-generic 1
  480. 758.833965302 = 814.791766016 boot/initrd.img-4.8.0-58-generic 3
  481. 758.442768097 = 814.371721216 initrd.img 1
  482. 758.442768097 = 814.371721216 initrd.img.old 1
  483.  
  484. =============================== StdErr Messages: ===============================
  485.  
  486. File descriptor 9 (/proc/5576/mounts) leaked on lvs invocation. Parent PID 16780: bash
  487. File descriptor 63 (pipe:[45101]) leaked on lvs invocation. Parent PID 16780: bash
  488.  
  489. ADDITIONAL INFORMATION :
  490. =================== log of boot-repair 2017-07-08__05h54 ===================
  491. boot-repair version : 4ppa40
  492. boot-sav version : 4ppa40
  493. glade2script version : 3.2.3~ppa1
  494. boot-sav-extra version : 4ppa40
  495. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  496. Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
  497. boot-repair is executed in live-session (Ubuntu 16.04.2 LTS, xenial, Ubuntu, x86_64)
  498. CPU op-mode(s): 32-bit, 64-bit
  499. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  500. ls: cannot access '/home/usr/.config': No such file or directory
  501.  
  502. =================== os-prober:
  503. /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
  504. /dev/sda5:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux
  505.  
  506. =================== blkid:
  507. /dev/sda1: LABEL="Recovery" UUID="D0C624E5C624CD92" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="62d394e9-a2a3-4406-82b2-eb46381fa79c"
  508. /dev/sda2: UUID="9826-1669" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="9ef8fc64-672c-40e2-9953-ca724d78aeb1"
  509. /dev/sda4: UUID="724238024237C99D" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="6968422e-f529-462f-9458-b8402fcaf7c2"
  510. /dev/sda5: UUID="a3a365dd-ed31-441e-ae4b-a8ee3804e383" TYPE="ext4" PARTUUID="847cdfda-c3a3-4782-97f0-6d786fa934a3"
  511. /dev/sr0: UUID="2017-02-15-21-44-13-00" LABEL="Ubuntu 16.04.2 LTS amd64" TYPE="iso9660" PTUUID="15e2543d" PTTYPE="dos"
  512. /dev/loop0: TYPE="squashfs"
  513. /dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="9d5e1d65-5b67-4086-991f-507f8bcd014b"
  514.  
  515.  
  516. 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  517.  
  518. Windows not detected by os-prober on sda4.
  519. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
  520. Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi
  521.  
  522. =================== sda5/etc/grub.d/ :
  523. drwxr-xr-x 2 root root 4096 Jul 8 03:42 grub.d
  524. total 80
  525. -rwxr-xr-x 1 root root 9791 Jan 13 16:26 00_header
  526. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  527. -rwxr-xr-x 1 root root 12512 May 20 20:27 10_linux
  528. -rwxr-xr-x 1 root root 11082 Jan 13 16:26 20_linux_xen
  529. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  530. -rwxr-xr-x 1 root root 11692 Jan 13 16:26 30_os-prober
  531. -rwxr-xr-x 1 root root 1418 Jan 13 16:26 30_uefi-firmware
  532. -rwxr-xr-x 1 root root 214 Jan 13 16:26 40_custom
  533. -rwxr-xr-x 1 root root 216 Jan 13 16:26 41_custom
  534. -rw-r--r-- 1 root root 483 Jan 13 16:26 README
  535.  
  536.  
  537.  
  538.  
  539. =================== sda5/etc/default/grub :
  540.  
  541. # If you change this file, run 'update-grub' afterwards to update
  542. # /boot/grub/grub.cfg.
  543. # For full documentation of the options in this file, see:
  544. # info -f grub -n 'Simple configuration'
  545.  
  546. GRUB_DEFAULT=0
  547. #GRUB_HIDDEN_TIMEOUT=0
  548. GRUB_HIDDEN_TIMEOUT_QUIET=true
  549. GRUB_TIMEOUT=10
  550. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  551. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  552. GRUB_CMDLINE_LINUX=""
  553.  
  554. # Uncomment to enable BadRAM filtering, modify to suit your needs
  555. # This works with Linux (no patch required) and with any kernel that obtains
  556. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  557. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  558.  
  559. # Uncomment to disable graphical terminal (grub-pc only)
  560. #GRUB_TERMINAL=console
  561.  
  562. # The resolution used on graphical terminal
  563. # note that you can use only modes which your graphic card supports via VBE
  564. # you can see them in real GRUB with the command `vbeinfo'
  565. #GRUB_GFXMODE=640x480
  566.  
  567. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  568. #GRUB_DISABLE_LINUX_UUID=true
  569.  
  570. # Uncomment to disable generation of recovery mode menu entries
  571. #GRUB_DISABLE_RECOVERY="true"
  572.  
  573. # Uncomment to get a beep at grub start
  574. #GRUB_INIT_TUNE="480 440 1"
  575.  
  576.  
  577.  
  578. /boot/efi detected in the fstab of sda5: UUID=9826-1669 (sda2)
  579.  
  580. =================== efibootmgr -v
  581. BootCurrent: 0005
  582. Timeout: 2 seconds
  583. BootOrder: 0004,0000,0003,2002,2003,2001
  584. Boot0000* ubuntu HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,0x32000)/File(EFIubuntushimx64.efi)
  585. Boot0001* EFI Network 0 for IPv6 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv6([::]:<->[::]:,0,0)RC
  586. Boot0002* EFI Network 0 for IPv4 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  587. Boot0003* Ubuntu HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,0x32000)/File(EFIubuntugrubx64.efi)RC
  588. Boot0004* Windows Boot Manager HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,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.}...i................
  589. Boot0005* EFI DVD/CDROM (TSSTcorp CDDVDW SU-208DB) PciRoot(0x0)/Pci(0x1f,0x2)/Sata(5,0,0)/CDROM(1,0xe18,0x1300)RC
  590. Boot0007* EFI Network 0 for IPv6 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv6([::]:<->[::]:,0,0)RC
  591. Boot2001* EFI USB Device RC
  592. Boot2002* EFI DVD/CDROM RC
  593. Boot2003* EFI Network RC
  594.  
  595. =================== UEFI/Legacy mode:
  596. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  597. SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
  598.  
  599.  
  600. =================== PARTITIONS & DISKS:
  601. sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
  602. sda2 : 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/sda2.
  603. sda4 : 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/sda4.
  604. sda5 : 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/sda5.
  605.  
  606. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  607.  
  608.  
  609. =================== parted -l:
  610.  
  611. Model: ATA WDC WD10JPVX-22J (scsi)
  612. Disk /dev/sda: 1000GB
  613. Sector size (logical/physical): 512B/4096B
  614. Partition Table: gpt
  615. Disk Flags:
  616.  
  617. Number Start End Size File system Name Flags
  618. 1 1049kB 316MB 315MB ntfs Basic data partition hidden, diag
  619. 2 316MB 420MB 105MB fat32 EFI system partition boot, esp
  620. 3 420MB 555MB 134MB Microsoft reserved partition msftres
  621. 4 555MB 680GB 680GB ntfs Basic data partition msftdata
  622. 5 680GB 1000GB 320GB ext4
  623.  
  624.  
  625. Model: TSSTcorp CDDVDW SU-208DB (scsi)
  626. Disk /dev/sr0: 1554MB
  627. Sector size (logical/physical): 2048B/2048B
  628. Partition Table: mac
  629. Disk Flags:
  630.  
  631. Number Start End Size File system Name Flags
  632. 1 2048B 6143B 4096B Apple
  633. 2 7389kB 9880kB 2490kB EFI
  634.  
  635. =================== parted -lm:
  636.  
  637. BYT;
  638. /dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-22J:;
  639. 1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
  640. 2:316MB:420MB:105MB:fat32:EFI system partition:boot, esp;
  641. 3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
  642. 4:555MB:680GB:680GB:ntfs:Basic data partition:msftdata;
  643. 5:680GB:1000GB:320GB:ext4::;
  644.  
  645. BYT;
  646. /dev/sr0:1554MB:scsi:2048:2048:mac:TSSTcorp CDDVDW SU-208DB:;
  647. 1:2048B:6143B:4096B::Apple:;
  648. 2:7389kB:9880kB:2490kB::EFI:;
  649.  
  650. =================== lsblk:
  651. KNAME TYPE FSTYPE SIZE LABEL
  652. sr0 rom iso9660 1.5G Ubuntu 16.04.2 LTS amd64
  653. loop0 loop squashfs 1.4G
  654. sda disk 931.5G
  655. sda4 part ntfs 633G
  656. sda2 part vfat 100M
  657. sda5 part ext4 298G
  658. sda3 part 128M
  659. sda1 part ntfs 300M Recovery
  660.  
  661. KNAME ROTA RO RM STATE MOUNTPOINT
  662. sr0 1 0 1 running /cdrom
  663. loop0 1 1 0 /rofs
  664. sda 1 0 0 running
  665. sda4 1 0 0 /mnt/boot-sav/sda4
  666. sda2 1 0 0 /mnt/boot-sav/sda2
  667. sda5 1 0 0 /mnt/boot-sav/sda5
  668. sda3 1 0 0
  669. sda1 1 0 0 /mnt/boot-sav/sda1
  670.  
  671.  
  672. =================== mount:
  673. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  674. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  675. udev on /dev type devtmpfs (rw,nosuid,relatime,size=1945476k,nr_inodes=486369,mode=755)
  676. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  677. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=392212k,mode=755)
  678. /dev/sr0 on /cdrom type iso9660 (ro,noatime)
  679. /dev/loop0 on /rofs type squashfs (ro,noatime)
  680. aufs on / type aufs (rw,noatime,si=da78fbb2f880991b)
  681. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  682. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  683. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  684. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  685. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  686. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  687. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  688. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  689. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  690. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  691. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  692. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  693. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  694. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  695. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  696. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  697. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  698. mqueue on /dev/mqueue type mqueue (rw,relatime)
  699. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11657)
  700. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  701. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  702. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  703. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  704. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  705. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=392212k,mode=700,uid=999,gid=999)
  706. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  707. /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  708. /dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  709. /dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  710. /dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)
  711.  
  712.  
  713. =================== ls:
  714. /sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
  715. /sys/block/sr0 (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
  716. /dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 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 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  717. ls /dev/mapper: control
  718.  
  719. =================== hexdump -n512 -C /dev/sda1
  720. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  721. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  722. 00000020 00 00 00 00 80 00 80 00 ff 5f 09 00 00 00 00 00 |........._......|
  723. 00000030 00 64 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |.d..............|
  724. 00000040 f6 00 00 00 01 00 00 00 92 cd 24 c6 e5 24 c6 d0 |..........$..$..|
  725. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  726. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  727. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  728. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  729. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  730. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  731. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  732. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  733. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  734. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  735. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  736. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  737. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  738. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  739. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  740. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  741. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  742. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  743. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  744. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  745. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  746. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  747. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  748. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  749. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  750. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  751. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  752. 00000200
  753.  
  754. =================== hexdump -n512 -C /dev/sda2
  755. 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 fe 19 |.X.MSDOS5.0.....|
  756. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 68 09 00 |........?....h..|
  757. 00000020 00 20 03 00 01 03 00 00 00 00 00 00 02 00 00 00 |. ..............|
  758. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  759. 00000040 80 01 29 69 16 26 98 4e 4f 20 4e 41 4d 45 20 20 |..)i.&.NO NAME |
  760. 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
  761. 00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
  762. 00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
  763. 00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
  764. 00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
  765. 000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
  766. 000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
  767. 000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
  768. 000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
  769. 000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
  770. 000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
  771. 00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
  772. 00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
  773. 00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
  774. 00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
  775. 00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
  776. 00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
  777. 00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
  778. 00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
  779. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  780. *
  781. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
  782. 000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
  783. 000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
  784. 000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
  785. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  786. 000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
  787. 00000200
  788.  
  789. =================== hexdump -n512 -C /dev/sda4
  790. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  791. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 88 10 00 |........?.......|
  792. 00000020 00 00 00 00 80 00 80 00 ff 27 1f 4f 00 00 00 00 |.........'.O....|
  793. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  794. 00000040 f6 00 00 00 01 00 00 00 9d c9 37 42 02 38 42 72 |..........7B.8Br|
  795. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  796. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  797. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  798. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  799. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  800. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  801. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  802. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  803. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  804. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  805. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  806. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  807. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  808. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  809. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  810. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  811. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  812. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  813. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  814. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  815. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  816. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  817. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  818. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  819. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  820. 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  821. 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  822. 00000200
  823.  
  824. =================== df -Th:
  825.  
  826. Filesystem Type Size Used Avail Use% Mounted on
  827. udev devtmpfs 1.9G 0 1.9G 0% /dev
  828. tmpfs tmpfs 384M 6.1M 377M 2% /run
  829. /dev/sr0 iso9660 1.5G 1.5G 0 100% /cdrom
  830. /dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
  831. aufs aufs 1.9G 76M 1.8G 4% /
  832. tmpfs tmpfs 1.9G 27M 1.9G 2% /dev/shm
  833. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  834. tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
  835. tmpfs tmpfs 1.9G 256K 1.9G 1% /tmp
  836. tmpfs tmpfs 384M 76K 383M 1% /run/user/999
  837. /dev/sda1 fuseblk 300M 12M 289M 4% /mnt/boot-sav/sda1
  838. /dev/sda2 vfat 96M 29M 68M 30% /mnt/boot-sav/sda2
  839. /dev/sda4 fuseblk 633G 33G 601G 6% /mnt/boot-sav/sda4
  840. /dev/sda5 ext4 294G 4.8G 274G 2% /mnt/boot-sav/sda5
  841.  
  842. =================== fdisk -l:
  843. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  844. Units: sectors of 1 * 512 = 512 bytes
  845. Sector size (logical/physical): 512 bytes / 4096 bytes
  846. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  847.  
  848.  
  849. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  850. Units: sectors of 1 * 512 = 512 bytes
  851. Sector size (logical/physical): 512 bytes / 4096 bytes
  852. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  853.  
  854.  
  855. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  856. Units: sectors of 1 * 512 = 512 bytes
  857. Sector size (logical/physical): 512 bytes / 4096 bytes
  858. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  859.  
  860.  
  861. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  862. Units: sectors of 1 * 512 = 512 bytes
  863. Sector size (logical/physical): 512 bytes / 4096 bytes
  864. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  865.  
  866.  
  867. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  868. Units: sectors of 1 * 512 = 512 bytes
  869. Sector size (logical/physical): 512 bytes / 4096 bytes
  870. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  871.  
  872.  
  873. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  874. Units: sectors of 1 * 512 = 512 bytes
  875. Sector size (logical/physical): 512 bytes / 4096 bytes
  876. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  877.  
  878.  
  879. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  880. Units: sectors of 1 * 512 = 512 bytes
  881. Sector size (logical/physical): 512 bytes / 4096 bytes
  882. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  883.  
  884.  
  885. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  886. Units: sectors of 1 * 512 = 512 bytes
  887. Sector size (logical/physical): 512 bytes / 4096 bytes
  888. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  889.  
  890.  
  891. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  892. Units: sectors of 1 * 512 = 512 bytes
  893. Sector size (logical/physical): 512 bytes / 4096 bytes
  894. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  895.  
  896.  
  897. Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
  898. Units: sectors of 1 * 512 = 512 bytes
  899. Sector size (logical/physical): 512 bytes / 4096 bytes
  900. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  901.  
  902.  
  903. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  904. Units: sectors of 1 * 512 = 512 bytes
  905. Sector size (logical/physical): 512 bytes / 4096 bytes
  906. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  907.  
  908.  
  909. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  910. Units: sectors of 1 * 512 = 512 bytes
  911. Sector size (logical/physical): 512 bytes / 4096 bytes
  912. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  913.  
  914.  
  915. Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
  916. Units: sectors of 1 * 512 = 512 bytes
  917. Sector size (logical/physical): 512 bytes / 4096 bytes
  918. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  919.  
  920.  
  921. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  922. Units: sectors of 1 * 512 = 512 bytes
  923. Sector size (logical/physical): 512 bytes / 4096 bytes
  924. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  925.  
  926.  
  927. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  928. Units: sectors of 1 * 512 = 512 bytes
  929. Sector size (logical/physical): 512 bytes / 4096 bytes
  930. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  931.  
  932.  
  933. Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
  934. Units: sectors of 1 * 512 = 512 bytes
  935. Sector size (logical/physical): 512 bytes / 4096 bytes
  936. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  937.  
  938.  
  939. Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 sectors
  940. Units: sectors of 1 * 512 = 512 bytes
  941. Sector size (logical/physical): 512 bytes / 512 bytes
  942. I/O size (minimum/optimal): 512 bytes / 512 bytes
  943.  
  944.  
  945. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  946. Units: sectors of 1 * 512 = 512 bytes
  947. Sector size (logical/physical): 512 bytes / 4096 bytes
  948. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  949. Disklabel type: gpt
  950. Disk identifier: 5D37D60E-7BC6-4C90-BD60-9820D55C98D1
  951.  
  952. Device Start End Sectors Size Type
  953. /dev/sda1 2048 616447 614400 300M Windows recovery environment
  954. /dev/sda2 616448 821247 204800 100M EFI System
  955. /dev/sda3 821248 1083391 262144 128M Microsoft reserved
  956. /dev/sda4 1083392 1328525311 1327441920 633G Microsoft basic data
  957. /dev/sda5 1328525312 1953523711 624998400 298G Linux filesystem
  958.  
  959.  
  960.  
  961. =================== Recommended repair
  962. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda5, using the following options: sda2/boot/efi,
  963. Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
  964.  
  965.  
  966. /boot/efi added in sda5/fstab
  967. Quantity of real Windows: 1
  968. Mount sda2 on /mnt/boot-sav/sda5/boot/efi
  969. ls sda2/efi: /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/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /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/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi
  970. ls sda2: boot-sav
  971. EFI . Please report this message to boot.repair@gmail.com
  972.  
  973. *******lspci -nnk | grep -iA3 vga
  974. 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0156] (rev 09)
  975. Subsystem: Toshiba America Info Systems 3rd Gen Core processor Graphics Controller [1179:fa20]
  976. Kernel driver in use: i915
  977. Kernel modules: i915
  978. *******
  979.  
  980. grub-install --version
  981. grub-install (GRUB) 2.02~beta2-36ubuntu3.11,grub-install (GRUB) 2.
  982.  
  983. chroot /mnt/boot-sav/sda5 efibootmgr -v
  984. BootCurrent: 0005
  985. Timeout: 2 seconds
  986. BootOrder: 0004,0000,0003,2002,2003,2001
  987. Boot0000* ubuntu HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,0x32000)/File(EFIubuntushimx64.efi)
  988. Boot0001* EFI Network 0 for IPv6 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv6([::]:<->[::]:,0,0)RC
  989. Boot0002* EFI Network 0 for IPv4 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  990. Boot0003* Ubuntu HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,0x32000)/File(EFIubuntugrubx64.efi)RC
  991. Boot0004* Windows Boot Manager HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,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.}...i................
  992. Boot0005* EFI DVD/CDROM (TSSTcorp CDDVDW SU-208DB) PciRoot(0x0)/Pci(0x1f,0x2)/Sata(5,0,0)/CDROM(1,0xe18,0x1300)RC
  993. Boot0007* EFI Network 0 for IPv6 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv6([::]:<->[::]:,0,0)RC
  994. Boot2001* EFI USB Device RC
  995. Boot2002* EFI DVD/CDROM RC
  996. Boot2003* EFI Network RC
  997.  
  998. chroot /mnt/boot-sav/sda5 uname -r
  999. Kernel: 4.8.0-36-generic
  1000.  
  1001. Reinstall the grub-efi-amd64-signed of sda5
  1002. Installing for x86_64-efi platform.
  1003. Installation finished. No error reported.
  1004. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  1005. ls sda2/efi: /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/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /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/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi
  1006. ls sda2: boot-sav
  1007. EFI . Please report this message to boot.repair@gmail.com
  1008. df /dev/sda2
  1009. Save and rename /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi)
  1010. cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi
  1011. ls sda2/efi: /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/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /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/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi /Boot/bkpbootx64.efi
  1012. ls sda2: boot-sav
  1013. EFI . Please report this message to boot.repair@gmail.com
  1014. Add /mnt/boot-sav/sda5/boot/efi efi entries in /mnt/boot-sav/sda5/etc/grub.d/25_custom
  1015. Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  1016. Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
  1017. sda2/bkpbootx64.efi already added
  1018. Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/fwupx64.efi
  1019. Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/mmx64.efi
  1020. sda2/bootmgfw.efi already added
  1021. Installing for x86_64-efi platform.
  1022. Installation finished. No error reported.
  1023. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  1024.  
  1025. chroot /mnt/boot-sav/sda5 efibootmgr -v
  1026. BootCurrent: 0005
  1027. Timeout: 2 seconds
  1028. BootOrder: 0000,0004,2002,2003,2001
  1029. Boot0000* ubuntu HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,0x32000)/File(EFIubuntushimx64.efi)
  1030. Boot0001* EFI Network 0 for IPv6 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv6([::]:<->[::]:,0,0)RC
  1031. Boot0002* EFI Network 0 for IPv4 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)RC
  1032. Boot0004* Windows Boot Manager HD(2,GPT,9ef8fc64-672c-40e2-9953-ca724d78aeb1,0x96800,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.}...i................
  1033. Boot0005* EFI DVD/CDROM (TSSTcorp CDDVDW SU-208DB) PciRoot(0x0)/Pci(0x1f,0x2)/Sata(5,0,0)/CDROM(1,0xe18,0x1300)RC
  1034. Boot0007* EFI Network 0 for IPv6 (00-8C-FA-A2-95-E8) PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(008cfaa295e8,0)/IPv6([::]:<->[::]:,0,0)RC
  1035. Boot2001* EFI USB Device RC
  1036. Boot2002* EFI DVD/CDROM RC
  1037. Boot2003* EFI Network RC
  1038.  
  1039. chroot /mnt/boot-sav/sda5 update-grub
  1040. Generating grub configuration file ...
  1041. Found linux image: /boot/vmlinuz-4.8.0-58-generic
  1042. Found initrd image: /boot/initrd.img-4.8.0-58-generic
  1043. Found linux image: /boot/vmlinuz-4.8.0-36-generic
  1044. Found initrd image: /boot/initrd.img-4.8.0-36-generic
  1045. Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
  1046. Adding boot menu entry for EFI firmware configuration
  1047. Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
  1048.  
  1049. Boot successfully repaired.
  1050.  
  1051. You can now reboot your computer.
  1052.  
  1053.  
  1054. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  1055. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  1056. For example you can boot into Windows, then type the following command in an admin command prompt:
  1057. bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement