1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2. ============================= Boot Info Summary: ===============================
  3. => Windows 7/8/2012 is installed in the MBR of /dev/sda.
  4. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
  5. => Windows 2000/XP/2003 is installed in the MBR of /dev/sdc.
  6. sda1: __________________________________________________________________________
  7. File system: ntfs
  8. Boot sector type: Windows 8/2012: NTFS
  9. Boot sector info: No errors found in the Boot Parameter Block.
  10. Operating System:
  11. Boot files:
  12. sda2: __________________________________________________________________________
  13. File system: Extended Partition
  14. Boot sector type: -
  15. Boot sector info:
  16. sda5: __________________________________________________________________________
  17. File system: ext4
  18. Boot sector type: -
  19. Boot sector info:
  20. Operating System: elementary OS 0.4 Loki
  21. Boot files: /boot/grub/grub.cfg /etc/fstab
  22. sda6: __________________________________________________________________________
  23. File system: swap
  24. Boot sector type: -
  25. Boot sector info:
  26. sda7: __________________________________________________________________________
  27. File system: ext4
  28. Boot sector type: -
  29. Boot sector info:
  30. Operating System:
  31. Boot files:
  32. sda8: __________________________________________________________________________
  33. File system: vfat
  34. Boot sector type: FAT32
  35. Boot sector info: According to the info in the boot sector, sda8 starts
  36. at sector -388550656. But according to the info from
  37. fdisk, sda8 starts at sector 3906416640.
  38. Operating System:
  39. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/fbx64.efi
  40. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
  41. /EFI/ubuntu/shimx64.efi
  42. /EFI/Microsoft/Boot/bootmgfw.efi
  43. /EFI/Microsoft/Boot/bootx64.efi
  44. sdb1: __________________________________________________________________________
  45. File system: vfat
  46. Boot sector type: SYSLINUX 4.07
  47. Boot sector info: Syslinux looks at sector 16392 of /dev/sdb1 for its
  48. second stage. The integrity check of Syslinux failed.
  49. No errors found in the Boot Parameter Block.
  50. Operating System:
  51. Boot files: /boot/grub/grub.cfg /syslinux.cfg
  52. /EFI/BOOT/grubx64.efi /ldlinux.sys
  53. sdc1: __________________________________________________________________________
  54. File system: ntfs
  55. Boot sector type: Windows 7/2008: NTFS
  56. Boot sector info: No errors found in the Boot Parameter Block.
  57. Operating System:
  58. Boot files:
  59. ============================ Drive/Partition Info: =============================
  60. Drive: sda _____________________________________________________________________
  61. Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
  62. Units: sectors of 1 * 512 = 512 bytes
  63. Sector size (logical/physical): 512 bytes / 4096 bytes
  64. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  65. Disklabel type: dos
  66. Partition Boot Start Sector End Sector # of Sectors Id System
  67. /dev/sda1 2,048 3,661,266,943 3,661,264,896 7 NTFS / exFAT / HPFS
  68. /dev/sda2 3,661,268,990 3,907,028,991 245,760,002 5 Extended
  69. /dev/sda5 3,661,268,992 3,729,626,413 68,357,422 83 Linux
  70. /dev/sda6 3,729,629,184 3,792,127,999 62,498,816 82 Linux swap / Solaris
  71. /dev/sda7 3,792,130,048 3,906,414,591 114,284,544 83 Linux
  72. /dev/sda8 * 3,906,416,640 3,907,028,991 612,352 ef EFI (FAT-12/16/32)
  73. Drive: sdb _____________________________________________________________________
  74. Disk /dev/sdb: 3.7 GiB, 4004024320 bytes, 7820360 sectors
  75. Units: sectors of 1 * 512 = 512 bytes
  76. Sector size (logical/physical): 512 bytes / 512 bytes
  77. I/O size (minimum/optimal): 512 bytes / 512 bytes
  78. Disklabel type: dos
  79. Partition Boot Start Sector End Sector # of Sectors Id System
  80. /dev/sdb1 * 2,048 7,820,359 7,818,312 c W95 FAT32 (LBA)
  81. Drive: sdc _____________________________________________________________________
  82. Disk /dev/sdc: 465.7 GiB, 500074283008 bytes, 976707584 sectors
  83. Units: sectors of 1 * 512 = 512 bytes
  84. Sector size (logical/physical): 512 bytes / 512 bytes
  85. I/O size (minimum/optimal): 512 bytes / 512 bytes
  86. Disklabel type: dos
  87. Partition Boot Start Sector End Sector # of Sectors Id System
  88. /dev/sdc1 2,048 976,707,583 976,705,536 7 NTFS / exFAT / HPFS
  89. "blkid" output: ________________________________________________________________
  90. Device UUID TYPE LABEL
  91. /dev/loop0 squashfs
  92. /dev/sda1 AA46AD2246ACF06D ntfs Big_Boss
  93. /dev/sda5 03892520-2480-4c0e-ba3a-6ae10573e1f8 ext4
  94. /dev/sda6 22daee99-f0e4-488d-8298-5b993e5f5e87 swap
  95. /dev/sda7 2b052d3d-d2a3-48b4-96c3-c32bb20c6e48 ext4
  96. /dev/sda8 FBBC-4650 vfat EFI
  97. /dev/sdb1 B6AE-2FE2 vfat ELEMENTARY
  98. /dev/sdc1 9C64D17064D14DA0 ntfs Game_Drive
  99. ========================= "ls -l /dev/disk/by-id" output: ======================
  100. total 0
  101. lrwxrwxrwx 1 root root 9 Apr 18 02:19 ata-ATAPI_iHAS124_D_3524552_2C8239503636 -> ../../sr0
  102. lrwxrwxrwx 1 root root 9 Apr 18 02:29 ata-ST2000DM006-2DM164_Z4Z6TSLF -> ../../sda
  103. lrwxrwxrwx 1 root root 10 Apr 18 02:30 ata-ST2000DM006-2DM164_Z4Z6TSLF-part1 -> ../../sda1
  104. lrwxrwxrwx 1 root root 10 Apr 18 02:29 ata-ST2000DM006-2DM164_Z4Z6TSLF-part2 -> ../../sda2
  105. lrwxrwxrwx 1 root root 10 Apr 18 02:29 ata-ST2000DM006-2DM164_Z4Z6TSLF-part5 -> ../../sda5
  106. lrwxrwxrwx 1 root root 10 Apr 18 02:29 ata-ST2000DM006-2DM164_Z4Z6TSLF-part6 -> ../../sda6
  107. lrwxrwxrwx 1 root root 10 Apr 18 02:29 ata-ST2000DM006-2DM164_Z4Z6TSLF-part7 -> ../../sda7
  108. lrwxrwxrwx 1 root root 10 Apr 18 02:29 ata-ST2000DM006-2DM164_Z4Z6TSLF-part8 -> ../../sda8
  109. lrwxrwxrwx 1 root root 9 Apr 18 02:29 usb-Kingston_DT_101_G2_001CC07CEDAEFC50193223F7-0:0 -> ../../sdb
  110. lrwxrwxrwx 1 root root 10 Apr 18 02:29 usb-Kingston_DT_101_G2_001CC07CEDAEFC50193223F7-0:0-part1 -> ../../sdb1
  111. lrwxrwxrwx 1 root root 9 Apr 18 02:29 usb-WD_My_Passport_0730_575841314137314538383538-0:0 -> ../../sdc
  112. lrwxrwxrwx 1 root root 10 Apr 18 02:30 usb-WD_My_Passport_0730_575841314137314538383538-0:0-part1 -> ../../sdc1
  113. lrwxrwxrwx 1 root root 9 Apr 18 02:29 wwn-0x5000c500931a0de6 -> ../../sda
  114. lrwxrwxrwx 1 root root 10 Apr 18 02:30 wwn-0x5000c500931a0de6-part1 -> ../../sda1
  115. lrwxrwxrwx 1 root root 10 Apr 18 02:29 wwn-0x5000c500931a0de6-part2 -> ../../sda2
  116. lrwxrwxrwx 1 root root 10 Apr 18 02:29 wwn-0x5000c500931a0de6-part5 -> ../../sda5
  117. lrwxrwxrwx 1 root root 10 Apr 18 02:29 wwn-0x5000c500931a0de6-part6 -> ../../sda6
  118. lrwxrwxrwx 1 root root 10 Apr 18 02:29 wwn-0x5000c500931a0de6-part7 -> ../../sda7
  119. lrwxrwxrwx 1 root root 10 Apr 18 02:29 wwn-0x5000c500931a0de6-part8 -> ../../sda8
  120. ================================ Mount points: =================================
  121. Device Mount_Point Type Options
  122. /dev/loop0 /rofs squashfs (ro,noatime)
  123. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  124. =========================== sda5/boot/grub/grub.cfg: ===========================
  125. --------------------------------------------------------------------------------
  126. #
  127. # DO NOT EDIT THIS FILE
  128. #
  129. # It is automatically generated by grub-mkconfig using templates
  130. # from /etc/grub.d and settings from /etc/default/grub
  131. #
  132. ### BEGIN /etc/grub.d/00_header ###
  133. if [ -s $prefix/grubenv ]; then
  134. set have_grubenv=true
  135. load_env
  136. fi
  137. if [ "${next_entry}" ] ; then
  138. set default="${next_entry}"
  139. set next_entry=
  140. save_env next_entry
  141. set boot_once=true
  142. else
  143. set default="0"
  144. fi
  145. if [ x"${feature_menuentry_id}" = xy ]; then
  146. menuentry_id_option="--id"
  147. else
  148. menuentry_id_option=""
  149. fi
  150. export menuentry_id_option
  151. if [ "${prev_saved_entry}" ]; then
  152. set saved_entry="${prev_saved_entry}"
  153. save_env saved_entry
  154. set prev_saved_entry=
  155. save_env prev_saved_entry
  156. set boot_once=true
  157. fi
  158. function savedefault {
  159. if [ -z "${boot_once}" ]; then
  160. saved_entry="${chosen}"
  161. save_env saved_entry
  162. fi
  163. }
  164. function recordfail {
  165. set recordfail=1
  166. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  167. }
  168. function load_video {
  169. if [ x$feature_all_video_module = xy ]; then
  170. insmod all_video
  171. else
  172. insmod efi_gop
  173. insmod efi_uga
  174. insmod ieee1275_fb
  175. insmod vbe
  176. insmod vga
  177. insmod video_bochs
  178. insmod video_cirrus
  179. fi
  180. }
  181. if [ x$feature_default_font_path = xy ] ; then
  182. font=unicode
  183. else
  184. insmod part_msdos
  185. insmod ext2
  186. set root='hd0,msdos5'
  187. if [ x$feature_platform_search_hint = xy ]; then
  188. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  189. else
  190. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  191. fi
  192. font="/usr/share/grub/unicode.pf2"
  193. fi
  194. if loadfont $font ; then
  195. set gfxmode=auto
  196. load_video
  197. insmod gfxterm
  198. set locale_dir=$prefix/locale
  199. set lang=en_US
  200. insmod gettext
  201. fi
  202. terminal_output gfxterm
  203. if [ "${recordfail}" = 1 ] ; then
  204. set timeout=10
  205. else
  206. if [ x$feature_timeout_style = xy ] ; then
  207. set timeout_style=menu
  208. set timeout=10
  209. # Fallback normal timeout code in case the timeout_style feature is
  210. # unavailable.
  211. else
  212. set timeout=10
  213. fi
  214. fi
  215. ### END /etc/grub.d/00_header ###
  216. ### BEGIN /etc/grub.d/05_debian_theme ###
  217. set menu_color_normal=white/black
  218. set menu_color_highlight=black/white
  219. ### END /etc/grub.d/05_debian_theme ###
  220. ### BEGIN /etc/grub.d/10_linux ###
  221. function gfxmode {
  222. set gfxpayload="${1}"
  223. if [ "${1}" = "keep" ]; then
  224. set vt_handoff=vt.handoff=7
  225. else
  226. set vt_handoff=
  227. fi
  228. }
  229. if [ "${recordfail}" != 1 ]; then
  230. if [ -e ${prefix}/gfxblacklist.txt ]; then
  231. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  232. if [ ${match} = 0 ]; then
  233. set linux_gfx_mode=keep
  234. else
  235. set linux_gfx_mode=text
  236. fi
  237. else
  238. set linux_gfx_mode=text
  239. fi
  240. else
  241. set linux_gfx_mode=keep
  242. fi
  243. else
  244. set linux_gfx_mode=text
  245. fi
  246. export linux_gfx_mode
  247. menuentry 'elementary' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  248. recordfail
  249. load_video
  250. gfxmode $linux_gfx_mode
  251. insmod gzio
  252. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  253. insmod part_msdos
  254. insmod ext2
  255. set root='hd0,msdos5'
  256. if [ x$feature_platform_search_hint = xy ]; then
  257. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  258. else
  259. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  260. fi
  261. linux /boot/vmlinuz-4.4.0-72-generic.efi.signed root=UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 ro quiet splash $vt_handoff
  262. initrd /boot/initrd.img-4.4.0-72-generic
  263. }
  264. submenu 'Advanced options for elementary' $menuentry_id_option 'gnulinux-advanced-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  265. menuentry 'elementary, with Linux 4.4.0-72-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-advanced-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  266. recordfail
  267. load_video
  268. gfxmode $linux_gfx_mode
  269. insmod gzio
  270. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  271. insmod part_msdos
  272. insmod ext2
  273. set root='hd0,msdos5'
  274. if [ x$feature_platform_search_hint = xy ]; then
  275. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  276. else
  277. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  278. fi
  279. echo 'Loading Linux 4.4.0-72-generic ...'
  280. linux /boot/vmlinuz-4.4.0-72-generic.efi.signed root=UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 ro quiet splash $vt_handoff
  281. echo 'Loading initial ramdisk ...'
  282. initrd /boot/initrd.img-4.4.0-72-generic
  283. }
  284. menuentry 'elementary, with Linux 4.4.0-72-generic (upstart)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-init-upstart-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  285. recordfail
  286. load_video
  287. gfxmode $linux_gfx_mode
  288. insmod gzio
  289. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  290. insmod part_msdos
  291. insmod ext2
  292. set root='hd0,msdos5'
  293. if [ x$feature_platform_search_hint = xy ]; then
  294. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  295. else
  296. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  297. fi
  298. echo 'Loading Linux 4.4.0-72-generic ...'
  299. linux /boot/vmlinuz-4.4.0-72-generic.efi.signed root=UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 ro quiet splash $vt_handoff init=/sbin/upstart
  300. echo 'Loading initial ramdisk ...'
  301. initrd /boot/initrd.img-4.4.0-72-generic
  302. }
  303. menuentry 'elementary, with Linux 4.4.0-72-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-72-generic-recovery-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  304. recordfail
  305. load_video
  306. insmod gzio
  307. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  308. insmod part_msdos
  309. insmod ext2
  310. set root='hd0,msdos5'
  311. if [ x$feature_platform_search_hint = xy ]; then
  312. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  313. else
  314. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  315. fi
  316. echo 'Loading Linux 4.4.0-72-generic ...'
  317. linux /boot/vmlinuz-4.4.0-72-generic.efi.signed root=UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 ro recovery nomodeset
  318. echo 'Loading initial ramdisk ...'
  319. initrd /boot/initrd.img-4.4.0-72-generic
  320. }
  321. menuentry 'elementary, with Linux 4.4.0-38-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-38-generic-advanced-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  322. recordfail
  323. load_video
  324. gfxmode $linux_gfx_mode
  325. insmod gzio
  326. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  327. insmod part_msdos
  328. insmod ext2
  329. set root='hd0,msdos5'
  330. if [ x$feature_platform_search_hint = xy ]; then
  331. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  332. else
  333. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  334. fi
  335. echo 'Loading Linux 4.4.0-38-generic ...'
  336. linux /boot/vmlinuz-4.4.0-38-generic.efi.signed root=UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 ro quiet splash $vt_handoff
  337. echo 'Loading initial ramdisk ...'
  338. initrd /boot/initrd.img-4.4.0-38-generic
  339. }
  340. menuentry 'elementary, with Linux 4.4.0-38-generic (upstart)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-38-generic-init-upstart-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  341. recordfail
  342. load_video
  343. gfxmode $linux_gfx_mode
  344. insmod gzio
  345. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  346. insmod part_msdos
  347. insmod ext2
  348. set root='hd0,msdos5'
  349. if [ x$feature_platform_search_hint = xy ]; then
  350. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  351. else
  352. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  353. fi
  354. echo 'Loading Linux 4.4.0-38-generic ...'
  355. linux /boot/vmlinuz-4.4.0-38-generic.efi.signed root=UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 ro quiet splash $vt_handoff init=/sbin/upstart
  356. echo 'Loading initial ramdisk ...'
  357. initrd /boot/initrd.img-4.4.0-38-generic
  358. }
  359. menuentry 'elementary, with Linux 4.4.0-38-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-38-generic-recovery-03892520-2480-4c0e-ba3a-6ae10573e1f8' {
  360. recordfail
  361. load_video
  362. insmod gzio
  363. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  364. insmod part_msdos
  365. insmod ext2
  366. set root='hd0,msdos5'
  367. if [ x$feature_platform_search_hint = xy ]; then
  368. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 03892520-2480-4c0e-ba3a-6ae10573e1f8
  369. else
  370. search --no-floppy --fs-uuid --set=root 03892520-2480-4c0e-ba3a-6ae10573e1f8
  371. fi
  372. echo 'Loading Linux 4.4.0-38-generic ...'
  373. linux /boot/vmlinuz-4.4.0-38-generic.efi.signed root=UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 ro recovery nomodeset
  374. echo 'Loading initial ramdisk ...'
  375. initrd /boot/initrd.img-4.4.0-38-generic
  376. }
  377. }
  378. ### END /etc/grub.d/10_linux ###
  379. ### BEGIN /etc/grub.d/20_linux_xen ###
  380. ### END /etc/grub.d/20_linux_xen ###
  381. ### BEGIN /etc/grub.d/25_custom ###
  382. menuentry "EFI/ubuntu/fbx64.efi" {
  383. search --fs-uuid --no-floppy --set=root FBBC-4650
  384. chainloader (${root})/EFI/ubuntu/fbx64.efi
  385. }
  386. menuentry "EFI/ubuntu/mmx64.efi" {
  387. search --fs-uuid --no-floppy --set=root FBBC-4650
  388. chainloader (${root})/EFI/ubuntu/mmx64.efi
  389. }
  390. ### END /etc/grub.d/25_custom ###
  391. ### BEGIN /etc/grub.d/30_os-prober ###
  392. ### END /etc/grub.d/30_os-prober ###
  393. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  394. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  395. fwsetup
  396. }
  397. ### END /etc/grub.d/30_uefi-firmware ###
  398. ### BEGIN /etc/grub.d/40_custom ###
  399. # This file provides an easy way to add custom menu entries. Simply type the
  400. # menu entries you want to add after this comment. Be careful not to change
  401. # the 'exec tail' line above.
  402. ### END /etc/grub.d/40_custom ###
  403. ### BEGIN /etc/grub.d/41_custom ###
  404. if [ -f ${config_directory}/custom.cfg ]; then
  405. source ${config_directory}/custom.cfg
  406. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  407. source $prefix/custom.cfg;
  408. fi
  409. ### END /etc/grub.d/41_custom ###
  410. --------------------------------------------------------------------------------
  411. =============================== sda5/etc/fstab: ================================
  412. --------------------------------------------------------------------------------
  413. # /etc/fstab: static file system information.
  414. #
  415. # Use 'blkid' to print the universally unique identifier for a
  416. # device; this may be used with UUID= as a more robust way to name devices
  417. # that works even if disks are added and removed. See fstab(5).
  418. #
  419. # <file system> <mount point> <type> <options> <dump> <pass>
  420. # / was on /dev/sda5 during installation
  421. UUID=03892520-2480-4c0e-ba3a-6ae10573e1f8 / ext4 errors=remount-ro 0 1
  422. # /boot/efi was on /dev/sda8 during installation
  423. #UUID=FBBC-4650 /boot/efi vfat umask=0077 0 1
  424. # /home was on /dev/sda7 during installation
  425. UUID=2b052d3d-d2a3-48b4-96c3-c32bb20c6e48 /home ext4 defaults 0 2
  426. # swap was on /dev/sda6 during installation
  427. UUID=22daee99-f0e4-488d-8298-5b993e5f5e87 none swap sw 0 0
  428. UUID=FBBC-4650 /boot/efi vfat defaults 0 1
  429. --------------------------------------------------------------------------------
  430. =================== sda5: Location of files loaded by Grub: ====================
  431. GiB - GB File Fragment(s)
  432. 1749.974891663 = 1879.021232128 boot/grub/grub.cfg 1
  433. 1750.180610657 = 1879.242121216 boot/vmlinuz-4.4.0-38-generic 1
  434. 1749.972183228 = 1879.018323968 boot/vmlinuz-4.4.0-38-generic.efi.signed 1
  435. 1770.648197174 = 1901.219024896 boot/vmlinuz-4.4.0-72-generic 1
  436. 1770.851322174 = 1901.437128704 boot/vmlinuz-4.4.0-72-generic.efi.signed 1
  437. 1750.180610657 = 1879.242121216 vmlinuz 1
  438. 1770.922847748 = 1901.513928704 boot/initrd.img-4.4.0-38-generic 2
  439. 1772.079444885 = 1902.755815424 boot/initrd.img-4.4.0-72-generic 4
  440. 1770.922847748 = 1901.513928704 initrd.img 2
  441. 1770.922847748 = 1901.513928704 initrd.img.old 2
  442. =========================== sdb1/boot/grub/grub.cfg: ===========================
  443. --------------------------------------------------------------------------------
  444. if loadfont /boot/grub/font.pf2 ; then
  445. set gfxmode=auto
  446. insmod efi_gop
  447. insmod efi_uga
  448. insmod gfxterm
  449. terminal_output gfxterm
  450. fi
  451. set menu_color_normal=white/black
  452. set menu_color_highlight=black/light-gray
  453. menuentry "Try elementary OS without installing" {
  454. set gfxpayload=keep
  455. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  456. initrd /casper/initrd.lz
  457. }
  458. menuentry "Install elementary OS" {
  459. set gfxpayload=keep
  460. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  461. initrd /casper/initrd.lz
  462. }
  463. menuentry "OEM install (for manufacturers)" {
  464. set gfxpayload=keep
  465. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  466. initrd /casper/initrd.lz
  467. }
  468. menuentry "Check disc for defects" {
  469. set gfxpayload=keep
  470. linux /casper/vmlinuz boot=casper integrity-check quiet splash ---
  471. initrd /casper/initrd.lz
  472. }
  473. --------------------------------------------------------------------------------
  474. ============================== sdb1/syslinux.cfg: ==============================
  475. --------------------------------------------------------------------------------
  476. DEFAULT loadconfig
  477. LABEL loadconfig
  478. CONFIG /isolinux/isolinux.cfg
  479. APPEND /isolinux/
  480. --------------------------------------------------------------------------------
  481. =================== sdb1: Location of files loaded by Grub: ====================
  482. GiB - GB File Fragment(s)
  483. ?? = ?? boot/grub/grub.cfg 1
  484. ================= sdb1: Location of files loaded by Syslinux: ==================
  485. GiB - GB File Fragment(s)
  486. ?? = ?? syslinux.cfg 1
  487. ?? = ?? ldlinux.sys 1
  488. =============================== StdErr Messages: ===============================
  489. File descriptor 9 (/proc/25624/mounts) leaked on lvs invocation. Parent PID 5815: bash
  490. File descriptor 63 (pipe:[75637]) leaked on lvs invocation. Parent PID 5815: bash
  491. ADDITIONAL INFORMATION :
  492. =================== log of boot-repair 2017-04-18__02h29 ===================
  493. boot-repair version : 4ppa40
  494. boot-sav version : 4ppa40
  495. glade2script version : 3.2.3~ppa1
  496. boot-sav-extra version : 4ppa40
  497. boot-repair is executed in live-session (elementary OS 0.4 Loki, loki, elementary, x86_64)
  498. CPU op-mode(s): 32-bit, 64-bit
  499. BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  500. ls: cannot access '/home/usr/.config': No such file or directory
  501. Partition 2 does not start on physical sector boundary.
  502. =================== os-prober:
  503. /dev/sda5:elementary OS 0.4 Loki (0.4):elementary:linux
  504. =================== blkid:
  505. /dev/sda1: LABEL="Big_Boss" UUID="AA46AD2246ACF06D" TYPE="ntfs" PARTUUID="a67a84ed-01"
  506. /dev/sda5: UUID="03892520-2480-4c0e-ba3a-6ae10573e1f8" TYPE="ext4" PARTUUID="a67a84ed-05"
  507. /dev/sda7: UUID="2b052d3d-d2a3-48b4-96c3-c32bb20c6e48" TYPE="ext4" PARTUUID="a67a84ed-07"
  508. /dev/sda8: LABEL="EFI" UUID="FBBC-4650" TYPE="vfat" PARTUUID="a67a84ed-08"
  509. /dev/sdb1: LABEL="ELEMENTARY" UUID="B6AE-2FE2" TYPE="vfat" PARTUUID="00e5ce14-01"
  510. /dev/loop0: TYPE="squashfs"
  511. /dev/sda6: UUID="22daee99-f0e4-488d-8298-5b993e5f5e87" TYPE="swap" PARTUUID="a67a84ed-06"
  512. /dev/sdc1: LABEL="Game_Drive" UUID="9C64D17064D14DA0" TYPE="ntfs" PARTUUID="00038a56-01"
  513. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  514. Partition 2 does not start on physical sector boundary.
  515. Partition 2 does not start on physical sector boundary.
  516. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi
  517. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi
  518. Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
  519. =================== sda5/etc/grub.d/ :
  520. drwxr-xr-x 2 root root 4096 Apr 18 02:06 grub.d
  521. total 76
  522. -rwxr-xr-x 1 root root 9791 Aug 9 2016 00_header
  523. -rwxr-xr-x 1 root root 6276 Aug 9 2016 05_debian_theme
  524. -rwxr-xr-x 1 root root 12502 Apr 6 01:40 10_linux
  525. -rwxr-xr-x 1 root root 11082 Aug 9 2016 20_linux_xen
  526. -rwxr-xr-x 1 root root 11692 Aug 9 2016 30_os-prober
  527. -rwxr-xr-x 1 root root 1418 Aug 9 2016 30_uefi-firmware
  528. -rwxr-xr-x 1 root root 214 Aug 9 2016 40_custom
  529. -rwxr-xr-x 1 root root 216 Aug 9 2016 41_custom
  530. -rw-r--r-- 1 root root 483 Aug 9 2016 README
  531. =================== sda5/etc/default/grub :
  532. # If you change this file, run 'update-grub' afterwards to update
  533. # /boot/grub/grub.cfg.
  534. # For full documentation of the options in this file, see:
  535. # info -f grub -n 'Simple configuration'
  536. GRUB_DEFAULT=0
  537. GRUB_HIDDEN_TIMEOUT=0
  538. GRUB_HIDDEN_TIMEOUT_QUIET=true
  539. GRUB_TIMEOUT=5
  540. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  541. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  542. GRUB_CMDLINE_LINUX=""
  543. # Uncomment to enable BadRAM filtering, modify to suit your needs
  544. # This works with Linux (no patch required) and with any kernel that obtains
  545. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  546. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  547. # Uncomment to disable graphical terminal (grub-pc only)
  548. #GRUB_TERMINAL=console
  549. # The resolution used on graphical terminal
  550. # note that you can use only modes which your graphic card supports via VBE
  551. # you can see them in real GRUB with the command `vbeinfo'
  552. #GRUB_GFXMODE=640x480
  553. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  554. #GRUB_DISABLE_LINUX_UUID=true
  555. # Uncomment to disable generation of recovery mode menu entries
  556. #GRUB_DISABLE_RECOVERY="true"
  557. # Uncomment to get a beep at grub start
  558. #GRUB_INIT_TUNE="480 440 1"
  559. /boot/efi detected in the fstab of sda5: UUID=FBBC-4650 (sda8)
  560. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda8/EFI/Microsoft/Boot/bootmgfw.efi
  561. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda8/EFI/Microsoft/Boot/bootx64.efi
  562. Presence of EFI/Boot file detected: /mnt/boot-sav/sda8/EFI/Boot/bootx64.efi
  563. =================== efibootmgr -v
  564. BootCurrent: 000A
  565. Timeout: 0 seconds
  566. BootOrder: 0002,0004,0009,000A,0001
  567. Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .D....................A...........................>..Gd-.;.A..MQ..L.5.3.4.2.5.5. .2.C.2.2.8.9.3.0.5.6.3.6.3......AMBO
  568. Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.W.D. .M.y. .P.a.s.s.p.o.r.t. .0.7.3.0....................A.............................<..Gd-.;.A..MQ..L.W.D. .M.y. .P.a.s.s.p.o.r.t. .0.7.3.0......AMBOAMNO........k.W.D. .S.E.S. .D.e.v.i.c.e....................A.....................................0..Gd-.;.A..MQ..L.W.D. .S.E.S. .D.e.v.i.c.e......AMBOAMNO........o.S.T.2.0.0.0.D.M.0.0.6.-.2.D.M.1.6.4....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .4.Z.6.Z.S.T.F.L......AMBOAMNO........e.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2....................A.......................8..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2......AMBO
  569. Boot0004* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
  570. Boot0009* ubuntu VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
  571. Boot000A* UEFI: KingstonDT 101 G2 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x20,0x800,0x774c48)AMBO
  572. =================== UEFI/Legacy mode:
  573. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  574. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  575. =================== PARTITIONS & DISKS:
  576. 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, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
  577. 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.
  578. sda7 : 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/sda7.
  579. sda8 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda8.
  580. sdc1 : sdc, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdc1.
  581. sda : not-GPT, BIOSboot-not-needed, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  582. sdc : not-GPT, BIOSboot-not-needed, has-no-EFIpart, usb-disk, no-os, 2048 sectors * 512 bytes
  583. =================== parted -l:
  584. Model: ATA ST2000DM006-2DM1 (scsi)
  585. Disk /dev/sda: 2000GB
  586. Sector size (logical/physical): 512B/4096B
  587. Partition Table: msdos
  588. Disk Flags:
  589. Number Start End Size Type File system Flags
  590. 1 1049kB 1875GB 1875GB primary ntfs
  591. 2 1875GB 2000GB 126GB extended
  592. 5 1875GB 1910GB 35.0GB logical ext4
  593. 6 1910GB 1942GB 32.0GB logical linux-swap(v1)
  594. 7 1942GB 2000GB 58.5GB logical ext4
  595. 8 2000GB 2000GB 314MB logical fat32 boot, esp
  596. Model: Kingston DT 101 G2 (scsi)
  597. Disk /dev/sdb: 4004MB
  598. Sector size (logical/physical): 512B/512B
  599. Partition Table: msdos
  600. Disk Flags:
  601. Number Start End Size Type File system Flags
  602. 1 1049kB 4004MB 4003MB primary fat32 boot, lba
  603. Model: WD My Passport 0730 (scsi)
  604. Disk /dev/sdc: 500GB
  605. Sector size (logical/physical): 512B/512B
  606. Partition Table: msdos
  607. Disk Flags:
  608. Number Start End Size Type File system Flags
  609. 1 1049kB 500GB 500GB primary ntfs
  610. =================== parted -lm:
  611. BYT;
  612. /dev/sda:2000GB:scsi:512:4096:msdos:ATA ST2000DM006-2DM1:;
  613. 1:1049kB:1875GB:1875GB:ntfs::;
  614. 2:1875GB:2000GB:126GB:::;
  615. 5:1875GB:1910GB:35.0GB:ext4::;
  616. 6:1910GB:1942GB:32.0GB:linux-swap(v1)::;
  617. 7:1942GB:2000GB:58.5GB:ext4::;
  618. 8:2000GB:2000GB:314MB:fat32::boot, esp;
  619. BYT;
  620. /dev/sdb:4004MB:scsi:512:512:msdos:Kingston DT 101 G2:;
  621. 1:1049kB:4004MB:4003MB:fat32::boot, lba;
  622. BYT;
  623. /dev/sdc:500GB:scsi:512:512:msdos:WD My Passport 0730:;
  624. 1:1049kB:500GB:500GB:ntfs::;
  625. =================== lsblk:
  626. KNAME TYPE FSTYPE SIZE LABEL
  627. sda disk 1.8T
  628. sda1 part ntfs 1.7T Big_Boss
  629. sda2 part 1K
  630. sda5 part ext4 32.6G
  631. sda6 part swap 29.8G
  632. sda7 part ext4 54.5G
  633. sda8 part vfat 299M EFI
  634. sdb disk 3.7G
  635. sdb1 part vfat 3.7G ELEMENTARY
  636. sdc disk 465.7G
  637. sdc1 part ntfs 465.7G Game_Drive
  638. sr0 rom 1024M
  639. loop0 loop squashfs 941.6M
  640. KNAME ROTA RO RM STATE MOUNTPOINT
  641. sda 1 0 0 running
  642. sda1 1 0 0 /mnt/boot-sav/sda1
  643. sda2 1 0 0
  644. sda5 1 0 0 /mnt/boot-sav/sda5
  645. sda6 1 0 0 [SWAP]
  646. sda7 1 0 0 /mnt/boot-sav/sda7
  647. sda8 1 0 0 /mnt/boot-sav/sda8
  648. sdb 1 0 1 running
  649. sdb1 1 0 1 /cdrom
  650. sdc 1 0 0 running
  651. sdc1 1 0 0 /mnt/boot-sav/sdc1
  652. sr0 1 0 1 running
  653. loop0 1 1 0 /rofs
  654. =================== mount:
  655. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  656. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  657. udev on /dev type devtmpfs (rw,nosuid,relatime,size=8168168k,nr_inodes=2042042,mode=755)
  658. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  659. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1637724k,mode=755)
  660. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  661. /dev/loop0 on /rofs type squashfs (ro,noatime)
  662. /cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
  663. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  664. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  665. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  666. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  667. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  668. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  669. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  670. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  671. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  672. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  673. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  674. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  675. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  676. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  677. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  678. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  679. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  680. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
  681. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  682. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  683. mqueue on /dev/mqueue type mqueue (rw,relatime)
  684. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  685. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  686. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  687. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1637724k,mode=700,uid=999,gid=999)
  688. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  689. /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  690. /dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)
  691. /dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw,relatime,data=ordered)
  692. /dev/sda8 on /mnt/boot-sav/sda8 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  693. /dev/sdc1 on /mnt/boot-sav/sdc1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  694. =================== ls:
  695. /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 sda5 sda6 sda7 sda8 size slaves stat subsystem trace uevent
  696. /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
  697. /sys/block/sdc (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdc1 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 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng initctl input kmsg lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sda7 sda8 sdb sdb1 sdc sdc1 sg0 sg1 sg2 sg3 sg4 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net zero
  700. ls /dev/mapper: control
  701. =================== hexdump -n512 -C /dev/sda1
  702. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  703. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  704. 00000020 00 00 00 00 80 00 80 00 ff 77 3a da 00 00 00 00 |.........w:.....|
  705. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  706. 00000040 f6 00 00 00 01 00 00 00 6d f0 ac 46 22 ad 46 aa |........m..F".F.|
  707. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  708. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  709. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  710. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  711. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  712. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  713. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  714. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  715. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  716. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  717. 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
  718. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  719. 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
  720. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  721. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  722. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  723. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  724. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
  725. 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
  726. 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
  727. 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
  728. 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
  729. 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
  730. 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
  731. 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
  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 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
  734. 00000200
  735. =================== hexdump -n512 -C /dev/sda8
  736. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  737. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 30 d7 e8 |........?....0..|
  738. 00000020 00 58 09 00 55 02 00 00 00 00 00 00 02 00 00 00 |.X..U...........|
  739. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  740. 00000040 80 01 29 50 46 bc fb 45 46 49 20 20 20 20 20 20 |..)PF..EFI |
  741. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  742. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  743. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  744. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  745. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  746. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  747. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  748. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  749. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  750. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  751. *
  752. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  753. 00000200
  754. =================== hexdump -n512 -C /dev/sdc1
  755. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  756. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  757. 00000020 00 00 00 00 80 00 80 00 ff 57 37 3a 00 00 00 00 |.........W7:....|
  758. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  759. 00000040 f6 00 00 00 01 00 00 00 a0 4d d1 64 70 d1 64 9c |.........M.dp.d.|
  760. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  761. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  762. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  763. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  764. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  765. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  766. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  767. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  768. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  769. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  770. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  771. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  772. 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
  773. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  774. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  775. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  776. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  777. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
  778. 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
  779. 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
  780. 00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
  781. 000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
  782. 000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
  783. 000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
  784. 000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
  785. 000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
  786. 000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
  787. 00000200
  788. Partition 2 does not start on physical sector boundary.
  789. =================== df -Th:
  790. Filesystem Type Size Used Avail Use% Mounted on
  791. udev devtmpfs 7.8G 0 7.8G 0% /dev
  792. tmpfs tmpfs 1.6G 9.5M 1.6G 1% /run
  793. /dev/sdb1 vfat 3.8G 1.3G 2.5G 34% /cdrom
  794. /dev/loop0 squashfs 942M 942M 0 100% /rofs
  795. /cow overlay 7.9G 616M 7.3G 8% /
  796. tmpfs tmpfs 7.9G 260K 7.9G 1% /dev/shm
  797. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  798. tmpfs tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
  799. tmpfs tmpfs 7.9G 24K 7.9G 1% /tmp
  800. tmpfs tmpfs 1.6G 48K 1.6G 1% /run/user/999
  801. /dev/sda1 fuseblk 1.8T 595G 1.2T 35% /mnt/boot-sav/sda1
  802. /dev/sda5 ext4 32G 4.2G 27G 14% /mnt/boot-sav/sda5
  803. /dev/sda7 ext4 54G 52M 51G 1% /mnt/boot-sav/sda7
  804. /dev/sda8 vfat 299M 6.8M 292M 3% /mnt/boot-sav/sda8
  805. /dev/sdc1 fuseblk 466G 411G 56G 89% /mnt/boot-sav/sdc1
  806. =================== fdisk -l:
  807. Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
  808. Units: sectors of 1 * 512 = 512 bytes
  809. Sector size (logical/physical): 512 bytes / 4096 bytes
  810. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  811. Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
  812. Units: sectors of 1 * 512 = 512 bytes
  813. Sector size (logical/physical): 512 bytes / 4096 bytes
  814. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  815. Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
  816. Units: sectors of 1 * 512 = 512 bytes
  817. Sector size (logical/physical): 512 bytes / 4096 bytes
  818. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  819. Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
  820. Units: sectors of 1 * 512 = 512 bytes
  821. Sector size (logical/physical): 512 bytes / 4096 bytes
  822. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  823. Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
  824. Units: sectors of 1 * 512 = 512 bytes
  825. Sector size (logical/physical): 512 bytes / 4096 bytes
  826. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  827. Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
  828. Units: sectors of 1 * 512 = 512 bytes
  829. Sector size (logical/physical): 512 bytes / 4096 bytes
  830. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  831. Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
  832. Units: sectors of 1 * 512 = 512 bytes
  833. Sector size (logical/physical): 512 bytes / 4096 bytes
  834. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  835. Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
  836. Units: sectors of 1 * 512 = 512 bytes
  837. Sector size (logical/physical): 512 bytes / 4096 bytes
  838. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  839. Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
  840. Units: sectors of 1 * 512 = 512 bytes
  841. Sector size (logical/physical): 512 bytes / 4096 bytes
  842. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  843. Disk /dev/ram9: 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. Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
  848. Units: sectors of 1 * 512 = 512 bytes
  849. Sector size (logical/physical): 512 bytes / 4096 bytes
  850. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  851. Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
  852. Units: sectors of 1 * 512 = 512 bytes
  853. Sector size (logical/physical): 512 bytes / 4096 bytes
  854. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  855. Disk /dev/ram12: 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. Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
  860. Units: sectors of 1 * 512 = 512 bytes
  861. Sector size (logical/physical): 512 bytes / 4096 bytes
  862. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  863. Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
  864. Units: sectors of 1 * 512 = 512 bytes
  865. Sector size (logical/physical): 512 bytes / 4096 bytes
  866. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  867. Disk /dev/ram15: 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. Disk /dev/loop0: 941.6 MiB, 987291648 bytes, 1928304 sectors
  872. Units: sectors of 1 * 512 = 512 bytes
  873. Sector size (logical/physical): 512 bytes / 512 bytes
  874. I/O size (minimum/optimal): 512 bytes / 512 bytes
  875. Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
  876. Units: sectors of 1 * 512 = 512 bytes
  877. Sector size (logical/physical): 512 bytes / 4096 bytes
  878. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  879. Disklabel type: dos
  880. Disk identifier: 0xa67a84ed
  881. Device Boot Start End Sectors Size Id Type
  882. /dev/sda1 2048 3661266943 3661264896 1.7T 7 HPFS/NTFS/exFAT
  883. /dev/sda2 3661268990 3907028991 245760002 117.2G 5 Extended
  884. /dev/sda5 3661268992 3729626413 68357422 32.6G 83 Linux
  885. /dev/sda6 3729629184 3792127999 62498816 29.8G 82 Linux swap / Solaris
  886. /dev/sda7 3792130048 3906414591 114284544 54.5G 83 Linux
  887. /dev/sda8 * 3906416640 3907028991 612352 299M ef EFI (FAT-12/16/32)
  888. Disk /dev/sdb: 3.7 GiB, 4004024320 bytes, 7820360 sectors
  889. Units: sectors of 1 * 512 = 512 bytes
  890. Sector size (logical/physical): 512 bytes / 512 bytes
  891. I/O size (minimum/optimal): 512 bytes / 512 bytes
  892. Disklabel type: dos
  893. Disk identifier: 0x00e5ce14
  894. Device Boot Start End Sectors Size Id Type
  895. /dev/sdb1 * 2048 7820359 7818312 3.7G c W95 FAT32 (LBA)
  896. Disk /dev/sdc: 465.7 GiB, 500074283008 bytes, 976707584 sectors
  897. Units: sectors of 1 * 512 = 512 bytes
  898. Sector size (logical/physical): 512 bytes / 512 bytes
  899. I/O size (minimum/optimal): 512 bytes / 512 bytes
  900. Disklabel type: dos
  901. Disk identifier: 0x00038a56
  902. Device Boot Start End Sectors Size Id Type
  903. /dev/sdc1 2048 976707583 976705536 465.7G 7 HPFS/NTFS/exFAT
  904. =================== Recommended repair
  905. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda5, using the following options: sda8/boot/efi,
  906. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  907. /boot/efi added in sda5/fstab
  908. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi.grb
  909. rm /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi.grb
  910. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi.grb
  911. rm /mnt/boot-sav/sda8/efi/Microsoft/Boot/bootmgfw.efi /mnt/boot-sav/sda8/efi/Microsoft/Boot/bootmgfw.efi.grb
  912. rm /mnt/boot-sav/sda8/efi/Microsoft/Boot/bootx64.efi /mnt/boot-sav/sda8/efi/Microsoft/Boot/bootx64.efi.grb
  913. rm /mnt/boot-sav/sda8/efi/Boot/bootx64.efi /mnt/boot-sav/sda8/efi/Boot/bootx64.efi.grb
  914. Mount sda8 on /mnt/boot-sav/sda5/boot/efi
  915. ls sda8/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fbx64.efi /Microsoft/Boot
  916. ls sda8: EFI
  917. startup.nsh . Please report this message to [email protected]
  918. Unhide GRUB boot menu in sda5/etc/default/grub
  919. *******lspci -nnk | grep -iA3 vga
  920. 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c02] (rev a1)
  921. Subsystem: eVga.com. Corp. Device [3842:6160]
  922. Kernel modules: nvidiafb, nouveau
  923. 01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f1] (rev a1)
  924. Subsystem: eVga.com. Corp. Device [3842:6160]
  925. Kernel driver in use: snd_hda_intel
  926. Kernel modules: snd_hda_intel
  927. 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 09)
  928. *******
  929. grub-install --version
  930. grub-install (GRUB) 2.02~beta2-36+elementary11+r6~ubuntu0.4.1,grub-install (GRUB) 2.
  931. chroot /mnt/boot-sav/sda5 efibootmgr -v
  932. BootCurrent: 000A
  933. Timeout: 0 seconds
  934. BootOrder: 0002,0004,0009,000A,0001
  935. Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .D....................A...........................>..Gd-.;.A..MQ..L.5.3.4.2.5.5. .2.C.2.2.8.9.3.0.5.6.3.6.3......AMBO
  936. Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.W.D. .M.y. .P.a.s.s.p.o.r.t. .0.7.3.0....................A.............................<..Gd-.;.A..MQ..L.W.D. .M.y. .P.a.s.s.p.o.r.t. .0.7.3.0......AMBOAMNO........k.W.D. .S.E.S. .D.e.v.i.c.e....................A.....................................0..Gd-.;.A..MQ..L.W.D. .S.E.S. .D.e.v.i.c.e......AMBOAMNO........o.S.T.2.0.0.0.D.M.0.0.6.-.2.D.M.1.6.4....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .4.Z.6.Z.S.T.F.L......AMBOAMNO........e.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2....................A.......................8..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2......AMBO
  937. Boot0004* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
  938. Boot0009* ubuntu VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
  939. Boot000A* UEFI: KingstonDT 101 G2 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x20,0x800,0x774c48)AMBO
  940. chroot /mnt/boot-sav/sda5 uname -r
  941. Kernel: 4.4.0-38-generic
  942. Reinstall the grub-efi-amd64-signed of sda5
  943. Installing for x86_64-efi platform.
  944. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  945. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  946. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  947. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  948. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  949. GUID Partition Table Header signature is wrong: 0 != 5452415020494645
  950. Installation finished. No error reported.
  951. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  952. ls sda1/efi: /ubuntu/shimx64.efi /Microsoft/Boot
  953. ls sda1: CEMU
  954. efi
  955. libraries for old computer
  956. pagefile.sys
  957. $RECYCLE.BIN
  958. SteamLibrary
  959. System Volume Information . Please report this message to [email protected]
  960. ls sda8/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fbx64.efi /Microsoft/Boot
  961. ls sda8: EFI
  962. startup.nsh . Please report this message to [email protected]
  963. df /dev/sda1
  964. cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootmgfw.efi (& .grb)
  965. df /dev/sda1
  966. cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/efi/Microsoft/Boot/bootx64.efi (& .grb)
  967. df /dev/sda1
  968. cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi (& .grb)
  969. ls sda1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  970. ls sda1: CEMU
  971. efi
  972. libraries for old computer
  973. pagefile.sys
  974. $RECYCLE.BIN
  975. SteamLibrary
  976. System Volume Information . Please report this message to [email protected]
  977. Add /mnt/boot-sav/sda1 efi entries in /mnt/boot-sav/sda5/etc/grub.d/25_custom
  978. df /dev/sda8
  979. cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  980. df /dev/sda8
  981. cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  982. df /dev/sda8
  983. cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  984. ls sda8/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fbx64.efi /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  985. ls sda8: EFI
  986. startup.nsh . Please report this message to [email protected]
  987. Add /mnt/boot-sav/sda5/boot/efi efi entries in /mnt/boot-sav/sda5/etc/grub.d/25_custom
  988. Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/fbx64.efi
  989. Adding custom /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/mmx64.efi
  990. chroot /mnt/boot-sav/sda5 efibootmgr -v
  991. BootCurrent: 000A
  992. Timeout: 0 seconds
  993. BootOrder: 0000,0002,0004,000A,0001
  994. Boot0000* ubuntu HD(8,MBR,0x4294967277,0x0,0x0)/File(EFIubuntushimx64.efi)
  995. Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........o.A.T.A.P.I. . . .i.H.A.S.1.2.4. . . .D....................A...........................>..Gd-.;.A..MQ..L.5.3.4.2.5.5. .2.C.2.2.8.9.3.0.5.6.3.6.3......AMBO
  996. Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........o.W.D. .M.y. .P.a.s.s.p.o.r.t. .0.7.3.0....................A.............................<..Gd-.;.A..MQ..L.W.D. .M.y. .P.a.s.s.p.o.r.t. .0.7.3.0......AMBOAMNO........k.W.D. .S.E.S. .D.e.v.i.c.e....................A.....................................0..Gd-.;.A..MQ..L.W.D. .S.E.S. .D.e.v.i.c.e......AMBOAMNO........o.S.T.2.0.0.0.D.M.0.0.6.-.2.D.M.1.6.4....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .4.Z.6.Z.S.T.F.L......AMBOAMNO........e.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2....................A.......................8..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.T. .1.0.1. .G.2......AMBO
  997. Boot0004* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
  998. Boot000A* UEFI: KingstonDT 101 G2 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x20,0x800,0x774c48)AMBO
  999. chroot /mnt/boot-sav/sda5 update-grub
  1000. Generating grub configuration file ...
  1001. Found linux image: /boot/vmlinuz-4.4.0-72-generic
  1002. Found initrd image: /boot/initrd.img-4.4.0-72-generic
  1003. Found linux image: /boot/vmlinuz-4.4.0-38-generic
  1004. Found initrd image: /boot/initrd.img-4.4.0-38-generic
  1005. Adding boot menu entry for EFI firmware configuration
  1006. Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
  1007. Boot successfully repaired.
  1008. You can now reboot your computer.
  1009. Please do not forget to make your BIOS boot on sda (2000GB) disk!