Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.04 KB | None | 0 0
  1. Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
  2.  
  3.  
  4. ============================= Boot Info Summary: ===============================
  5.  
  6. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector
  7. 32000000 of the same hard drive for core.img. core.img is at this location
  8. and looks for (,gpt3)/boot/grub. It also embeds following components:
  9.  
  10. modules
  11. ---------------------------------------------------------------------------
  12. fshelp ext2 part_gpt biosdisk
  13. ---------------------------------------------------------------------------
  14. => Windows 7/8/2012 is installed in the MBR of /dev/sdb.
  15. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
  16.  
  17. sda1: __________________________________________________________________________
  18.  
  19. File system: swap
  20. Boot sector type: -
  21. Boot sector info:
  22.  
  23. sda2: __________________________________________________________________________
  24.  
  25. File system: BIOS Boot partition
  26. Boot sector type: Grub2's core.img
  27. Boot sector info:
  28.  
  29. sda3: __________________________________________________________________________
  30.  
  31. File system: ext4
  32. Boot sector type: -
  33. Boot sector info:
  34. Operating System: Ubuntu 16.04.3 LTS
  35. Boot files: /boot/grub/grub.cfg /etc/fstab
  36.  
  37. sdb1: __________________________________________________________________________
  38.  
  39. File system: vfat
  40. Boot sector type: Windows 7/2008: FAT32
  41. Boot sector info: No errors found in the Boot Parameter Block.
  42. Operating System:
  43. Boot files: /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi
  44. /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
  45. /EFI/ubuntu/shimx64.efi
  46. /EFI/Microsoft/Boot/bootmgfw.efi
  47. /EFI/Microsoft/Boot/bootmgr.efi
  48. /EFI/Microsoft/Boot/memtest.efi
  49.  
  50. sdb2: __________________________________________________________________________
  51.  
  52. File system: ntfs
  53. Boot sector type: Windows 7/2008: NTFS
  54. Boot sector info: No errors found in the Boot Parameter Block.
  55. Operating System:
  56. Boot files: /Windows/System32/winload.exe
  57.  
  58. sdc1: __________________________________________________________________________
  59.  
  60. File system: vfat
  61. Boot sector type: SYSLINUX 6.03
  62. Boot sector info: Syslinux looks at sector 32776 of /dev/sdc1 for its
  63. second stage. The integrity check of Syslinux failed.
  64. No errors found in the Boot Parameter Block.
  65. Operating System:
  66. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  67. /EFI/BOOT/grubx64.efi /ldlinux.sys
  68.  
  69. ============================ Drive/Partition Info: =============================
  70.  
  71. Drive: sda _____________________________________________________________________
  72. Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  73. Units: sectors of 1 * 512 = 512 bytes
  74. Sector size (logical/physical): 512 bytes / 512 bytes
  75. I/O size (minimum/optimal): 512 bytes / 512 bytes
  76. Disklabel type: gpt
  77.  
  78. Partition Boot Start Sector End Sector # of Sectors Id System
  79.  
  80. /dev/sda1 1 234,441,647 234,441,647 ee GPT
  81.  
  82.  
  83. GUID Partition Table detected.
  84.  
  85. Partition Attrs Start Sector End Sector # of Sectors System
  86. /dev/sda1 2,048 31,999,999 31,997,952 Swap partition (Linux)
  87. /dev/sda2 32,000,000 32,585,727 585,728 BIOS Boot partition
  88. /dev/sda3 32,585,728 233,756,671 201,170,944 Data partition (Linux)
  89.  
  90. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  91.  
  92. Drive: sdb _____________________________________________________________________
  93. Disk /dev/sdb: 447.1 GiB, 480103981056 bytes, 937703088 sectors
  94. Units: sectors of 1 * 512 = 512 bytes
  95. Sector size (logical/physical): 512 bytes / 512 bytes
  96. I/O size (minimum/optimal): 512 bytes / 512 bytes
  97. Disklabel type: gpt
  98.  
  99. Partition Boot Start Sector End Sector # of Sectors Id System
  100.  
  101. /dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT
  102.  
  103. /dev/sdb1 ends after the last sector of /dev/sdb
  104.  
  105. GUID Partition Table detected.
  106.  
  107. Partition Attrs Start Sector End Sector # of Sectors System
  108. /dev/sdb1 + 2,048 206,847 204,800 EFI System partition
  109. /dev/sdb2 264,192 937,701,375 937,437,184 Data partition (Windows/Linux)
  110.  
  111. Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
  112.  
  113. Drive: sdc _____________________________________________________________________
  114. Disk /dev/sdc: 7.5 GiB, 8074035200 bytes, 15769600 sectors
  115. Units: sectors of 1 * 512 = 512 bytes
  116. Sector size (logical/physical): 512 bytes / 512 bytes
  117. I/O size (minimum/optimal): 512 bytes / 512 bytes
  118. Disklabel type: dos
  119.  
  120. Partition Boot Start Sector End Sector # of Sectors Id System
  121.  
  122. /dev/sdc1 * 2,048 15,769,599 15,767,552 c W95 FAT32 (LBA)
  123.  
  124.  
  125. "blkid" output: ________________________________________________________________
  126.  
  127. Device UUID TYPE LABEL
  128.  
  129. /dev/loop0 squashfs
  130. /dev/sda1 cc1ada99-5b46-47ed-b622-25cad4c1effd swap
  131. /dev/sda2
  132. /dev/sda3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f ext4
  133. /dev/sdb1 D6F0-14E9 vfat
  134. /dev/sdb2 66D6DE91D6DE60BB ntfs
  135. /dev/sdc1 F2F8-37D1 vfat UBUNTU 16_0
  136.  
  137. ========================= "ls -l /dev/disk/by-id" output: ======================
  138.  
  139. total 0
  140. lrwxrwxrwx 1 root root 9 Aug 17 07:46 ata-KINGSTON_SV300S37A120G_50026B7858005FC6 -> ../../sda
  141. lrwxrwxrwx 1 root root 10 Aug 17 07:46 ata-KINGSTON_SV300S37A120G_50026B7858005FC6-part1 -> ../../sda1
  142. lrwxrwxrwx 1 root root 10 Aug 17 07:49 ata-KINGSTON_SV300S37A120G_50026B7858005FC6-part2 -> ../../sda2
  143. lrwxrwxrwx 1 root root 10 Aug 17 07:46 ata-KINGSTON_SV300S37A120G_50026B7858005FC6-part3 -> ../../sda3
  144. lrwxrwxrwx 1 root root 9 Aug 17 07:46 ata-SanDisk_SDSSDHII480G_153647400825 -> ../../sdb
  145. lrwxrwxrwx 1 root root 10 Aug 17 07:46 ata-SanDisk_SDSSDHII480G_153647400825-part1 -> ../../sdb1
  146. lrwxrwxrwx 1 root root 10 Aug 17 07:49 ata-SanDisk_SDSSDHII480G_153647400825-part2 -> ../../sdb2
  147. lrwxrwxrwx 1 root root 9 Aug 17 07:46 usb-General_UDisk-0:0 -> ../../sdc
  148. lrwxrwxrwx 1 root root 10 Aug 17 07:46 usb-General_UDisk-0:0-part1 -> ../../sdc1
  149. lrwxrwxrwx 1 root root 9 Aug 17 07:46 wwn-0x5001b44ed1ae4379 -> ../../sdb
  150. lrwxrwxrwx 1 root root 10 Aug 17 07:46 wwn-0x5001b44ed1ae4379-part1 -> ../../sdb1
  151. lrwxrwxrwx 1 root root 10 Aug 17 07:49 wwn-0x5001b44ed1ae4379-part2 -> ../../sdb2
  152. lrwxrwxrwx 1 root root 9 Aug 17 07:46 wwn-0x50026b7858005fc6 -> ../../sda
  153. lrwxrwxrwx 1 root root 10 Aug 17 07:46 wwn-0x50026b7858005fc6-part1 -> ../../sda1
  154. lrwxrwxrwx 1 root root 10 Aug 17 07:49 wwn-0x50026b7858005fc6-part2 -> ../../sda2
  155. lrwxrwxrwx 1 root root 10 Aug 17 07:46 wwn-0x50026b7858005fc6-part3 -> ../../sda3
  156.  
  157. ================================ Mount points: =================================
  158.  
  159. Device Mount_Point Type Options
  160.  
  161. /dev/loop0 /rofs squashfs (ro,noatime)
  162. /dev/sdc1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  163.  
  164.  
  165. =========================== sda3/boot/grub/grub.cfg: ===========================
  166.  
  167. --------------------------------------------------------------------------------
  168. #
  169. # DO NOT EDIT THIS FILE
  170. #
  171. # It is automatically generated by grub-mkconfig using templates
  172. # from /etc/grub.d and settings from /etc/default/grub
  173. #
  174.  
  175. ### BEGIN /etc/grub.d/00_header ###
  176. if [ -s $prefix/grubenv ]; then
  177. set have_grubenv=true
  178. load_env
  179. fi
  180. if [ "${next_entry}" ] ; then
  181. set default="${next_entry}"
  182. set next_entry=
  183. save_env next_entry
  184. set boot_once=true
  185. else
  186. set default="0"
  187. fi
  188.  
  189. if [ x"${feature_menuentry_id}" = xy ]; then
  190. menuentry_id_option="--id"
  191. else
  192. menuentry_id_option=""
  193. fi
  194.  
  195. export menuentry_id_option
  196.  
  197. if [ "${prev_saved_entry}" ]; then
  198. set saved_entry="${prev_saved_entry}"
  199. save_env saved_entry
  200. set prev_saved_entry=
  201. save_env prev_saved_entry
  202. set boot_once=true
  203. fi
  204.  
  205. function savedefault {
  206. if [ -z "${boot_once}" ]; then
  207. saved_entry="${chosen}"
  208. save_env saved_entry
  209. fi
  210. }
  211. function recordfail {
  212. set recordfail=1
  213. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  214. }
  215. function load_video {
  216. if [ x$feature_all_video_module = xy ]; then
  217. insmod all_video
  218. else
  219. insmod efi_gop
  220. insmod efi_uga
  221. insmod ieee1275_fb
  222. insmod vbe
  223. insmod vga
  224. insmod video_bochs
  225. insmod video_cirrus
  226. fi
  227. }
  228.  
  229. if [ x$feature_default_font_path = xy ] ; then
  230. font=unicode
  231. else
  232. insmod part_gpt
  233. insmod ext2
  234. set root='hd0,gpt3'
  235. if [ x$feature_platform_search_hint = xy ]; then
  236. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  237. else
  238. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  239. fi
  240. font="/usr/share/grub/unicode.pf2"
  241. fi
  242.  
  243. if loadfont $font ; then
  244. set gfxmode=auto
  245. load_video
  246. insmod gfxterm
  247. set locale_dir=$prefix/locale
  248. set lang=en_US
  249. insmod gettext
  250. fi
  251. terminal_output gfxterm
  252. if [ "${recordfail}" = 1 ] ; then
  253. set timeout=10
  254. else
  255. if [ x$feature_timeout_style = xy ] ; then
  256. set timeout_style=menu
  257. set timeout=10
  258. # Fallback normal timeout code in case the timeout_style feature is
  259. # unavailable.
  260. else
  261. set timeout=10
  262. fi
  263. fi
  264. ### END /etc/grub.d/00_header ###
  265.  
  266. ### BEGIN /etc/grub.d/05_debian_theme ###
  267. set menu_color_normal=white/black
  268. set menu_color_highlight=black/light-gray
  269. if background_color 44,0,30,0; then
  270. clear
  271. fi
  272. ### END /etc/grub.d/05_debian_theme ###
  273.  
  274. ### BEGIN /etc/grub.d/10_linux ###
  275. function gfxmode {
  276. set gfxpayload="${1}"
  277. if [ "${1}" = "keep" ]; then
  278. set vt_handoff=vt.handoff=7
  279. else
  280. set vt_handoff=
  281. fi
  282. }
  283. if [ "${recordfail}" != 1 ]; then
  284. if [ -e ${prefix}/gfxblacklist.txt ]; then
  285. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  286. if [ ${match} = 0 ]; then
  287. set linux_gfx_mode=keep
  288. else
  289. set linux_gfx_mode=text
  290. fi
  291. else
  292. set linux_gfx_mode=text
  293. fi
  294. else
  295. set linux_gfx_mode=keep
  296. fi
  297. else
  298. set linux_gfx_mode=text
  299. fi
  300. export linux_gfx_mode
  301. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  302. recordfail
  303. load_video
  304. gfxmode $linux_gfx_mode
  305. insmod gzio
  306. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  307. insmod part_gpt
  308. insmod ext2
  309. set root='hd0,gpt3'
  310. if [ x$feature_platform_search_hint = xy ]; then
  311. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  312. else
  313. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  314. fi
  315. linux /boot/vmlinuz-4.10.0-28-generic root=UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f ro quiet splash $vt_handoff
  316. initrd /boot/initrd.img-4.10.0-28-generic
  317. }
  318. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  319. menuentry 'Ubuntu, with Linux 4.10.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-advanced-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  320. recordfail
  321. load_video
  322. gfxmode $linux_gfx_mode
  323. insmod gzio
  324. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  325. insmod part_gpt
  326. insmod ext2
  327. set root='hd0,gpt3'
  328. if [ x$feature_platform_search_hint = xy ]; then
  329. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  330. else
  331. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  332. fi
  333. echo 'Loading Linux 4.10.0-28-generic ...'
  334. linux /boot/vmlinuz-4.10.0-28-generic root=UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f ro quiet splash $vt_handoff
  335. echo 'Loading initial ramdisk ...'
  336. initrd /boot/initrd.img-4.10.0-28-generic
  337. }
  338. menuentry 'Ubuntu, with Linux 4.10.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-init-upstart-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  339. recordfail
  340. load_video
  341. gfxmode $linux_gfx_mode
  342. insmod gzio
  343. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  344. insmod part_gpt
  345. insmod ext2
  346. set root='hd0,gpt3'
  347. if [ x$feature_platform_search_hint = xy ]; then
  348. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  349. else
  350. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  351. fi
  352. echo 'Loading Linux 4.10.0-28-generic ...'
  353. linux /boot/vmlinuz-4.10.0-28-generic root=UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f ro quiet splash $vt_handoff init=/sbin/upstart
  354. echo 'Loading initial ramdisk ...'
  355. initrd /boot/initrd.img-4.10.0-28-generic
  356. }
  357. menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  358. recordfail
  359. load_video
  360. insmod gzio
  361. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  362. insmod part_gpt
  363. insmod ext2
  364. set root='hd0,gpt3'
  365. if [ x$feature_platform_search_hint = xy ]; then
  366. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  367. else
  368. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  369. fi
  370. echo 'Loading Linux 4.10.0-28-generic ...'
  371. linux /boot/vmlinuz-4.10.0-28-generic root=UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f ro recovery nomodeset
  372. echo 'Loading initial ramdisk ...'
  373. initrd /boot/initrd.img-4.10.0-28-generic
  374. }
  375. menuentry 'Ubuntu, with Linux 4.4.0-92-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-92-generic-advanced-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  376. recordfail
  377. load_video
  378. gfxmode $linux_gfx_mode
  379. insmod gzio
  380. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  381. insmod part_gpt
  382. insmod ext2
  383. set root='hd0,gpt3'
  384. if [ x$feature_platform_search_hint = xy ]; then
  385. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  386. else
  387. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  388. fi
  389. echo 'Loading Linux 4.4.0-92-generic ...'
  390. linux /boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f ro quiet splash $vt_handoff
  391. echo 'Loading initial ramdisk ...'
  392. initrd /boot/initrd.img-4.4.0-92-generic
  393. }
  394. menuentry 'Ubuntu, with Linux 4.4.0-92-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-92-generic-init-upstart-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  395. recordfail
  396. load_video
  397. gfxmode $linux_gfx_mode
  398. insmod gzio
  399. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  400. insmod part_gpt
  401. insmod ext2
  402. set root='hd0,gpt3'
  403. if [ x$feature_platform_search_hint = xy ]; then
  404. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  405. else
  406. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  407. fi
  408. echo 'Loading Linux 4.4.0-92-generic ...'
  409. linux /boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f ro quiet splash $vt_handoff init=/sbin/upstart
  410. echo 'Loading initial ramdisk ...'
  411. initrd /boot/initrd.img-4.4.0-92-generic
  412. }
  413. menuentry 'Ubuntu, with Linux 4.4.0-92-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-92-generic-recovery-63abbb1f-3a32-4743-8d68-e7c300e3ce1f' {
  414. recordfail
  415. load_video
  416. insmod gzio
  417. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  418. insmod part_gpt
  419. insmod ext2
  420. set root='hd0,gpt3'
  421. if [ x$feature_platform_search_hint = xy ]; then
  422. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  423. else
  424. search --no-floppy --fs-uuid --set=root 63abbb1f-3a32-4743-8d68-e7c300e3ce1f
  425. fi
  426. echo 'Loading Linux 4.4.0-92-generic ...'
  427. linux /boot/vmlinuz-4.4.0-92-generic.efi.signed root=UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f ro recovery nomodeset
  428. echo 'Loading initial ramdisk ...'
  429. initrd /boot/initrd.img-4.4.0-92-generic
  430. }
  431. }
  432.  
  433. ### END /etc/grub.d/10_linux ###
  434.  
  435. ### BEGIN /etc/grub.d/20_linux_xen ###
  436.  
  437. ### END /etc/grub.d/20_linux_xen ###
  438.  
  439. ### BEGIN /etc/grub.d/25_custom ###
  440.  
  441. menuentry "Windows UEFI bootmgfw.efi" {
  442. search --fs-uuid --no-floppy --set=root D6F0-14E9
  443. chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
  444. }
  445.  
  446. menuentry "Windows Boot UEFI loader" {
  447. search --fs-uuid --no-floppy --set=root D6F0-14E9
  448. chainloader (${root})/EFI/Boot/bkpbootx64.efi
  449. }
  450.  
  451. menuentry "EFI/ubuntu/mmx64.efi" {
  452. search --fs-uuid --no-floppy --set=root D6F0-14E9
  453. chainloader (${root})/EFI/ubuntu/mmx64.efi
  454. }
  455. ### END /etc/grub.d/25_custom ###
  456.  
  457. ### BEGIN /etc/grub.d/30_os-prober ###
  458. menuentry 'Windows Boot Manager (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-efi-D6F0-14E9' {
  459. insmod part_gpt
  460. insmod fat
  461. set root='hd1,gpt1'
  462. if [ x$feature_platform_search_hint = xy ]; then
  463. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 D6F0-14E9
  464. else
  465. search --no-floppy --fs-uuid --set=root D6F0-14E9
  466. fi
  467. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  468. }
  469. set timeout_style=menu
  470. if [ "${timeout}" = 0 ]; then
  471. set timeout=10
  472. fi
  473. ### END /etc/grub.d/30_os-prober ###
  474.  
  475. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  476. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  477. fwsetup
  478. }
  479. ### END /etc/grub.d/30_uefi-firmware ###
  480.  
  481. ### BEGIN /etc/grub.d/40_custom ###
  482. # This file provides an easy way to add custom menu entries. Simply type the
  483. # menu entries you want to add after this comment. Be careful not to change
  484. # the 'exec tail' line above.
  485. ### END /etc/grub.d/40_custom ###
  486.  
  487. ### BEGIN /etc/grub.d/41_custom ###
  488. if [ -f ${config_directory}/custom.cfg ]; then
  489. source ${config_directory}/custom.cfg
  490. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  491. source $prefix/custom.cfg;
  492. fi
  493. ### END /etc/grub.d/41_custom ###
  494. --------------------------------------------------------------------------------
  495.  
  496. =============================== sda3/etc/fstab: ================================
  497.  
  498. --------------------------------------------------------------------------------
  499. # /etc/fstab: static file system information.
  500. #
  501. # Use 'blkid' to print the universally unique identifier for a
  502. # device; this may be used with UUID= as a more robust way to name devices
  503. # that works even if disks are added and removed. See fstab(5).
  504. #
  505. # <file system> <mount point> <type> <options> <dump> <pass>
  506. # / was on /dev/sda3 during installation
  507. UUID=63abbb1f-3a32-4743-8d68-e7c300e3ce1f / ext4 errors=remount-ro 0 1
  508. # swap was on /dev/sda1 during installation
  509. UUID=cc1ada99-5b46-47ed-b622-25cad4c1effd none swap sw 0 0
  510. UUID=D6F0-14E9 /boot/efi vfat defaults 0 1
  511. --------------------------------------------------------------------------------
  512.  
  513. =================== sda3: Location of files loaded by Grub: ====================
  514.  
  515. GiB - GB File Fragment(s)
  516.  
  517. 49.670860291 = 53.333680128 boot/grub/grub.cfg 1
  518. 16.755912781 = 17.991524352 boot/vmlinuz-4.10.0-28-generic 1
  519. 17.207626343 = 18.476548096 boot/vmlinuz-4.4.0-92-generic 1
  520. 17.372821808 = 18.653925376 boot/vmlinuz-4.4.0-92-generic.efi.signed 1
  521. 17.207626343 = 18.476548096 vmlinuz 1
  522. 16.755912781 = 17.991524352 vmlinuz.old 1
  523. 16.920787811 = 18.168557568 boot/initrd.img-4.10.0-28-generic 5
  524. 17.362575531 = 18.642923520 boot/initrd.img-4.4.0-92-generic 2
  525. 17.362575531 = 18.642923520 initrd.img 2
  526. 16.920787811 = 18.168557568 initrd.img.old 5
  527.  
  528. =========================== sdc1/boot/grub/grub.cfg: ===========================
  529.  
  530. --------------------------------------------------------------------------------
  531.  
  532. if loadfont /boot/grub/font.pf2 ; then
  533. set gfxmode=auto
  534. insmod efi_gop
  535. insmod efi_uga
  536. insmod gfxterm
  537. terminal_output gfxterm
  538. fi
  539.  
  540. set menu_color_normal=white/black
  541. set menu_color_highlight=black/light-gray
  542.  
  543. menuentry "Try Ubuntu without installing" {
  544. set gfxpayload=keep
  545. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  546. initrd /casper/initrd.lz
  547. }
  548. menuentry "Install Ubuntu" {
  549. set gfxpayload=keep
  550. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  551. initrd /casper/initrd.lz
  552. }
  553. menuentry "OEM install (for manufacturers)" {
  554. set gfxpayload=keep
  555. linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
  556. initrd /casper/initrd.lz
  557. }
  558. menuentry "Check disc for defects" {
  559. set gfxpayload=keep
  560. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash ---
  561. initrd /casper/initrd.lz
  562. }
  563. --------------------------------------------------------------------------------
  564.  
  565. ============================== sdc1/syslinux.cfg: ==============================
  566.  
  567. --------------------------------------------------------------------------------
  568. DEFAULT loadconfig
  569.  
  570. LABEL loadconfig
  571. CONFIG /isolinux/isolinux.cfg
  572. APPEND /isolinux/
  573. --------------------------------------------------------------------------------
  574.  
  575. =================== sdc1: Location of files loaded by Grub: ====================
  576.  
  577. GiB - GB File Fragment(s)
  578.  
  579. ?? = ?? boot/grub/grub.cfg 1
  580.  
  581. ================= sdc1: Location of files loaded by Syslinux: ==================
  582.  
  583. GiB - GB File Fragment(s)
  584.  
  585. ?? = ?? syslinux.cfg 1
  586. ?? = ?? ldlinux.sys 1
  587.  
  588. ======================== Unknown MBRs/Boot Sectors/etc: ========================
  589.  
  590.  
  591. /dev/sdb1: unknown GPT attributes
  592. 8000000000000000
  593.  
  594. =============================== StdErr Messages: ===============================
  595.  
  596. File descriptor 9 (/proc/5941/mounts) leaked on lvs invocation. Parent PID 31832: bash
  597. File descriptor 63 (pipe:[37876]) leaked on lvs invocation. Parent PID 31832: bash
  598.  
  599. ADDITIONAL INFORMATION :
  600. =================== log of boot-repair 2017-08-17__07h46 ===================
  601. boot-repair version : 4ppa40
  602. boot-sav version : 4ppa40
  603. glade2script version : 3.2.3~ppa1
  604. boot-sav-extra version : 4ppa40
  605. boot-repair is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
  606. CPU op-mode(s): 32-bit, 64-bit
  607. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
  608. ls: cannot access '/home/usr/.config': No such file or directory
  609. NTFS signature is missing.
  610. Failed to mount '/dev/sda2': Invalid argument
  611. The device '/dev/sda2' doesn't seem to have a valid NTFS.
  612. Maybe the wrong device is used? Or the whole disk instead of a
  613. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  614. mount /dev/sda2 : Error code 12
  615. mount -r /dev/sda2 /mnt/boot-sav/sda2
  616. NTFS signature is missing.
  617. Failed to mount '/dev/sda2': Invalid argument
  618. The device '/dev/sda2' doesn't seem to have a valid NTFS.
  619. Maybe the wrong device is used? Or the whole disk instead of a
  620. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  621. mount -r /dev/sda2 : Error code 12
  622.  
  623. =================== os-prober:
  624. /dev/sda3:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
  625. /dev/sdb1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
  626.  
  627. =================== blkid:
  628. /dev/sda3: UUID="63abbb1f-3a32-4743-8d68-e7c300e3ce1f" TYPE="ext4" PARTUUID="867b1475-6c44-46ba-9c6c-36221fddbfc9"
  629. /dev/sdb1: UUID="D6F0-14E9" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="eb9f5246-d683-446e-b91f-7926aa37bc4f"
  630. /dev/sdb2: UUID="66D6DE91D6DE60BB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="1e0e19d0-7147-4915-a36d-56b3d4058f62"
  631. /dev/sdc1: LABEL="UBUNTU 16_0" UUID="F2F8-37D1" TYPE="vfat" PARTUUID="0021f5c3-01"
  632. /dev/loop0: TYPE="squashfs"
  633. /dev/sda1: UUID="cc1ada99-5b46-47ed-b622-25cad4c1effd" TYPE="swap" PARTUUID="d5b70ff5-9687-45c2-aae5-ed7254a0845c"
  634. /dev/sda2: PARTUUID="7f690051-1ff8-4447-a6e1-62c33f202520"
  635.  
  636.  
  637. 2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
  638.  
  639. NTFS signature is missing.
  640. Failed to mount '/dev/sda2': Invalid argument
  641. The device '/dev/sda2' doesn't seem to have a valid NTFS.
  642. Maybe the wrong device is used? Or the whole disk instead of a
  643. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  644. mount /dev/sda2 : Error code 12
  645. mount -r /dev/sda2 /mnt/boot-sav/sda2
  646. NTFS signature is missing.
  647. Failed to mount '/dev/sda2': Invalid argument
  648. The device '/dev/sda2' doesn't seem to have a valid NTFS.
  649. Maybe the wrong device is used? Or the whole disk instead of a
  650. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  651. mount -r /dev/sda2 : Error code 12
  652. Windows not detected by os-prober on sdb2.
  653.  
  654. =================== sda3/etc/grub.d/ :
  655. drwxr-xr-x 2 root root 4096 Aug 1 11:28 grub.d
  656. total 80
  657. -rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header
  658. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  659. -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
  660. -rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen
  661. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  662. -rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober
  663. -rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware
  664. -rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom
  665. -rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom
  666. -rw-r--r-- 1 root root 483 Jun 21 04:11 README
  667.  
  668.  
  669.  
  670.  
  671. =================== sda3/etc/default/grub :
  672.  
  673. # If you change this file, run 'update-grub' afterwards to update
  674. # /boot/grub/grub.cfg.
  675. # For full documentation of the options in this file, see:
  676. # info -f grub -n 'Simple configuration'
  677.  
  678. GRUB_DEFAULT=0
  679. GRUB_HIDDEN_TIMEOUT=0
  680. GRUB_HIDDEN_TIMEOUT_QUIET=true
  681. GRUB_TIMEOUT=10
  682. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  683. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  684. GRUB_CMDLINE_LINUX=""
  685.  
  686. # Uncomment to enable BadRAM filtering, modify to suit your needs
  687. # This works with Linux (no patch required) and with any kernel that obtains
  688. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  689. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  690.  
  691. # Uncomment to disable graphical terminal (grub-pc only)
  692. #GRUB_TERMINAL=console
  693.  
  694. # The resolution used on graphical terminal
  695. # note that you can use only modes which your graphic card supports via VBE
  696. # you can see them in real GRUB with the command `vbeinfo'
  697. #GRUB_GFXMODE=640x480
  698.  
  699. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  700. #GRUB_DISABLE_LINUX_UUID=true
  701.  
  702. # Uncomment to disable generation of recovery mode menu entries
  703. #GRUB_DISABLE_RECOVERY="true"
  704.  
  705. # Uncomment to get a beep at grub start
  706. #GRUB_INIT_TUNE="480 440 1"
  707.  
  708.  
  709.  
  710. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sdb1/EFI/Microsoft/Boot/bootmgfw.efi
  711. Presence of EFI/Boot file detected: /mnt/boot-sav/sdb1/EFI/Boot/bootx64.efi
  712.  
  713. =================== efibootmgr -v
  714. BootCurrent: 0002
  715. Timeout: 2 seconds
  716. BootOrder: 0000,0002,0003,0001
  717. Boot0000* Windows Boot Manager HD(1,GPT,eb9f5246-d683-446e-b91f-7926aa37bc4f,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
  718. Boot0001* Network Card BBS(Network,,0x0)..GO..NO........k.R.e.a.l.t.e.k. .P.X.E. .B.0.5. .D.0.0.........................rN.D+..,............<..Gd-.;.A..MQ..L.R.e.a.l.t.e.k. .P.X.E. .B.0.5. .D.0.0........BO
  719. Boot0002* UEFI: General UDisk 5.00 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0x4294967235,0x800,0xf09800)..BO
  720. Boot0003* Hard Drive BBS(HD,,0x0)..GO..NO........m.G.e.n.e.r.a.l. .U.D.i.s.k. .5...0.0....................A.............................:..Gd-.;.A..MQ..L.G.e.n.e.r.a.l. .U.D.i.s.k. .5...0.0........BO
  721.  
  722. =================== UEFI/Legacy mode:
  723. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  724. SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
  725.  
  726.  
  727. =================== PARTITIONS & DISKS:
  728. sda3 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
  729. sdb1 : sdb, 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/sdb1.
  730. sdb2 : sdb, 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, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb2.
  731. sda2 : 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, not-far, /mnt/boot-sav/sda2.
  732.  
  733. sda : GPT, BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
  734. sdb : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  735.  
  736.  
  737. =================== parted -l:
  738.  
  739. Model: ATA KINGSTON SV300S3 (scsi)
  740. Disk /dev/sda: 120GB
  741. Sector size (logical/physical): 512B/512B
  742. Partition Table: gpt
  743. Disk Flags:
  744.  
  745. Number Start End Size File system Name Flags
  746. 1 1049kB 16.4GB 16.4GB linux-swap(v1)
  747. 2 16.4GB 16.7GB 300MB bios_grub
  748. 3 16.7GB 120GB 103GB ext4
  749.  
  750.  
  751. Model: ATA SanDisk SDSSDHII (scsi)
  752. Disk /dev/sdb: 480GB
  753. Sector size (logical/physical): 512B/512B
  754. Partition Table: gpt
  755. Disk Flags:
  756.  
  757. Number Start End Size File system Name Flags
  758. 1 1049kB 106MB 105MB fat32 EFI system partition boot, esp
  759. 2 135MB 480GB 480GB ntfs Basic data partition msftdata
  760.  
  761.  
  762. Model: General UDisk (scsi)
  763. Disk /dev/sdc: 8074MB
  764. Sector size (logical/physical): 512B/512B
  765. Partition Table: msdos
  766. Disk Flags:
  767.  
  768. Number Start End Size Type File system Flags
  769. 1 1049kB 8074MB 8073MB primary fat32 boot, lba
  770.  
  771. =================== parted -lm:
  772.  
  773. BYT;
  774. /dev/sda:120GB:scsi:512:512:gpt:ATA KINGSTON SV300S3:;
  775. 1:1049kB:16.4GB:16.4GB:linux-swap(v1)::;
  776. 2:16.4GB:16.7GB:300MB:::bios_grub;
  777. 3:16.7GB:120GB:103GB:ext4::;
  778.  
  779. BYT;
  780. /dev/sdb:480GB:scsi:512:512:gpt:ATA SanDisk SDSSDHII:;
  781. 1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
  782. 2:135MB:480GB:480GB:ntfs:Basic data partition:msftdata;
  783.  
  784. BYT;
  785. /dev/sdc:8074MB:scsi:512:512:msdos:General UDisk:;
  786. 1:1049kB:8074MB:8073MB:fat32::boot, lba;
  787.  
  788. =================== lsblk:
  789. KNAME TYPE FSTYPE SIZE LABEL
  790. sdb disk 447.1G
  791. sdb2 part ntfs 447G
  792. sdb1 part vfat 100M
  793. loop0 loop squashfs 1.4G
  794. sdc disk 7.5G
  795. sdc1 part vfat 7.5G UBUNTU 16_0
  796. sda disk 111.8G
  797. sda2 part 286M
  798. sda3 part ext4 95.9G
  799. sda1 part swap 15.3G
  800.  
  801. KNAME ROTA RO RM STATE MOUNTPOINT
  802. sdb 0 0 0 running
  803. sdb2 0 0 0 /mnt/boot-sav/sdb2
  804. sdb1 0 0 0 /mnt/boot-sav/sdb1
  805. loop0 1 1 0 /rofs
  806. sdc 1 0 1 running
  807. sdc1 1 0 1 /cdrom
  808. sda 0 0 0 running
  809. sda2 0 0 0
  810. sda3 0 0 0 /mnt/boot-sav/sda3
  811. sda1 0 0 0 [SWAP]
  812.  
  813.  
  814. =================== mount:
  815. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
  816. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
  817. udev on /dev type devtmpfs (rw,nosuid,relatime,size=4010636k,nr_inodes=1002659,mode=755)
  818. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
  819. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=805336k,mode=755)
  820. /dev/sdc1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  821. /dev/loop0 on /rofs type squashfs (ro,noatime)
  822. aufs on / type aufs (rw,noatime,si=e0ce63221fec61c1)
  823. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
  824. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
  825. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
  826. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
  827. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
  828. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
  829. efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
  830. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
  831. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
  832. cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
  833. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
  834. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
  835. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  836. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
  837. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  838. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  839. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
  840. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14241)
  841. mqueue on /dev/mqueue type mqueue (rw,relatime)
  842. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  843. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  844. tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
  845. fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  846. tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
  847. tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=805336k,mode=700,uid=999,gid=999)
  848. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
  849. /dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw,relatime,data=ordered)
  850. /dev/sdb1 on /mnt/boot-sav/sdb1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  851. /dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  852.  
  853.  
  854. =================== ls:
  855. /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 size slaves stat subsystem trace uevent
  856. /sys/block/sdb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
  857. /sys/block/sdc (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 sdc1 size slaves stat subsystem trace uevent
  858. /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 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 sdb sdb1 sdb2 sdc sdc1 sg0 sg1 sg2 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  859. ls /dev/mapper: control
  860.  
  861. =================== hexdump -n512 -C /dev/sdb1
  862. 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 fe 19 |.X.MSDOS5.0.....|
  863. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  864. 00000020 00 20 03 00 01 03 00 00 00 00 00 00 02 00 00 00 |. ..............|
  865. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  866. 00000040 80 01 29 e9 14 f0 d6 4e 4f 20 4e 41 4d 45 20 20 |..)....NO NAME |
  867. 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
  868. 00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
  869. 00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
  870. 00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
  871. 00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
  872. 000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
  873. 000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
  874. 000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
  875. 000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
  876. 000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
  877. 000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
  878. 00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
  879. 00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
  880. 00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
  881. 00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
  882. 00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
  883. 00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
  884. 00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
  885. 00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
  886. 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  887. *
  888. 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 52 65 |..............Re|
  889. 000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
  890. 000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
  891. 000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
  892. 000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
  893. 000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
  894. 00000200
  895.  
  896. =================== hexdump -n512 -C /dev/sdb2
  897. 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
  898. 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 04 00 |........?.......|
  899. 00000020 00 00 00 00 80 00 80 00 ff 27 e0 37 00 00 00 00 |.........'.7....|
  900. 00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
  901. 00000040 f6 00 00 00 01 00 00 00 bb 60 de d6 91 de d6 66 |.........`.....f|
  902. 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
  903. 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
  904. 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
  905. 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
  906. 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
  907. 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
  908. 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
  909. 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
  910. 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
  911. 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
  912. 000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
  913. 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
  914. 00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
  915. 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
  916. 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
  917. 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
  918. 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
  919. 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
  920. 00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
  921. 00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
  922. 00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
  923. 000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
  924. 000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
  925. 000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
  926. 000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
  927. 000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
  928. 000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
  929. 00000200
  930.  
  931. =================== df -Th:
  932.  
  933. Filesystem Type Size Used Avail Use% Mounted on
  934. udev devtmpfs 3.9G 0 3.9G 0% /dev
  935. tmpfs tmpfs 787M 9.5M 777M 2% /run
  936. /dev/sdc1 vfat 7.6G 1.6G 6.0G 21% /cdrom
  937. /dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
  938. aufs aufs 3.9G 50M 3.8G 2% /
  939. tmpfs tmpfs 3.9G 176K 3.9G 1% /dev/shm
  940. tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  941. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  942. tmpfs tmpfs 3.9G 256K 3.9G 1% /tmp
  943. tmpfs tmpfs 787M 72K 787M 1% /run/user/999
  944. /dev/sda3 ext4 95G 3.6G 86G 4% /mnt/boot-sav/sda3
  945. /dev/sdb1 vfat 96M 18M 79M 19% /mnt/boot-sav/sdb1
  946. /dev/sdb2 fuseblk 448G 194G 254G 44% /mnt/boot-sav/sdb2
  947.  
  948. =================== fdisk -l:
  949. Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 sectors
  950. Units: sectors of 1 * 512 = 512 bytes
  951. Sector size (logical/physical): 512 bytes / 512 bytes
  952. I/O size (minimum/optimal): 512 bytes / 512 bytes
  953.  
  954.  
  955. Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
  956. Units: sectors of 1 * 512 = 512 bytes
  957. Sector size (logical/physical): 512 bytes / 512 bytes
  958. I/O size (minimum/optimal): 512 bytes / 512 bytes
  959. Disklabel type: gpt
  960. Disk identifier: C7BBDC88-29D5-4BD0-A37C-58C461B4220A
  961.  
  962. Device Start End Sectors Size Type
  963. /dev/sda1 2048 31999999 31997952 15.3G Linux swap
  964. /dev/sda2 32000000 32585727 585728 286M BIOS boot
  965. /dev/sda3 32585728 233756671 201170944 95.9G Linux filesystem
  966.  
  967.  
  968. Disk /dev/sdb: 447.1 GiB, 480103981056 bytes, 937703088 sectors
  969. Units: sectors of 1 * 512 = 512 bytes
  970. Sector size (logical/physical): 512 bytes / 512 bytes
  971. I/O size (minimum/optimal): 512 bytes / 512 bytes
  972. Disklabel type: gpt
  973. Disk identifier: F536EB62-C5C2-4596-A78B-4EC579AD112C
  974.  
  975. Device Start End Sectors Size Type
  976. /dev/sdb1 2048 206847 204800 100M EFI System
  977. /dev/sdb2 264192 937701375 937437184 447G Microsoft basic data
  978.  
  979.  
  980. Disk /dev/sdc: 7.5 GiB, 8074035200 bytes, 15769600 sectors
  981. Units: sectors of 1 * 512 = 512 bytes
  982. Sector size (logical/physical): 512 bytes / 512 bytes
  983. I/O size (minimum/optimal): 512 bytes / 512 bytes
  984. Disklabel type: dos
  985. Disk identifier: 0x0021f5c3
  986.  
  987. Device Boot Start End Sectors Size Id Type
  988. /dev/sdc1 * 2048 15769599 15767552 7.5G c W95 FAT32 (LBA)
  989.  
  990.  
  991.  
  992. =================== Recommended repair
  993. The default repair of the Boot-Repair utility will purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda3, using the following options: sdb1/boot/efi,
  994. Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
  995.  
  996.  
  997. /boot/efi added in sda3/fstab
  998. Quantity of real Windows: 1
  999. Created sda3/boot/efi
  1000. Mount sdb1 on /mnt/boot-sav/sda3/boot/efi
  1001. ls sdb1/efi: /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/ru-RU /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /Microsoft/Boot /Boot/bootx64.efi
  1002. ls sdb1: boot-sav
  1003. EFI . Please report this message to boot.repair@gmail.com
  1004. No sda3/boot/efi/efi/ ubuntu/mint folder
  1005. chroot /mnt/boot-sav/sda3 apt-get -y --force-yes update
  1006. Purge the GRUB of sda3
  1007. grub-efi-amd64-signed available
  1008.  
  1009. The following additional packages will be installed:
  1010. grub-efi-amd64 grub-efi-amd64-bin
  1011. The following packages will be REMOVED:
  1012. grub-gfxpayload-lists grub-pc
  1013. The following NEW packages will be installed:
  1014. grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  1015. 0 upgraded, 3 newly installed, 2 to remove and 58 not upgraded.
  1016. W: --force-yes is deprecated, use one of the options starting with --allow instead.
  1017. DEBCHECK debOK, grub-efi-amd64-signed
  1018. DEBCHECK debOK
  1019. shim-signed available
  1020. linux-signed-generic available
  1021. Please type: sudo chroot "/mnt/boot-sav/sda3" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda3" apt-get install -fynsudo chroot "/mnt/boot-sav/sda3" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
  1022.  
  1023. =================== sda3/etc/grub.d/ :
  1024. drwxr-xr-x 2 root root 4096 Aug 17 07:47 grub.d
  1025. total 4
  1026. -rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
  1027.  
  1028.  
  1029. /boot/efi detected in the fstab of sda3: UUID=D6F0-14E9 (sdb1)
  1030. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda3/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  1031. Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi
  1032. shim-signed available
  1033. linux-signed-generic available
  1034. Then type: sudo chroot "/mnt/boot-sav/sda3" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
  1035.  
  1036. =================== sda3/etc/grub.d/ :
  1037. drwxr-xr-x 2 root root 4096 Aug 17 07:48 grub.d
  1038. drwxr-xr-x 2 root root 4096 Aug 17 07:47 grub.d.bak
  1039. total 76
  1040. -rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header
  1041. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  1042. -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
  1043. -rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen
  1044. -rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober
  1045. -rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware
  1046. -rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom
  1047. -rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom
  1048. -rw-r--r-- 1 root root 483 Jun 21 04:11 README
  1049.  
  1050.  
  1051.  
  1052.  
  1053. =================== sda3/etc/default/grub :
  1054.  
  1055. # If you change this file, run 'update-grub' afterwards to update
  1056. # /boot/grub/grub.cfg.
  1057. # For full documentation of the options in this file, see:
  1058. # info -f grub -n 'Simple configuration'
  1059.  
  1060. GRUB_DEFAULT=0
  1061. GRUB_HIDDEN_TIMEOUT=0
  1062. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1063. GRUB_TIMEOUT=10
  1064. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1065. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1066. GRUB_CMDLINE_LINUX=""
  1067.  
  1068. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1069. # This works with Linux (no patch required) and with any kernel that obtains
  1070. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1071. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1072.  
  1073. # Uncomment to disable graphical terminal (grub-pc only)
  1074. #GRUB_TERMINAL=console
  1075.  
  1076. # The resolution used on graphical terminal
  1077. # note that you can use only modes which your graphic card supports via VBE
  1078. # you can see them in real GRUB with the command `vbeinfo'
  1079. #GRUB_GFXMODE=640x480
  1080.  
  1081. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1082. #GRUB_DISABLE_LINUX_UUID=true
  1083.  
  1084. # Uncomment to disable generation of recovery mode menu entries
  1085. #GRUB_DISABLE_RECOVERY="true"
  1086.  
  1087. # Uncomment to get a beep at grub start
  1088. #GRUB_INIT_TUNE="480 440 1"
  1089.  
  1090.  
  1091.  
  1092. /boot/efi detected in the fstab of sda3: UUID=D6F0-14E9 (sdb1)
  1093. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda3/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  1094. Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi
  1095. Unhide GRUB boot menu in sda3/etc/default/grub
  1096.  
  1097. =================== sda3/etc/grub.d/ :
  1098. drwxr-xr-x 2 root root 4096 Aug 17 07:48 grub.d
  1099. drwxr-xr-x 2 root root 4096 Aug 17 07:47 grub.d.bak
  1100. total 76
  1101. -rwxr-xr-x 1 root root 9791 Jun 21 04:11 00_header
  1102. -rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
  1103. -rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
  1104. -rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen
  1105. -rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober
  1106. -rwxr-xr-x 1 root root 1418 Jun 21 04:11 30_uefi-firmware
  1107. -rwxr-xr-x 1 root root 214 Jun 21 04:11 40_custom
  1108. -rwxr-xr-x 1 root root 216 Jun 21 04:11 41_custom
  1109. -rw-r--r-- 1 root root 483 Jun 21 04:11 README
  1110.  
  1111.  
  1112.  
  1113.  
  1114. =================== sda3/etc/default/grub :
  1115.  
  1116. # If you change this file, run 'update-grub' afterwards to update
  1117. # /boot/grub/grub.cfg.
  1118. # For full documentation of the options in this file, see:
  1119. # info -f grub -n 'Simple configuration'
  1120.  
  1121. GRUB_DEFAULT=0
  1122. #GRUB_HIDDEN_TIMEOUT=0
  1123. GRUB_HIDDEN_TIMEOUT_QUIET=true
  1124. GRUB_TIMEOUT=10
  1125. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  1126. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1127. GRUB_CMDLINE_LINUX=""
  1128.  
  1129. # Uncomment to enable BadRAM filtering, modify to suit your needs
  1130. # This works with Linux (no patch required) and with any kernel that obtains
  1131. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  1132. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  1133.  
  1134. # Uncomment to disable graphical terminal (grub-pc only)
  1135. #GRUB_TERMINAL=console
  1136.  
  1137. # The resolution used on graphical terminal
  1138. # note that you can use only modes which your graphic card supports via VBE
  1139. # you can see them in real GRUB with the command `vbeinfo'
  1140. #GRUB_GFXMODE=640x480
  1141.  
  1142. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  1143. #GRUB_DISABLE_LINUX_UUID=true
  1144.  
  1145. # Uncomment to disable generation of recovery mode menu entries
  1146. #GRUB_DISABLE_RECOVERY="true"
  1147.  
  1148. # Uncomment to get a beep at grub start
  1149. #GRUB_INIT_TUNE="480 440 1"
  1150.  
  1151.  
  1152.  
  1153. /boot/efi detected in the fstab of sda3: UUID=D6F0-14E9 (sdb1)
  1154. Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda3/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  1155. Presence of EFI/Boot file detected: /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi
  1156.  
  1157. *******lspci -nnk | grep -iA3 vga
  1158. 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
  1159. Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor Integrated Graphics Controller [1043:11cd]
  1160. Kernel driver in use: i915
  1161. Kernel modules: i915
  1162. *******
  1163.  
  1164. grub-install --version
  1165. grub-install (GRUB) 2.02~beta2-36ubuntu3.12,grub-install (GRUB) 2.
  1166.  
  1167. chroot /mnt/boot-sav/sda3 efibootmgr -v
  1168. BootCurrent: 0002
  1169. Timeout: 2 seconds
  1170. BootOrder: 0000,0002,0003,0001
  1171. Boot0000* Windows Boot Manager HD(1,GPT,eb9f5246-d683-446e-b91f-7926aa37bc4f,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
  1172. Boot0001* Network Card BBS(Network,,0x0)..GO..NO........k.R.e.a.l.t.e.k. .P.X.E. .B.0.5. .D.0.0.........................rN.D+..,............<..Gd-.;.A..MQ..L.R.e.a.l.t.e.k. .P.X.E. .B.0.5. .D.0.0........BO
  1173. Boot0002* UEFI: General UDisk 5.00 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0x4294967235,0x800,0xf09800)..BO
  1174. Boot0003* Hard Drive BBS(HD,,0x0)..GO..NO........m.G.e.n.e.r.a.l. .U.D.i.s.k. .5...0.0....................A.............................:..Gd-.;.A..MQ..L.G.e.n.e.r.a.l. .U.D.i.s.k. .5...0.0........BO
  1175.  
  1176. chroot /mnt/boot-sav/sda3 uname -r
  1177. Kernel: 4.10.0-28-generic
  1178.  
  1179. Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of sda3
  1180. Installing for x86_64-efi platform.
  1181. Installation finished. No error reported.
  1182. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  1183. ls sdb1/efi: /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/ru-RU /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /Boot/bootx64.efi
  1184. ls sdb1: boot-sav
  1185. EFI . Please report this message to boot.repair@gmail.com
  1186. df /dev/sdb1
  1187. Save and rename /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda3/boot/efi/EFI/Boot/bkpbootx64.efi)
  1188. cp /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bootx64.efi
  1189. ls sdb1/efi: /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/ru-RU /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /Boot/bootx64.efi /Boot/bkpbootx64.efi
  1190. ls sdb1: boot-sav
  1191. EFI . Please report this message to boot.repair@gmail.com
  1192. Add /mnt/boot-sav/sda3/boot/efi efi entries in /mnt/boot-sav/sda3/etc/grub.d/25_custom
  1193. Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  1194. Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/Boot/bkpbootx64.efi
  1195. sdb1/bkpbootx64.efi already added
  1196. Adding custom /mnt/boot-sav/sda3/boot/efi/EFI/ubuntu/mmx64.efi
  1197. sdb1/bootmgfw.efi already added
  1198. Installing for x86_64-efi platform.
  1199. Installation finished. No error reported.
  1200. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  1201.  
  1202. chroot /mnt/boot-sav/sda3 efibootmgr -v
  1203. BootCurrent: 0002
  1204. Timeout: 2 seconds
  1205. BootOrder: 0004,0000,0002,0003,0001
  1206. Boot0000* Windows Boot Manager HD(1,GPT,eb9f5246-d683-446e-b91f-7926aa37bc4f,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
  1207. Boot0001* Network Card BBS(Network,,0x0)..GO..NO........k.R.e.a.l.t.e.k. .P.X.E. .B.0.5. .D.0.0.........................rN.D+..,............<..Gd-.;.A..MQ..L.R.e.a.l.t.e.k. .P.X.E. .B.0.5. .D.0.0........BO
  1208. Boot0002* UEFI: General UDisk 5.00 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0x4294967235,0x800,0xf09800)..BO
  1209. Boot0003* Hard Drive BBS(HD,,0x0)..GO..NO........m.G.e.n.e.r.a.l. .U.D.i.s.k. .5...0.0....................A.............................:..Gd-.;.A..MQ..L.G.e.n.e.r.a.l. .U.D.i.s.k. .5...0.0........BO
  1210. Boot0004* ubuntu HD(1,GPT,eb9f5246-d683-446e-b91f-7926aa37bc4f,0x800,0x32000)/File(EFIubuntushimx64.efi)
  1211.  
  1212. chroot /mnt/boot-sav/sda3 update-grub
  1213. Generating grub configuration file ...
  1214. Found linux image: /boot/vmlinuz-4.10.0-28-generic
  1215. Found initrd image: /boot/initrd.img-4.10.0-28-generic
  1216. Found linux image: /boot/vmlinuz-4.4.0-92-generic
  1217. Found initrd image: /boot/initrd.img-4.4.0-92-generic
  1218. Found Windows Boot Manager on /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
  1219. Adding boot menu entry for EFI firmware configuration
  1220. NTFS signature is missing.
  1221. Failed to mount '/dev/sda2': Invalid argument
  1222. The device '/dev/sda2' doesn't seem to have a valid NTFS.
  1223. Maybe the wrong device is used? Or the whole disk instead of a
  1224. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  1225. mount /dev/sda2 : Error code 12
  1226. mount -r /dev/sda2 /mnt/boot-sav/sda2
  1227. NTFS signature is missing.
  1228. Failed to mount '/dev/sda2': Invalid argument
  1229. The device '/dev/sda2' doesn't seem to have a valid NTFS.
  1230. Maybe the wrong device is used? Or the whole disk instead of a
  1231. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  1232. mount -r /dev/sda2 : Error code 12
  1233. Unhide GRUB boot menu in sda3/boot/grub/grub.cfg
  1234.  
  1235. Boot successfully repaired.
  1236.  
  1237. You can now reboot your computer.
  1238. Please do not forget to make your BIOS boot on sda (120GB) disk!
  1239.  
  1240. If your computer reboots directly into Windows, try to change the boot order in your BIOS.
  1241. If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
  1242. For example you can boot into Windows, then type the following command in an admin command prompt:
  1243. bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement