1. Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
  2. ============================= Boot Info Summary: ===============================
  3. => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector
  4. 38228 of the same hard drive for core.img, but core.img can not be found
  5. at this location.
  6. sda1: __________________________________________________________________________
  7. File system: vfat
  8. Boot sector type: FAT32
  9. Boot sector info: No errors found in the Boot Parameter Block.
  10. Operating System:
  11. Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
  12. /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi
  13. /EFI/ubuntu/shimx64.efi
  14. /EFI/Microsoft/Boot/bootmgfw.efi
  15. /EFI/Microsoft/Boot/bootx64.efi
  16. sda2: __________________________________________________________________________
  17. File system: ext4
  18. Boot sector type: -
  19. Boot sector info:
  20. Operating System: Linux Mint 17.3 Rosa
  21. Boot files: /boot/grub/grub.cfg /etc/fstab
  22. sda3: __________________________________________________________________________
  23. File system: swap
  24. Boot sector type: -
  25. Boot sector info:
  26. sda4: __________________________________________________________________________
  27. File system: ext4
  28. Boot sector type: -
  29. Boot sector info:
  30. Operating System: Ubuntu Xenial Xerus (development branch)
  31. Boot files: /boot/grub/grub.cfg /etc/fstab
  32. ============================ Drive/Partition Info: =============================
  33. Drive: sda _____________________________________________________________________
  34. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  35. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  36. Units = sectors of 1 * 512 = 512 bytes
  37. Sector size (logical/physical): 512 bytes / 4096 bytes
  38. Partition Boot Start Sector End Sector # of Sectors Id System
  39. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  40. GUID Partition Table detected.
  41. Partition Start Sector End Sector # of Sectors System
  42. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  43. /dev/sda2 1,050,624 495,773,352 494,722,729 Data partition (Linux)
  44. /dev/sda3 968,624,128 976,771,071 8,146,944 Swap partition (Linux)
  45. /dev/sda4 495,773,696 968,624,127 472,850,432 Data partition (Linux)
  46. "blkid" output: ________________________________________________________________
  47. Device UUID TYPE LABEL
  48. /dev/sda1 5EF9-3907 vfat
  49. /dev/sda2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e ext4
  50. /dev/sda3 c3157dbc-09a5-4b33-a7b4-7bd3a682c32c swap
  51. /dev/sda4 ecc3e9ec-495d-424e-93e3-c47162fc9aca ext4
  52. ========================= "ls -l /dev/disk/by-id" output: ======================
  53. total 0
  54. lrwxrwxrwx 1 root root 9 Mar 28 06:29 ata-WDC_WD5000LPVX-22V0TT0_WD-WX51A54DT597 -> ../../sda
  55. lrwxrwxrwx 1 root root 10 Mar 28 06:15 ata-WDC_WD5000LPVX-22V0TT0_WD-WX51A54DT597-part1 -> ../../sda1
  56. lrwxrwxrwx 1 root root 10 Mar 28 06:15 ata-WDC_WD5000LPVX-22V0TT0_WD-WX51A54DT597-part2 -> ../../sda2
  57. lrwxrwxrwx 1 root root 10 Mar 28 06:15 ata-WDC_WD5000LPVX-22V0TT0_WD-WX51A54DT597-part3 -> ../../sda3
  58. lrwxrwxrwx 1 root root 10 Mar 28 06:15 ata-WDC_WD5000LPVX-22V0TT0_WD-WX51A54DT597-part4 -> ../../sda4
  59. lrwxrwxrwx 1 root root 9 Mar 28 06:29 wwn-0x50014ee65a04b78a -> ../../sda
  60. lrwxrwxrwx 1 root root 10 Mar 28 06:15 wwn-0x50014ee65a04b78a-part1 -> ../../sda1
  61. lrwxrwxrwx 1 root root 10 Mar 28 06:15 wwn-0x50014ee65a04b78a-part2 -> ../../sda2
  62. lrwxrwxrwx 1 root root 10 Mar 28 06:15 wwn-0x50014ee65a04b78a-part3 -> ../../sda3
  63. lrwxrwxrwx 1 root root 10 Mar 28 06:15 wwn-0x50014ee65a04b78a-part4 -> ../../sda4
  64. ================================ Mount points: =================================
  65. Device Mount_Point Type Options
  66. /dev/sda1 /boot/efi vfat (rw)
  67. /dev/sda2 / ext4 (rw,errors=remount-ro)
  68. =========================== sda2/boot/grub/grub.cfg: ===========================
  69. --------------------------------------------------------------------------------
  70. #
  71. # DO NOT EDIT THIS FILE
  72. #
  73. # It is automatically generated by grub-mkconfig using templates
  74. # from /etc/grub.d and settings from /etc/default/grub
  75. #
  76. ### BEGIN /etc/grub.d/00_header ###
  77. if [ -s $prefix/grubenv ]; then
  78. set have_grubenv=true
  79. load_env
  80. fi
  81. if [ "${next_entry}" ] ; then
  82. set default="${next_entry}"
  83. set next_entry=
  84. save_env next_entry
  85. set boot_once=true
  86. else
  87. set default="0"
  88. fi
  89. if [ x"${feature_menuentry_id}" = xy ]; then
  90. menuentry_id_option="--id"
  91. else
  92. menuentry_id_option=""
  93. fi
  94. export menuentry_id_option
  95. if [ "${prev_saved_entry}" ]; then
  96. set saved_entry="${prev_saved_entry}"
  97. save_env saved_entry
  98. set prev_saved_entry=
  99. save_env prev_saved_entry
  100. set boot_once=true
  101. fi
  102. function savedefault {
  103. if [ -z "${boot_once}" ]; then
  104. saved_entry="${chosen}"
  105. save_env saved_entry
  106. fi
  107. }
  108. function recordfail {
  109. set recordfail=1
  110. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  111. }
  112. function load_video {
  113. if [ x$feature_all_video_module = xy ]; then
  114. insmod all_video
  115. else
  116. insmod efi_gop
  117. insmod efi_uga
  118. insmod ieee1275_fb
  119. insmod vbe
  120. insmod vga
  121. insmod video_bochs
  122. insmod video_cirrus
  123. fi
  124. }
  125. if [ x$feature_default_font_path = xy ] ; then
  126. font=unicode
  127. else
  128. insmod part_gpt
  129. insmod ext2
  130. set root='hd0,gpt2'
  131. if [ x$feature_platform_search_hint = xy ]; then
  132. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  133. else
  134. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  135. fi
  136. font="/usr/share/grub/unicode.pf2"
  137. fi
  138. if loadfont $font ; then
  139. set gfxmode=auto
  140. load_video
  141. insmod gfxterm
  142. set locale_dir=$prefix/locale
  143. set lang=en_US
  144. insmod gettext
  145. fi
  146. terminal_output gfxterm
  147. if [ "${recordfail}" = 1 ] ; then
  148. set timeout=10
  149. else
  150. if [ x$feature_timeout_style = xy ] ; then
  151. set timeout_style=menu
  152. set timeout=10
  153. # Fallback normal timeout code in case the timeout_style feature is
  154. # unavailable.
  155. else
  156. set timeout=10
  157. fi
  158. fi
  159. ### END /etc/grub.d/00_header ###
  160. ### BEGIN /etc/grub.d/05_debian_theme ###
  161. set menu_color_normal=white/black
  162. set menu_color_highlight=black/light-gray
  163. ### END /etc/grub.d/05_debian_theme ###
  164. ### BEGIN /etc/grub.d/10_linux ###
  165. function gfxmode {
  166. set gfxpayload="${1}"
  167. if [ "${1}" = "keep" ]; then
  168. set vt_handoff=vt.handoff=7
  169. else
  170. set vt_handoff=
  171. fi
  172. }
  173. if [ "${recordfail}" != 1 ]; then
  174. if [ -e ${prefix}/gfxblacklist.txt ]; then
  175. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  176. if [ ${match} = 0 ]; then
  177. set linux_gfx_mode=keep
  178. else
  179. set linux_gfx_mode=text
  180. fi
  181. else
  182. set linux_gfx_mode=text
  183. fi
  184. else
  185. set linux_gfx_mode=keep
  186. fi
  187. else
  188. set linux_gfx_mode=text
  189. fi
  190. export linux_gfx_mode
  191. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  192. recordfail
  193. load_video
  194. gfxmode $linux_gfx_mode
  195. insmod gzio
  196. insmod part_gpt
  197. insmod ext2
  198. set root='hd0,gpt2'
  199. if [ x$feature_platform_search_hint = xy ]; then
  200. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  201. else
  202. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  203. fi
  204. linux /boot/vmlinuz-3.19.0-32-generic root=UUID=9fbb8f15-fb73-4e99-95c8-d62483c02c6e ro quiet splash $vt_handoff
  205. initrd /boot/initrd.img-3.19.0-32-generic
  206. }
  207. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  208. menuentry 'Ubuntu, with Linux 3.19.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-32-generic-advanced-9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  209. recordfail
  210. load_video
  211. gfxmode $linux_gfx_mode
  212. insmod gzio
  213. insmod part_gpt
  214. insmod ext2
  215. set root='hd0,gpt2'
  216. if [ x$feature_platform_search_hint = xy ]; then
  217. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  218. else
  219. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  220. fi
  221. echo 'Loading Linux 3.19.0-32-generic ...'
  222. linux /boot/vmlinuz-3.19.0-32-generic root=UUID=9fbb8f15-fb73-4e99-95c8-d62483c02c6e ro quiet splash $vt_handoff
  223. echo 'Loading initial ramdisk ...'
  224. initrd /boot/initrd.img-3.19.0-32-generic
  225. }
  226. menuentry 'Ubuntu, with Linux 3.19.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-32-generic-recovery-9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  227. recordfail
  228. load_video
  229. insmod gzio
  230. insmod part_gpt
  231. insmod ext2
  232. set root='hd0,gpt2'
  233. if [ x$feature_platform_search_hint = xy ]; then
  234. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  235. else
  236. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  237. fi
  238. echo 'Loading Linux 3.19.0-32-generic ...'
  239. linux /boot/vmlinuz-3.19.0-32-generic root=UUID=9fbb8f15-fb73-4e99-95c8-d62483c02c6e ro recovery nomodeset
  240. echo 'Loading initial ramdisk ...'
  241. initrd /boot/initrd.img-3.19.0-32-generic
  242. }
  243. }
  244. ### END /etc/grub.d/10_linux ###
  245. ### BEGIN /etc/grub.d/20_linux_xen ###
  246. ### END /etc/grub.d/20_linux_xen ###
  247. ### BEGIN /etc/grub.d/25_custom ###
  248. menuentry "EFI/ubuntu/fwupx64.efi" {
  249. search --fs-uuid --no-floppy --set=root 5EF9-3907
  250. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  251. }
  252. menuentry "EFI/ubuntu/MokManager.efi" {
  253. search --fs-uuid --no-floppy --set=root 5EF9-3907
  254. chainloader (${root})/EFI/ubuntu/MokManager.efi
  255. }
  256. ### END /etc/grub.d/25_custom ###
  257. ### BEGIN /etc/grub.d/30_os-prober ###
  258. menuentry 'Ubuntu Xenial Xerus (development branch) (16.04) (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  259. insmod part_gpt
  260. insmod ext2
  261. set root='hd0,gpt4'
  262. if [ x$feature_platform_search_hint = xy ]; then
  263. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  264. else
  265. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  266. fi
  267. linux /boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro quiet splash $vt_handoff
  268. initrd /boot/initrd.img-4.4.0-15-generic
  269. }
  270. submenu 'Advanced options for Ubuntu Xenial Xerus (development branch) (16.04) (on /dev/sda4)' $menuentry_id_option 'osprober-gnulinux-advanced-ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  271. menuentry 'Ubuntu (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4.0-15-generic.efi.signed--ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  272. insmod part_gpt
  273. insmod ext2
  274. set root='hd0,gpt4'
  275. if [ x$feature_platform_search_hint = xy ]; then
  276. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  277. else
  278. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  279. fi
  280. linux /boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro quiet splash $vt_handoff
  281. initrd /boot/initrd.img-4.4.0-15-generic
  282. }
  283. menuentry 'Ubuntu, with Linux 4.4.0-15-generic (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4.0-15-generic.efi.signed--ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  284. insmod part_gpt
  285. insmod ext2
  286. set root='hd0,gpt4'
  287. if [ x$feature_platform_search_hint = xy ]; then
  288. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  289. else
  290. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  291. fi
  292. linux /boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro quiet splash $vt_handoff
  293. initrd /boot/initrd.img-4.4.0-15-generic
  294. }
  295. menuentry 'Ubuntu, with Linux 4.4.0-15-generic (recovery mode) (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4.0-15-generic.efi.signed-root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro recovery nomodeset-ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  296. insmod part_gpt
  297. insmod ext2
  298. set root='hd0,gpt4'
  299. if [ x$feature_platform_search_hint = xy ]; then
  300. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  301. else
  302. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  303. fi
  304. linux /boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro recovery nomodeset
  305. initrd /boot/initrd.img-4.4.0-15-generic
  306. }
  307. }
  308. set timeout_style=menu
  309. if [ "${timeout}" = 0 ]; then
  310. set timeout=10
  311. fi
  312. ### END /etc/grub.d/30_os-prober ###
  313. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  314. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  315. fwsetup
  316. }
  317. ### END /etc/grub.d/30_uefi-firmware ###
  318. ### BEGIN /etc/grub.d/40_custom ###
  319. # This file provides an easy way to add custom menu entries. Simply type the
  320. # menu entries you want to add after this comment. Be careful not to change
  321. # the 'exec tail' line above.
  322. ### END /etc/grub.d/40_custom ###
  323. ### BEGIN /etc/grub.d/41_custom ###
  324. if [ -f ${config_directory}/custom.cfg ]; then
  325. source ${config_directory}/custom.cfg
  326. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  327. source $prefix/custom.cfg;
  328. fi
  329. ### END /etc/grub.d/41_custom ###
  330. --------------------------------------------------------------------------------
  331. =============================== sda2/etc/fstab: ================================
  332. --------------------------------------------------------------------------------
  333. # /etc/fstab: static file system information.
  334. #
  335. # Use 'blkid' to print the universally unique identifier for a
  336. # device; this may be used with UUID= as a more robust way to name devices
  337. # that works even if disks are added and removed. See fstab(5).
  338. #
  339. # <file system> <mount point> <type> <options> <dump> <pass>
  340. # / was on /dev/sdb2 during installation
  341. UUID=9fbb8f15-fb73-4e99-95c8-d62483c02c6e / ext4 errors=remount-ro 0 1
  342. # /boot/efi was on /dev/sdb1 during installation
  343. #UUID=5EF9-3907 /boot/efi vfat defaults 0 1
  344. # swap was on /dev/sdb3 during installation
  345. UUID=c3157dbc-09a5-4b33-a7b4-7bd3a682c32c none swap sw 0 0
  346. UUID=5EF9-3907 /boot/efi vfat defaults 0 1
  347. --------------------------------------------------------------------------------
  348. =========================== sda4/boot/grub/grub.cfg: ===========================
  349. --------------------------------------------------------------------------------
  350. #
  351. # DO NOT EDIT THIS FILE
  352. #
  353. # It is automatically generated by grub-mkconfig using templates
  354. # from /etc/grub.d and settings from /etc/default/grub
  355. #
  356. ### BEGIN /etc/grub.d/00_header ###
  357. if [ -s $prefix/grubenv ]; then
  358. set have_grubenv=true
  359. load_env
  360. fi
  361. if [ "${next_entry}" ] ; then
  362. set default="${next_entry}"
  363. set next_entry=
  364. save_env next_entry
  365. set boot_once=true
  366. else
  367. set default="0"
  368. fi
  369. if [ x"${feature_menuentry_id}" = xy ]; then
  370. menuentry_id_option="--id"
  371. else
  372. menuentry_id_option=""
  373. fi
  374. export menuentry_id_option
  375. if [ "${prev_saved_entry}" ]; then
  376. set saved_entry="${prev_saved_entry}"
  377. save_env saved_entry
  378. set prev_saved_entry=
  379. save_env prev_saved_entry
  380. set boot_once=true
  381. fi
  382. function savedefault {
  383. if [ -z "${boot_once}" ]; then
  384. saved_entry="${chosen}"
  385. save_env saved_entry
  386. fi
  387. }
  388. function recordfail {
  389. set recordfail=1
  390. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  391. }
  392. function load_video {
  393. if [ x$feature_all_video_module = xy ]; then
  394. insmod all_video
  395. else
  396. insmod efi_gop
  397. insmod efi_uga
  398. insmod ieee1275_fb
  399. insmod vbe
  400. insmod vga
  401. insmod video_bochs
  402. insmod video_cirrus
  403. fi
  404. }
  405. if [ x$feature_default_font_path = xy ] ; then
  406. font=unicode
  407. else
  408. insmod part_gpt
  409. insmod ext2
  410. set root='hd0,gpt4'
  411. if [ x$feature_platform_search_hint = xy ]; then
  412. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  413. else
  414. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  415. fi
  416. font="/usr/share/grub/unicode.pf2"
  417. fi
  418. if loadfont $font ; then
  419. set gfxmode=auto
  420. load_video
  421. insmod gfxterm
  422. set locale_dir=$prefix/locale
  423. set lang=en_US
  424. insmod gettext
  425. fi
  426. terminal_output gfxterm
  427. if [ "${recordfail}" = 1 ] ; then
  428. set timeout=10
  429. else
  430. if [ x$feature_timeout_style = xy ] ; then
  431. set timeout_style=menu
  432. set timeout=10
  433. # Fallback normal timeout code in case the timeout_style feature is
  434. # unavailable.
  435. else
  436. set timeout=10
  437. fi
  438. fi
  439. ### END /etc/grub.d/00_header ###
  440. ### BEGIN /etc/grub.d/05_debian_theme ###
  441. set menu_color_normal=white/black
  442. set menu_color_highlight=black/light-gray
  443. if background_color 60,59,55; then
  444. clear
  445. fi
  446. color_normal=light-gray/black
  447. if [ -e ${prefix}/themes/ubuntu-mate/theme.txt ]; then
  448. insmod png
  449. theme=${prefix}/themes/ubuntu-mate/theme.txt
  450. fi
  451. ### END /etc/grub.d/05_debian_theme ###
  452. ### BEGIN /etc/grub.d/10_linux ###
  453. function gfxmode {
  454. set gfxpayload="${1}"
  455. if [ "${1}" = "keep" ]; then
  456. set vt_handoff=vt.handoff=7
  457. else
  458. set vt_handoff=
  459. fi
  460. }
  461. if [ "${recordfail}" != 1 ]; then
  462. if [ -e ${prefix}/gfxblacklist.txt ]; then
  463. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  464. if [ ${match} = 0 ]; then
  465. set linux_gfx_mode=keep
  466. else
  467. set linux_gfx_mode=text
  468. fi
  469. else
  470. set linux_gfx_mode=text
  471. fi
  472. else
  473. set linux_gfx_mode=keep
  474. fi
  475. else
  476. set linux_gfx_mode=text
  477. fi
  478. export linux_gfx_mode
  479. menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  480. recordfail
  481. load_video
  482. gfxmode $linux_gfx_mode
  483. insmod gzio
  484. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  485. insmod part_gpt
  486. insmod ext2
  487. set root='hd0,gpt4'
  488. if [ x$feature_platform_search_hint = xy ]; then
  489. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  490. else
  491. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  492. fi
  493. linux /boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro quiet splash $vt_handoff
  494. initrd /boot/initrd.img-4.4.0-15-generic
  495. }
  496. submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  497. menuentry 'Ubuntu, with Linux 4.4.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-15-generic-advanced-ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  498. recordfail
  499. load_video
  500. gfxmode $linux_gfx_mode
  501. insmod gzio
  502. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  503. insmod part_gpt
  504. insmod ext2
  505. set root='hd0,gpt4'
  506. if [ x$feature_platform_search_hint = xy ]; then
  507. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  508. else
  509. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  510. fi
  511. echo 'Loading Linux 4.4.0-15-generic ...'
  512. linux /boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro quiet splash $vt_handoff
  513. echo 'Loading initial ramdisk ...'
  514. initrd /boot/initrd.img-4.4.0-15-generic
  515. }
  516. menuentry 'Ubuntu, with Linux 4.4.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-15-generic-recovery-ecc3e9ec-495d-424e-93e3-c47162fc9aca' {
  517. recordfail
  518. load_video
  519. insmod gzio
  520. if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  521. insmod part_gpt
  522. insmod ext2
  523. set root='hd0,gpt4'
  524. if [ x$feature_platform_search_hint = xy ]; then
  525. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 ecc3e9ec-495d-424e-93e3-c47162fc9aca
  526. else
  527. search --no-floppy --fs-uuid --set=root ecc3e9ec-495d-424e-93e3-c47162fc9aca
  528. fi
  529. echo 'Loading Linux 4.4.0-15-generic ...'
  530. linux /boot/vmlinuz-4.4.0-15-generic.efi.signed root=UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca ro recovery nomodeset
  531. echo 'Loading initial ramdisk ...'
  532. initrd /boot/initrd.img-4.4.0-15-generic
  533. }
  534. }
  535. ### END /etc/grub.d/10_linux ###
  536. ### BEGIN /etc/grub.d/20_linux_xen ###
  537. ### END /etc/grub.d/20_linux_xen ###
  538. ### BEGIN /etc/grub.d/20_memtest86+ ###
  539. ### END /etc/grub.d/20_memtest86+ ###
  540. ### BEGIN /etc/grub.d/25_custom ###
  541. menuentry "EFI/ubuntu/fwupx64.efi" {
  542. search --fs-uuid --no-floppy --set=root 5EF9-3907
  543. chainloader (${root})/EFI/ubuntu/fwupx64.efi
  544. }
  545. menuentry "EFI/ubuntu/MokManager.efi" {
  546. search --fs-uuid --no-floppy --set=root 5EF9-3907
  547. chainloader (${root})/EFI/ubuntu/MokManager.efi
  548. }
  549. ### END /etc/grub.d/25_custom ###
  550. ### BEGIN /etc/grub.d/30_os-prober ###
  551. menuentry 'Linux Mint 17.3 Rosa (17.3) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  552. insmod part_gpt
  553. insmod ext2
  554. set root='hd0,gpt2'
  555. if [ x$feature_platform_search_hint = xy ]; then
  556. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  557. else
  558. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  559. fi
  560. linux /vmlinuz root=/dev/sda2
  561. initrd /initrd.img
  562. }
  563. submenu 'Advanced options for Linux Mint 17.3 Rosa (17.3) (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  564. menuentry 'Linux Mint 17.3 Rosa (17.3) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  565. insmod part_gpt
  566. insmod ext2
  567. set root='hd0,gpt2'
  568. if [ x$feature_platform_search_hint = xy ]; then
  569. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  570. else
  571. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  572. fi
  573. linux /vmlinuz root=/dev/sda2
  574. initrd /initrd.img
  575. }
  576. menuentry 'Linux Mint 17.3 Rosa (17.3) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  577. insmod part_gpt
  578. insmod ext2
  579. set root='hd0,gpt2'
  580. if [ x$feature_platform_search_hint = xy ]; then
  581. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  582. else
  583. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  584. fi
  585. linux /vmlinuz root=/dev/sda2
  586. initrd /initrd.img
  587. }
  588. menuentry 'Linux Mint 17.3 Rosa (17.3) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.19.0-32-generic--9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  589. insmod part_gpt
  590. insmod ext2
  591. set root='hd0,gpt2'
  592. if [ x$feature_platform_search_hint = xy ]; then
  593. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  594. else
  595. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  596. fi
  597. linux /boot/vmlinuz-3.19.0-32-generic root=/dev/sda2
  598. initrd /boot/initrd.img-3.19.0-32-generic
  599. }
  600. menuentry 'Linux Mint 17.3 Rosa (17.3) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  601. insmod part_gpt
  602. insmod ext2
  603. set root='hd0,gpt2'
  604. if [ x$feature_platform_search_hint = xy ]; then
  605. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  606. else
  607. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  608. fi
  609. linux /vmlinuz root=/dev/sda2
  610. initrd /initrd.img
  611. }
  612. menuentry 'Linux Mint 17.3 Rosa (17.3) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--9fbb8f15-fb73-4e99-95c8-d62483c02c6e' {
  613. insmod part_gpt
  614. insmod ext2
  615. set root='hd0,gpt2'
  616. if [ x$feature_platform_search_hint = xy ]; then
  617. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  618. else
  619. search --no-floppy --fs-uuid --set=root 9fbb8f15-fb73-4e99-95c8-d62483c02c6e
  620. fi
  621. linux /vmlinuz root=/dev/sda2
  622. initrd /initrd.img
  623. }
  624. }
  625. set timeout_style=menu
  626. if [ "${timeout}" = 0 ]; then
  627. set timeout=10
  628. fi
  629. ### END /etc/grub.d/30_os-prober ###
  630. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  631. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  632. fwsetup
  633. }
  634. ### END /etc/grub.d/30_uefi-firmware ###
  635. ### BEGIN /etc/grub.d/40_custom ###
  636. # This file provides an easy way to add custom menu entries. Simply type the
  637. # menu entries you want to add after this comment. Be careful not to change
  638. # the 'exec tail' line above.
  639. ### END /etc/grub.d/40_custom ###
  640. ### BEGIN /etc/grub.d/41_custom ###
  641. if [ -f ${config_directory}/custom.cfg ]; then
  642. source ${config_directory}/custom.cfg
  643. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  644. source $prefix/custom.cfg;
  645. fi
  646. ### END /etc/grub.d/41_custom ###
  647. --------------------------------------------------------------------------------
  648. =============================== sda4/etc/fstab: ================================
  649. --------------------------------------------------------------------------------
  650. # /etc/fstab: static file system information.
  651. #
  652. # Use 'blkid' to print the universally unique identifier for a
  653. # device; this may be used with UUID= as a more robust way to name devices
  654. # that works even if disks are added and removed. See fstab(5).
  655. #
  656. # <file system> <mount point> <type> <options> <dump> <pass>
  657. # / was on /dev/sda4 during installation
  658. UUID=ecc3e9ec-495d-424e-93e3-c47162fc9aca / ext4 errors=remount-ro 0 1
  659. # /boot/efi was on /dev/sda1 during installation
  660. #UUID=5EF9-3907 /boot/efi vfat umask=0077 0 1
  661. # swap was on /dev/sda3 during installation
  662. UUID=c3157dbc-09a5-4b33-a7b4-7bd3a682c32c none swap sw 0 0
  663. UUID=5EF9-3907 /boot/efi vfat defaults 0 1
  664. --------------------------------------------------------------------------------
  665. =============================== StdErr Messages: ===============================
  666. File descriptor 9 (/proc/3033/mounts) leaked on lvs invocation. Parent PID 16777: bash
  667. File descriptor 63 (pipe:[29382]) leaked on lvs invocation. Parent PID 16777: bash
  668. No volume groups found
  669. ADDITIONAL INFORMATION :
  670. =================== log of boot-repair 2016-03-28__06h22 ===================
  671. boot-repair version : 4ppa35
  672. boot-sav version : 4ppa35
  673. glade2script version : 3.2.2~ppa47~saucy
  674. boot-sav-extra version :
  675. File descriptor 9 (/proc/3033/mounts) leaked on lvs invocation. Parent PID 4855: /bin/sh
  676. No volume groups found
  677. boot-repair is executed in installed-session (Linux Mint 17.3 Rosa, rosa, LinuxMint, x86_64)
  678. CPU op-mode(s): 32-bit, 64-bit
  679. BOOT_IMAGE=/vmlinuz root=/dev/sda2
  680. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  681. =================== os-prober:
  682. /dev/sda2:The OS now in use - Linux Mint 17.3 Rosa CurrentSession:linux
  683. /dev/sda4:Ubuntu Xenial Xerus (development branch) (16.04):Ubuntu:linux
  684. =================== blkid:
  685. /dev/sda1: UUID="5EF9-3907" TYPE="vfat"
  686. /dev/sda2: UUID="9fbb8f15-fb73-4e99-95c8-d62483c02c6e" TYPE="ext4"
  687. /dev/sda3: UUID="c3157dbc-09a5-4b33-a7b4-7bd3a682c32c" TYPE="swap"
  688. /dev/sda4: UUID="ecc3e9ec-495d-424e-93e3-c47162fc9aca" TYPE="ext4"
  689. 1 disks with OS, 2 OS : 2 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  690. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
  691. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  692. /boot/efi detected in the fstab of sda2: UUID=5EF9-3907 (sda1)
  693. Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  694. Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootx64.efi
  695. Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
  696. =================== sda4/etc/grub.d/ :
  697. drwxr-xr-x 2 root root 4096 Mar 27 21:53 grub.d
  698. total 80
  699. -rwxr-xr-x 1 root root 9791 Mar 18 23:14 00_header
  700. -rwxr-xr-x 1 root root 6258 Mar 15 14:08 05_debian_theme
  701. -rwxr-xr-x 1 root root 12261 Mar 18 23:14 10_linux
  702. -rwxr-xr-x 1 root root 11082 Mar 18 23:14 20_linux_xen
  703. -rwxr-xr-x 1 root root 1992 Jan 28 07:44 20_memtest86+
  704. -rwxr-xr-x 1 root root 305 Mar 27 21:53 25_custom
  705. -rwxr-xr-x 1 root root 11692 Mar 18 23:14 30_os-prober
  706. -rwxr-xr-x 1 root root 1418 Mar 18 23:14 30_uefi-firmware
  707. -rwxr-xr-x 1 root root 214 Mar 18 23:14 40_custom
  708. -rwxr-xr-x 1 root root 216 Mar 18 23:14 41_custom
  709. -rw-r--r-- 1 root root 483 Mar 18 23:14 README
  710. =================== sda4/etc/default/grub :
  711. # If you change this file, run 'update-grub' afterwards to update
  712. # /boot/grub/grub.cfg.
  713. # For full documentation of the options in this file, see:
  714. # info -f grub -n 'Simple configuration'
  715. GRUB_DEFAULT=0
  716. #GRUB_HIDDEN_TIMEOUT=0
  717. GRUB_HIDDEN_TIMEOUT_QUIET=true
  718. GRUB_TIMEOUT=10
  719. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  720. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  721. GRUB_CMDLINE_LINUX=""
  722. # Uncomment to enable BadRAM filtering, modify to suit your needs
  723. # This works with Linux (no patch required) and with any kernel that obtains
  724. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  725. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  726. # Uncomment to disable graphical terminal (grub-pc only)
  727. #GRUB_TERMINAL=console
  728. # The resolution used on graphical terminal
  729. # note that you can use only modes which your graphic card supports via VBE
  730. # you can see them in real GRUB with the command `vbeinfo'
  731. #GRUB_GFXMODE=640x480
  732. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  733. #GRUB_DISABLE_LINUX_UUID=true
  734. # Uncomment to disable generation of recovery mode menu entries
  735. #GRUB_DISABLE_RECOVERY="true"
  736. # Uncomment to get a beep at grub start
  737. #GRUB_INIT_TUNE="480 440 1"
  738. /boot/efi detected in the fstab of sda4: UUID=5EF9-3907 (sda1)
  739. =================== efibootmgr -v
  740. BootCurrent: 0001
  741. Timeout: 0 seconds
  742. BootOrder: 0000,2001,2002,2003
  743. Boot0000* Windows Boot Manager HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIMicrosoftBootbootmgfw.efi)RC
  744. Boot0001* Unknown Device: HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIubuntushimx64.efi)RC
  745. Boot2001* EFI USB Device RC
  746. Boot2002* EFI DVD/CDROM RC
  747. Boot2003* EFI Network RC
  748. =================== UEFI/Legacy mode:
  749. BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
  750. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  751. =================== PARTITIONS & DISKS:
  752. sda2 : sda, not-sepboot, no-grubenv nogrub, grub-pc , no-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, nogrubinstall, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, .
  753. sda1 : 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, not-far, /boot/efi.
  754. sda4 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
  755. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  756. =================== parted -l:
  757. Model: ATA WDC WD5000LPVX-2 (scsi)
  758. Disk /dev/sda: 500GB
  759. Sector size (logical/physical): 512B/4096B
  760. Partition Table: gpt
  761. Number Start End Size File system Name Flags
  762. 1 1049kB 538MB 537MB fat32 boot
  763. 2 538MB 254GB 253GB ext4
  764. 4 254GB 496GB 242GB ext4
  765. 3 496GB 500GB 4171MB linux-swap(v1)
  766. =================== parted -lm:
  767. BYT;
  768. /dev/sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000LPVX-2;
  769. 1:1049kB:538MB:537MB:fat32::boot;
  770. 2:538MB:254GB:253GB:ext4::;
  771. 4:254GB:496GB:242GB:ext4::;
  772. 3:496GB:500GB:4171MB:linux-swap(v1)::;
  773. =================== lsblk:
  774. KNAME TYPE FSTYPE SIZE LABEL
  775. sda disk 465.8G
  776. sda1 part vfat 512M
  777. sda2 part ext4 235.9G
  778. sda3 part swap 3.9G
  779. sda4 part ext4 225.5G
  780. KNAME ROTA RO RM STATE MOUNTPOINT
  781. sda 1 0 0 running
  782. sda1 1 0 0 /boot/efi
  783. sda2 1 0 0 /
  784. sda3 1 0 0 [SWAP]
  785. sda4 1 0 0 /mnt/boot-sav/sda4
  786. =================== mount:
  787. /dev/sda2 on / type ext4 (rw,errors=remount-ro)
  788. proc on /proc type proc (rw,noexec,nosuid,nodev)
  789. sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  790. none on /sys/fs/cgroup type tmpfs (rw)
  791. none on /sys/fs/fuse/connections type fusectl (rw)
  792. none on /sys/kernel/debug type debugfs (rw)
  793. none on /sys/kernel/security type securityfs (rw)
  794. none on /sys/firmware/efi/efivars type efivarfs (rw)
  795. udev on /dev type devtmpfs (rw,mode=0755)
  796. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  797. tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  798. none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
  799. none on /run/shm type tmpfs (rw,nosuid,nodev)
  800. none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
  801. none on /sys/fs/pstore type pstore (rw)
  802. /dev/sda1 on /boot/efi type vfat (rw)
  803. binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
  804. systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
  805. gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=larry)
  806. /dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw)
  807. =================== ls:
  808. /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
  809. /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sg0 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 zero
  810. ls /dev/mapper: control
  811. ls: cannot access : No such file or directory
  812. =================== hexdump -n512 -C /dev/sda1
  813. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  814. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  815. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  816. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  817. 00000040 80 01 29 07 39 f9 5e 4e 4f 20 4e 41 4d 45 20 20 |..).9.^NO NAME |
  818. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  819. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  820. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  821. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  822. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  823. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  824. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  825. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  826. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  827. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  828. *
  829. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  830. 00000200
  831. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  832. =================== df -Th:
  833. Filesystem Type Size Used Avail Use% Mounted on
  834. /dev/sda2 ext4 233G 7.8G 213G 4% /
  835. none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
  836. udev devtmpfs 1.9G 12K 1.9G 1% /dev
  837. tmpfs tmpfs 384M 1.5M 383M 1% /run
  838. none tmpfs 5.0M 0 5.0M 0% /run/lock
  839. none tmpfs 1.9G 11M 1.9G 1% /run/shm
  840. none tmpfs 100M 28K 100M 1% /run/user
  841. /dev/sda1 vfat 511M 7.3M 504M 2% /boot/efi
  842. /dev/sda4 ext4 222G 4.3G 207G 3% /mnt/boot-sav/sda4
  843. =================== fdisk -l:
  844. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  845. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  846. Units = sectors of 1 * 512 = 512 bytes
  847. Sector size (logical/physical): 512 bytes / 4096 bytes
  848. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  849. Disk identifier: 0xa94fa619
  850. Device Boot Start End Blocks Id System
  851. /dev/sda1 1 976773167 488386583+ ee GPT
  852. Partition 1 does not start on physical sector boundary.
  853. =================== Default settings of Boot Repair
  854. The default repair of the Boot-Repair utility would purge (in order to fix packages sign-grub fix executable) and reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  855. Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  856. =================== Final advice in case of suggested repair
  857. The boot files of [The OS now in use - Linux Mint 17.3 Rosa] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)
  858. =================== User settings
  859. The settings chosen by the user will purge (in order to fix packages sign-grub fix executable) and reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  860. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  861. rm /boot/efi/efi/Microsoft/Boot/bootmgfw.efi /boot/efi/efi/Microsoft/Boot/bootmgfw.efi.grb
  862. rm /boot/efi/efi/Microsoft/Boot/bootx64.efi /boot/efi/efi/Microsoft/Boot/bootx64.efi.grb
  863. rm /boot/efi/efi/Boot/bootx64.efi /boot/efi/efi/Boot/bootx64.efi.grb
  864. sda2/boot/efi not empty
  865. apt-get -y --force-yes update
  866. Purge the GRUB of sda2
  867. cp: cannot stat ‘/etc/default/grub’: No such file or directory
  868. grub-efi-amd64-signed available
  869. The following package was automatically installed and is no longer required:
  870. shim
  871. Use 'apt-get autoremove' to remove it.
  872. The following extra packages will be installed:
  873. grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
  874. Suggested packages:
  875. multiboot-doc grub-emu xorriso desktop-base
  876. Recommended packages:
  877. secureboot-db
  878. The following NEW packages will be installed:
  879. grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  880. grub2-common
  881. 0 upgraded, 5 newly installed, 0 to remove and 291 not upgraded.
  882. DEBCHECK debOK, grub-efi-amd64-signed
  883. DEBCHECK debOK
  884. shim-signed available
  885. linux-signed-generic available
  886. Then type: sudo dpkg --configure -ansudo apt-get install -fynsudo apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
  887. /boot/efi detected in the fstab of sda2: UUID=5EF9-3907 (sda1)
  888. =================== /etc/grub.d/ :
  889. drwxr-xr-x 2 root root 4096 Mar 28 06:27 grub.d
  890. drwxr-xr-x 2 root root 4096 Mar 27 19:36 grub.d.bak
  891. total 72
  892. -rwxr-xr-x 1 root root 9791 Dec 17 10:00 00_header
  893. -rwxr-xr-x 1 root root 6058 May 13 2015 05_debian_theme
  894. -rwxr-xr-x 1 root root 11608 Dec 17 10:00 10_linux
  895. -rwxr-xr-x 1 root root 10412 Dec 17 10:00 20_linux_xen
  896. -rwxr-xr-x 1 root root 11692 Dec 17 10:00 30_os-prober
  897. -rwxr-xr-x 1 root root 1416 Dec 17 10:00 30_uefi-firmware
  898. -rwxr-xr-x 1 root root 214 Dec 17 10:00 40_custom
  899. -rwxr-xr-x 1 root root 216 Dec 17 10:00 41_custom
  900. -rw-r--r-- 1 root root 483 Dec 17 10:00 README
  901. =================== /etc/default/grub :
  902. # If you change this file, run 'update-grub' afterwards to update
  903. # /boot/grub/grub.cfg.
  904. # For full documentation of the options in this file, see:
  905. # info -f grub -n 'Simple configuration'
  906. GRUB_DEFAULT=0
  907. GRUB_HIDDEN_TIMEOUT=0
  908. GRUB_HIDDEN_TIMEOUT_QUIET=true
  909. GRUB_TIMEOUT=10
  910. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  911. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  912. GRUB_CMDLINE_LINUX=""
  913. # Uncomment to enable BadRAM filtering, modify to suit your needs
  914. # This works with Linux (no patch required) and with any kernel that obtains
  915. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  916. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  917. # Uncomment to disable graphical terminal (grub-pc only)
  918. #GRUB_TERMINAL=console
  919. # The resolution used on graphical terminal
  920. # note that you can use only modes which your graphic card supports via VBE
  921. # you can see them in real GRUB with the command `vbeinfo'
  922. #GRUB_GFXMODE=640x480
  923. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  924. #GRUB_DISABLE_LINUX_UUID=true
  925. # Uncomment to disable generation of recovery mode menu entries
  926. #GRUB_DISABLE_RECOVERY="true"
  927. # Uncomment to get a beep at grub start
  928. #GRUB_INIT_TUNE="480 440 1"
  929. /boot/efi detected in the fstab of sda2: UUID=5EF9-3907 (sda1)
  930. Unhide GRUB boot menu in sda2/etc/default/grub
  931. =================== /etc/grub.d/ :
  932. drwxr-xr-x 2 root root 4096 Mar 28 06:27 grub.d
  933. drwxr-xr-x 2 root root 4096 Mar 27 19:36 grub.d.bak
  934. total 72
  935. -rwxr-xr-x 1 root root 9791 Dec 17 10:00 00_header
  936. -rwxr-xr-x 1 root root 6058 May 13 2015 05_debian_theme
  937. -rwxr-xr-x 1 root root 11608 Dec 17 10:00 10_linux
  938. -rwxr-xr-x 1 root root 10412 Dec 17 10:00 20_linux_xen
  939. -rwxr-xr-x 1 root root 11692 Dec 17 10:00 30_os-prober
  940. -rwxr-xr-x 1 root root 1416 Dec 17 10:00 30_uefi-firmware
  941. -rwxr-xr-x 1 root root 214 Dec 17 10:00 40_custom
  942. -rwxr-xr-x 1 root root 216 Dec 17 10:00 41_custom
  943. -rw-r--r-- 1 root root 483 Dec 17 10:00 README
  944. =================== /etc/default/grub :
  945. # If you change this file, run 'update-grub' afterwards to update
  946. # /boot/grub/grub.cfg.
  947. # For full documentation of the options in this file, see:
  948. # info -f grub -n 'Simple configuration'
  949. GRUB_DEFAULT=0
  950. #GRUB_HIDDEN_TIMEOUT=0
  951. GRUB_HIDDEN_TIMEOUT_QUIET=true
  952. GRUB_TIMEOUT=10
  953. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  954. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  955. GRUB_CMDLINE_LINUX=""
  956. # Uncomment to enable BadRAM filtering, modify to suit your needs
  957. # This works with Linux (no patch required) and with any kernel that obtains
  958. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  959. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  960. # Uncomment to disable graphical terminal (grub-pc only)
  961. #GRUB_TERMINAL=console
  962. # The resolution used on graphical terminal
  963. # note that you can use only modes which your graphic card supports via VBE
  964. # you can see them in real GRUB with the command `vbeinfo'
  965. #GRUB_GFXMODE=640x480
  966. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  967. #GRUB_DISABLE_LINUX_UUID=true
  968. # Uncomment to disable generation of recovery mode menu entries
  969. #GRUB_DISABLE_RECOVERY="true"
  970. # Uncomment to get a beep at grub start
  971. #GRUB_INIT_TUNE="480 440 1"
  972. /boot/efi detected in the fstab of sda2: UUID=5EF9-3907 (sda1)
  973. *******lspci -nnk | grep -iA3 vga
  974. 00:02.0 VGA compatible controller [0300]: Intel Corporation ValleyView Gen7 [8086:0f31] (rev 0c)
  975. Subsystem: Acer Incorporated [ALI] Device [1025:0936]
  976. Kernel driver in use: i915
  977. 00:13.0 SATA controller [0106]: Intel Corporation ValleyView 6-Port SATA AHCI Controller [8086:0f23] (rev 0c)
  978. *******
  979. grub-install --version
  980. grub-install (GRUB) 2.02~beta2-9ubuntu1.7,grub-install (GRUB) 2.
  981. efibootmgr -v
  982. BootCurrent: 0001
  983. Timeout: 0 seconds
  984. BootOrder: 0002,0000,2001,2002,2003
  985. Boot0000* Windows Boot Manager HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIMicrosoftBootbootmgfw.efi)RC
  986. Boot0001* Unknown Device: HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIubuntushimx64.efi)RC
  987. Boot0002* ubuntu HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIubuntugrubx64.efi)
  988. Boot2001* EFI USB Device RC
  989. Boot2002* EFI DVD/CDROM RC
  990. Boot2003* EFI Network RC
  991. uname -r
  992. Kernel: 3.19.0-32-generic
  993. Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of sda2
  994. Installing for x86_64-efi platform.
  995. Installation finished. No error reported.
  996. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  997. ls sda1/efi: /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot
  998. df /dev/sda1
  999. cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  1000. df /dev/sda1
  1001. cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  1002. df /dev/sda1
  1003. cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi (& .grb)
  1004. ls sda1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /ubuntu/fwupx64.efi /ubuntu/fw /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  1005. Add /boot/efi efi entries in /etc/grub.d/25_custom
  1006. Adding custom /boot/efi/EFI/ubuntu/fwupx64.efi
  1007. Adding custom /boot/efi/EFI/ubuntu/MokManager.efi
  1008. efibootmgr -v
  1009. BootCurrent: 0001
  1010. Timeout: 0 seconds
  1011. BootOrder: 0002,0000,2001,2002,2003
  1012. Boot0000* Windows Boot Manager HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIMicrosoftBootbootmgfw.efi)RC
  1013. Boot0001* Unknown Device: HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIubuntushimx64.efi)RC
  1014. Boot0002* ubuntu HD(1,800,100000,afb09df9-69c0-4a1a-ae92-6c5d65e86d5a)File(EFIubuntugrubx64.efi)
  1015. Boot2001* EFI USB Device RC
  1016. Boot2002* EFI DVD/CDROM RC
  1017. Boot2003* EFI Network RC
  1018. update-grub
  1019. Generating grub configuration file ...
  1020. Found linux image: /boot/vmlinuz-3.19.0-32-generic
  1021. Found initrd image: /boot/initrd.img-3.19.0-32-generic
  1022. File descriptor 9 (/proc/3033/mounts) leaked on lvs invocation. Parent PID 12236: /bin/sh
  1023. File descriptor 63 (pipe:[29382]) leaked on lvs invocation. Parent PID 12236: /bin/sh
  1024. No volume groups found
  1025. Found Ubuntu Xenial Xerus (development branch) (16.04) on /dev/sda4
  1026. Adding boot menu entry for EFI firmware configuration
  1027. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  1028. Boot successfully repaired.
  1029. You can now reboot your computer.
  1030. The boot files of [The OS now in use - Linux Mint 17.3 Rosa] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)
  1031. pastebinit packages needed
  1032. dpkg-preconfigure: unable to re-open stdin: No such file or directory