1. Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
  2. ============================= Boot Info Summary: ===============================
  3. => No boot loader is installed in the MBR of /dev/sda.
  4. => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
  5. sda1: __________________________________________________________________________
  6. File system: vfat
  7. Boot sector type: FAT32
  8. Boot sector info: No errors found in the Boot Parameter Block.
  9. Operating System:
  10. Boot files: /EFI/Boot/bootx64.efi /EFI/peppermint/MokManager.efi
  11. /EFI/peppermint/grubx64.efi
  12. /EFI/peppermint/shimx64.efi
  13. /EFI/Microsoft/Boot/bootmgfw.efi
  14. /EFI/Microsoft/Boot/bootx64.efi
  15. sda2: __________________________________________________________________________
  16. File system: ext4
  17. Boot sector type: -
  18. Boot sector info:
  19. Operating System: Peppermint Six
  20. Boot files: /boot/grub/grub.cfg /etc/fstab
  21. sda3: __________________________________________________________________________
  22. File system: swap
  23. Boot sector type: -
  24. Boot sector info:
  25. sdb1: __________________________________________________________________________
  26. File system: vfat
  27. Boot sector type: SYSLINUX 4.05 20140113
  28. Boot sector info: Syslinux looks at sector 1443744 of /dev/sdb1 for its
  29. second stage. SYSLINUX is installed in the directory.
  30. No errors found in the Boot Parameter Block.
  31. Operating System:
  32. Boot files: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
  33. /EFI/BOOT/grubx64.efi /ldlinux.sys
  34. ============================ Drive/Partition Info: =============================
  35. Drive: sda _____________________________________________________________________
  36. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  37. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  38. Units = sectors of 1 * 512 = 512 bytes
  39. Sector size (logical/physical): 512 bytes / 4096 bytes
  40. Partition Boot Start Sector End Sector # of Sectors Id System
  41. /dev/sda1 1 976,773,167 976,773,167 ee GPT
  42. GUID Partition Table detected.
  43. Partition Start Sector End Sector # of Sectors System
  44. /dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
  45. /dev/sda2 1,050,624 968,613,887 967,563,264 Data partition (Linux)
  46. /dev/sda3 968,613,888 976,771,071 8,157,184 Swap partition (Linux)
  47. Drive: sdb _____________________________________________________________________
  48. Disk /dev/sdb: 4007 MB, 4007264256 bytes
  49. 74 heads, 10 sectors/track, 10576 cylinders, total 7826688 sectors
  50. Units = sectors of 1 * 512 = 512 bytes
  51. Sector size (logical/physical): 512 bytes / 512 bytes
  52. Partition Boot Start Sector End Sector # of Sectors Id System
  53. /dev/sdb1 * 8,064 7,826,687 7,818,624 c W95 FAT32 (LBA)
  54. "blkid" output: ________________________________________________________________
  55. Device UUID TYPE LABEL
  56. /dev/loop0 squashfs
  57. /dev/sda1 2FAE-E1E1 vfat
  58. /dev/sda2 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4 ext4
  59. /dev/sda3 79e1d4d9-3b41-44bf-84d4-70032ea161e5 swap
  60. /dev/sdb1 892A-165C vfat USB DISK
  61. ========================= "ls -l /dev/disk/by-id" output: ======================
  62. total 0
  63. lrwxrwxrwx 1 root root 9 Jul 5 04:22 ata-TOSHIBA_MQ01ABF050_94QBWAOXT -> ../../sda
  64. lrwxrwxrwx 1 root root 10 Jul 5 04:12 ata-TOSHIBA_MQ01ABF050_94QBWAOXT-part1 -> ../../sda1
  65. lrwxrwxrwx 1 root root 10 Jul 5 04:12 ata-TOSHIBA_MQ01ABF050_94QBWAOXT-part2 -> ../../sda2
  66. lrwxrwxrwx 1 root root 10 Jul 5 04:12 ata-TOSHIBA_MQ01ABF050_94QBWAOXT-part3 -> ../../sda3
  67. lrwxrwxrwx 1 root root 9 Jul 5 04:12 ata-hp_DVDRW_SU208FB_S15P6YEF704ZX9 -> ../../sr0
  68. lrwxrwxrwx 1 root root 9 Jul 5 04:19 usb-SMI_USB_DISK_AA00000000002481-0:0 -> ../../sdb
  69. lrwxrwxrwx 1 root root 10 Jul 5 04:12 usb-SMI_USB_DISK_AA00000000002481-0:0-part1 -> ../../sdb1
  70. lrwxrwxrwx 1 root root 9 Jul 5 04:22 wwn-0x50000395c4989255 -> ../../sda
  71. lrwxrwxrwx 1 root root 10 Jul 5 04:12 wwn-0x50000395c4989255-part1 -> ../../sda1
  72. lrwxrwxrwx 1 root root 10 Jul 5 04:12 wwn-0x50000395c4989255-part2 -> ../../sda2
  73. lrwxrwxrwx 1 root root 10 Jul 5 04:12 wwn-0x50000395c4989255-part3 -> ../../sda3
  74. ================================ Mount points: =================================
  75. Device Mount_Point Type Options
  76. /dev/loop0 /rofs squashfs (ro,noatime)
  77. /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  78. =========================== sda2/boot/grub/grub.cfg: ===========================
  79. --------------------------------------------------------------------------------
  80. #
  81. # DO NOT EDIT THIS FILE
  82. #
  83. # It is automatically generated by grub-mkconfig using templates
  84. # from /etc/grub.d and settings from /etc/default/grub
  85. #
  86. ### BEGIN /etc/grub.d/00_header ###
  87. if [ -s $prefix/grubenv ]; then
  88. set have_grubenv=true
  89. load_env
  90. fi
  91. if [ "${next_entry}" ] ; then
  92. set default="${next_entry}"
  93. set next_entry=
  94. save_env next_entry
  95. set boot_once=true
  96. else
  97. set default="0"
  98. fi
  99. if [ x"${feature_menuentry_id}" = xy ]; then
  100. menuentry_id_option="--id"
  101. else
  102. menuentry_id_option=""
  103. fi
  104. export menuentry_id_option
  105. if [ "${prev_saved_entry}" ]; then
  106. set saved_entry="${prev_saved_entry}"
  107. save_env saved_entry
  108. set prev_saved_entry=
  109. save_env prev_saved_entry
  110. set boot_once=true
  111. fi
  112. function savedefault {
  113. if [ -z "${boot_once}" ]; then
  114. saved_entry="${chosen}"
  115. save_env saved_entry
  116. fi
  117. }
  118. function recordfail {
  119. set recordfail=1
  120. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  121. }
  122. function load_video {
  123. if [ x$feature_all_video_module = xy ]; then
  124. insmod all_video
  125. else
  126. insmod efi_gop
  127. insmod efi_uga
  128. insmod ieee1275_fb
  129. insmod vbe
  130. insmod vga
  131. insmod video_bochs
  132. insmod video_cirrus
  133. fi
  134. }
  135. if [ x$feature_default_font_path = xy ] ; then
  136. font=unicode
  137. else
  138. insmod part_gpt
  139. insmod ext2
  140. set root='hd0,gpt2'
  141. if [ x$feature_platform_search_hint = xy ]; then
  142. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  143. else
  144. search --no-floppy --fs-uuid --set=root 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  145. fi
  146. font="/usr/share/grub/unicode.pf2"
  147. fi
  148. if loadfont $font ; then
  149. set gfxmode=auto
  150. load_video
  151. insmod gfxterm
  152. set locale_dir=$prefix/locale
  153. set lang=en_US
  154. insmod gettext
  155. fi
  156. terminal_output gfxterm
  157. if [ "${recordfail}" = 1 ] ; then
  158. set timeout=10
  159. else
  160. if [ x$feature_timeout_style = xy ] ; then
  161. set timeout_style=menu
  162. set timeout=10
  163. # Fallback normal timeout code in case the timeout_style feature is
  164. # unavailable.
  165. else
  166. set timeout=10
  167. fi
  168. fi
  169. ### END /etc/grub.d/00_header ###
  170. ### BEGIN /etc/grub.d/05_debian_theme ###
  171. set menu_color_normal=light-gray/black
  172. set menu_color_highlight=white/red
  173. ### END /etc/grub.d/05_debian_theme ###
  174. ### BEGIN /etc/grub.d/10_linux ###
  175. function gfxmode {
  176. set gfxpayload="${1}"
  177. if [ "${1}" = "keep" ]; then
  178. set vt_handoff=vt.handoff=7
  179. else
  180. set vt_handoff=
  181. fi
  182. }
  183. if [ "${recordfail}" != 1 ]; then
  184. if [ -e ${prefix}/gfxblacklist.txt ]; then
  185. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  186. if [ ${match} = 0 ]; then
  187. set linux_gfx_mode=keep
  188. else
  189. set linux_gfx_mode=text
  190. fi
  191. else
  192. set linux_gfx_mode=text
  193. fi
  194. else
  195. set linux_gfx_mode=keep
  196. fi
  197. else
  198. set linux_gfx_mode=text
  199. fi
  200. export linux_gfx_mode
  201. menuentry 'Peppermint GNU/Linux' --class peppermint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4' {
  202. recordfail
  203. load_video
  204. gfxmode $linux_gfx_mode
  205. insmod gzio
  206. insmod part_gpt
  207. insmod ext2
  208. set root='hd0,gpt2'
  209. if [ x$feature_platform_search_hint = xy ]; then
  210. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  211. else
  212. search --no-floppy --fs-uuid --set=root 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  213. fi
  214. linux /boot/vmlinuz-3.16.0-37-generic.efi.signed root=UUID=1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4 ro quiet splash $vt_handoff
  215. initrd /boot/initrd.img-3.16.0-37-generic
  216. }
  217. submenu 'Advanced options for Peppermint GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4' {
  218. menuentry 'Peppermint GNU/Linux, with Linux 3.16.0-37-generic' --class peppermint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-37-generic-advanced-1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4' {
  219. recordfail
  220. load_video
  221. gfxmode $linux_gfx_mode
  222. insmod gzio
  223. insmod part_gpt
  224. insmod ext2
  225. set root='hd0,gpt2'
  226. if [ x$feature_platform_search_hint = xy ]; then
  227. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  228. else
  229. search --no-floppy --fs-uuid --set=root 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  230. fi
  231. echo 'Loading Linux 3.16.0-37-generic ...'
  232. linux /boot/vmlinuz-3.16.0-37-generic.efi.signed root=UUID=1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4 ro quiet splash $vt_handoff
  233. echo 'Loading initial ramdisk ...'
  234. initrd /boot/initrd.img-3.16.0-37-generic
  235. }
  236. menuentry 'Peppermint GNU/Linux, with Linux 3.16.0-37-generic (recovery mode)' --class peppermint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-37-generic-recovery-1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4' {
  237. recordfail
  238. load_video
  239. insmod gzio
  240. insmod part_gpt
  241. insmod ext2
  242. set root='hd0,gpt2'
  243. if [ x$feature_platform_search_hint = xy ]; then
  244. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  245. else
  246. search --no-floppy --fs-uuid --set=root 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  247. fi
  248. echo 'Loading Linux 3.16.0-37-generic ...'
  249. linux /boot/vmlinuz-3.16.0-37-generic.efi.signed root=UUID=1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4 ro recovery nomodeset
  250. echo 'Loading initial ramdisk ...'
  251. initrd /boot/initrd.img-3.16.0-37-generic
  252. }
  253. }
  254. ### END /etc/grub.d/10_linux ###
  255. ### BEGIN /etc/grub.d/20_linux_xen ###
  256. ### END /etc/grub.d/20_linux_xen ###
  257. ### BEGIN /etc/grub.d/20_memtest86+ ###
  258. ### END /etc/grub.d/20_memtest86+ ###
  259. ### BEGIN /etc/grub.d/25_custom ###
  260. menuentry "EFI/peppermint/MokManager.efi" {
  261. search --fs-uuid --no-floppy --set=root 2FAE-E1E1
  262. chainloader (${root})/EFI/peppermint/MokManager.efi
  263. }
  264. ### END /etc/grub.d/25_custom ###
  265. ### BEGIN /etc/grub.d/30_os-prober ###
  266. ### END /etc/grub.d/30_os-prober ###
  267. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  268. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  269. fwsetup
  270. }
  271. ### END /etc/grub.d/30_uefi-firmware ###
  272. ### BEGIN /etc/grub.d/40_custom ###
  273. # This file provides an easy way to add custom menu entries. Simply type the
  274. # menu entries you want to add after this comment. Be careful not to change
  275. # the 'exec tail' line above.
  276. ### END /etc/grub.d/40_custom ###
  277. ### BEGIN /etc/grub.d/41_custom ###
  278. if [ -f ${config_directory}/custom.cfg ]; then
  279. source ${config_directory}/custom.cfg
  280. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  281. source $prefix/custom.cfg;
  282. fi
  283. ### END /etc/grub.d/41_custom ###
  284. --------------------------------------------------------------------------------
  285. =============================== sda2/etc/fstab: ================================
  286. --------------------------------------------------------------------------------
  287. # /etc/fstab: static file system information.
  288. #
  289. # Use 'blkid' to print the universally unique identifier for a
  290. # device; this may be used with UUID= as a more robust way to name devices
  291. # that works even if disks are added and removed. See fstab(5).
  292. #
  293. # <file system> <mount point> <type> <options> <dump> <pass>
  294. # / was on /dev/sda2 during installation
  295. UUID=1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4 / ext4 errors=remount-ro 0 1
  296. # /boot/efi was on /dev/sda1 during installation
  297. #UUID=2FAE-E1E1 /boot/efi vfat defaults 0 1
  298. # swap was on /dev/sda3 during installation
  299. UUID=79e1d4d9-3b41-44bf-84d4-70032ea161e5 none swap sw 0 0
  300. UUID=2FAE-E1E1 /boot/efi vfat defaults 0 1
  301. --------------------------------------------------------------------------------
  302. =========================== sdb1/boot/grub/grub.cfg: ===========================
  303. --------------------------------------------------------------------------------
  304. if loadfont /boot/grub/font.pf2 ; then
  305. set gfxmode=auto
  306. insmod efi_gop
  307. insmod efi_uga
  308. insmod gfxterm
  309. terminal_output gfxterm
  310. fi
  311. set menu_color_normal=white/black
  312. set menu_color_highlight=black/light-gray
  313. menuentry "Try Peppermint without installing" {
  314. set gfxpayload=keep
  315. linux /casper/vmlinuz.efi file=/cdrom/preseed/peppermint.seed boot=casper quiet splash --
  316. initrd /casper/initrd.lz
  317. }
  318. menuentry "Install Peppermint" {
  319. set gfxpayload=keep
  320. linux /casper/vmlinuz.efi file=/cdrom/preseed/peppermint.seed boot=casper only-ubiquity quiet splash --
  321. initrd /casper/initrd.lz
  322. }
  323. menuentry "Check disc for defects" {
  324. set gfxpayload=keep
  325. linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash --
  326. initrd /casper/initrd.lz
  327. }
  328. --------------------------------------------------------------------------------
  329. ============================== sdb1/syslinux.cfg: ==============================
  330. --------------------------------------------------------------------------------
  331. default menu.c32
  332. prompt 0
  333. menu title UNetbootin
  334. timeout 100
  335. label unetbootindefault
  336. menu label Default
  337. kernel /ubnkern
  338. append initrd=/ubninit noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/peppermint.seed boot=casper quiet splash --
  339. label ubnentry0
  340. menu label ^Try Peppermint OS Live
  341. kernel /casper/vmlinuz.efi
  342. append initrd=/casper/initrd.lz noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/peppermint.seed boot=casper quiet splash --
  343. label ubnentry1
  344. menu label ^Install Peppermint OS
  345. kernel /casper/vmlinuz.efi
  346. append initrd=/casper/initrd.lz noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/peppermint.seed boot=casper only-ubiquity quiet splash --
  347. label ubnentry2
  348. menu label ^Check disc for defects
  349. kernel /casper/vmlinuz.efi
  350. append initrd=/casper/initrd.lz noprompt boot=casper integrity-check quiet splash --
  351. label ubnentry3
  352. menu label Test ^memory
  353. kernel /install/mt86plus
  354. append initrd=/ubninit
  355. label ubnentry4
  356. menu label ^Boot from first hard disk
  357. kernel /ubnkern
  358. append initrd=/ubninit
  359. label ubnentry5
  360. menu label Try Peppermint without installing
  361. kernel /casper/vmlinuz.efi
  362. append initrd=/casper/initrd.lz file=/cdrom/preseed/peppermint.seed boot=casper quiet splash --
  363. label ubnentry6
  364. menu label Install Peppermint
  365. kernel /casper/vmlinuz.efi
  366. append initrd=/casper/initrd.lz file=/cdrom/preseed/peppermint.seed boot=casper only-ubiquity quiet splash --
  367. label ubnentry7
  368. menu label Check disc for defects
  369. kernel /casper/vmlinuz.efi
  370. append initrd=/casper/initrd.lz boot=casper integrity-check quiet splash --
  371. --------------------------------------------------------------------------------
  372. ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
  373. menu.c32 : COM32R module (v4.xx)
  374. =============================== StdErr Messages: ===============================
  375. File descriptor 9 (/proc/4473/mounts) leaked on lvs invocation. Parent PID 12914: bash
  376. File descriptor 63 (pipe:[49068]) leaked on lvs invocation. Parent PID 12914: bash
  377. No volume groups found
  378. ADDITIONAL INFORMATION :
  379. =================== log of boot-repair 2015-07-05__04h19 ===================
  380. boot-repair version : 4ppa33
  381. boot-sav version : 4ppa33
  382. glade2script version : 3.2.2~ppa47~saucy
  383. boot-sav-extra version : 4ppa33
  384. boot-repair is executed in live-session (Peppermint Six, trusty, Peppermint, x86_64)
  385. CPU op-mode(s): 32-bit, 64-bit
  386. BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/peppermint.seed boot=casper quiet splash --
  387. ls: cannot access /home/usr/.config: No such file or directory
  388. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  389. =================== os-prober:
  390. /dev/sda2:Peppermint Six (6):Peppermint:linux
  391. =================== blkid:
  392. /dev/loop0: TYPE="squashfs"
  393. /dev/sda1: UUID="2FAE-E1E1" TYPE="vfat"
  394. /dev/sda2: UUID="1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4" TYPE="ext4"
  395. /dev/sda3: UUID="79e1d4d9-3b41-44bf-84d4-70032ea161e5" TYPE="swap"
  396. /dev/sdb1: LABEL="USB DISK" UUID="892A-165C" TYPE="vfat"
  397. 1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
  398. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
  399. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  400. =================== sda2/etc/grub.d/ :
  401. drwxr-xr-x 2 root root 4096 Jul 5 03:32 grub.d
  402. total 76
  403. -rwxr-xr-x 1 root root 9424 Apr 11 2014 00_header
  404. -rwxr-xr-x 1 root root 6064 May 1 23:09 05_debian_theme
  405. -rwxr-xr-x 1 root root 11608 Apr 11 2014 10_linux
  406. -rwxr-xr-x 1 root root 10412 Apr 11 2014 20_linux_xen
  407. -rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
  408. -rwxr-xr-x 1 root root 11692 Apr 11 2014 30_os-prober
  409. -rwxr-xr-x 1 root root 1416 Apr 11 2014 30_uefi-firmware
  410. -rwxr-xr-x 1 root root 214 Apr 11 2014 40_custom
  411. -rwxr-xr-x 1 root root 216 Apr 11 2014 41_custom
  412. -rw-r--r-- 1 root root 483 Apr 11 2014 README
  413. =================== sda2/etc/default/grub :
  414. # If you change this file, run 'update-grub' afterwards to update
  415. # /boot/grub/grub.cfg.
  416. # For full documentation of the options in this file, see:
  417. # info -f grub -n 'Simple configuration'
  418. GRUB_DEFAULT=0
  419. GRUB_HIDDEN_TIMEOUT=0
  420. GRUB_HIDDEN_TIMEOUT_QUIET=true
  421. GRUB_TIMEOUT=10
  422. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  423. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  424. GRUB_CMDLINE_LINUX=""
  425. # Uncomment to enable BadRAM filtering, modify to suit your needs
  426. # This works with Linux (no patch required) and with any kernel that obtains
  427. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  428. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  429. # Uncomment to disable graphical terminal (grub-pc only)
  430. #GRUB_TERMINAL=console
  431. # The resolution used on graphical terminal
  432. # note that you can use only modes which your graphic card supports via VBE
  433. # you can see them in real GRUB with the command `vbeinfo'
  434. #GRUB_GFXMODE=640x480
  435. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  436. #GRUB_DISABLE_LINUX_UUID=true
  437. # Uncomment to disable generation of recovery mode menu entries
  438. #GRUB_DISABLE_RECOVERY="true"
  439. # Uncomment to get a beep at grub start
  440. #GRUB_INIT_TUNE="480 440 1"
  441. /boot/efi detected in the fstab of sda2: UUID=2FAE-E1E1 (sda1)
  442. =================== efibootmgr -v
  443. BootCurrent: 0002
  444. Timeout: 0 seconds
  445. BootOrder: 2001,0003,3003,2002,2004
  446. Boot0000* USB Hard Drive - SMI USB DISK BIOS(7,500,5553422048617264204472697665202d20534d492020202020555342204449534b00)....................................................................v.......A...........................
  447. Boot0001* Notebook Hard Drive - TOSHIBA MQ01ABF050 BIOS(2,500,4e6f7465626f6f6b2048617264204472697665202d20544f5348494241204d51303141424630353000)................-...........A.....................................J.v.......A.........................
  448. Boot0002* USB Hard Drive (UEFI) - SMI USB DISK ACPI(a0341d0,0)PCI(14,0)USB(2,0)USB(1,0)HD(1,1f80,774d80,c3072e18)RC
  449. Boot0003* peppermint HD(1,800,100000,76e7463c-3277-4f48-8300-1553dbbde96c)File(EFIpeppermintshimx64.efi)
  450. Boot2001* EFI USB Device RC
  451. Boot2002* EFI DVD/CDROM RC
  452. Boot3003* Internal Hard Disk or Solid State Disk RC
  453. =================== UEFI/Legacy mode:
  454. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  455. SecureBoot disabled. (maybe sec-boot, Please report this message to [email protected])
  456. =================== PARTITIONS & DISKS:
  457. 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, /mnt/boot-sav/sda1.
  458. sda2 : 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/sda2.
  459. sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
  460. =================== parted -l:
  461. Model: ATA TOSHIBA MQ01ABF0 (scsi)
  462. Disk /dev/sda: 500GB
  463. Sector size (logical/physical): 512B/4096B
  464. Partition Table: gpt
  465. Number Start End Size File system Name Flags
  466. 1 1049kB 538MB 537MB fat32 boot
  467. 2 538MB 496GB 495GB ext4
  468. 3 496GB 500GB 4176MB linux-swap(v1)
  469. Model: SMI USB DISK (scsi)
  470. Disk /dev/sdb: 4007MB
  471. Sector size (logical/physical): 512B/512B
  472. Partition Table: msdos
  473. Number Start End Size Type File system Flags
  474. 1 4129kB 4007MB 4003MB primary fat32 boot, lba
  475. =================== parted -lm:
  476. BYT;
  477. /dev/sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABF0;
  478. 1:1049kB:538MB:537MB:fat32::boot;
  479. 2:538MB:496GB:495GB:ext4::;
  480. 3:496GB:500GB:4176MB:linux-swap(v1)::;
  481. BYT;
  482. /dev/sdb:4007MB:scsi:512:512:msdos:SMI USB DISK;
  483. 1:4129kB:4007MB:4003MB:fat32::boot, lba;
  484. =================== lsblk:
  485. KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
  486. sda disk 465.8G TOSHIBA
  487. sda1 part vfat 512M 2FAE-E1E1
  488. sda2 part ext4 461.4G 1feb6a28-be4a-4c89-b2ec-d04a3d9bfae4
  489. sda3 part swap 3.9G 79e1d4d9-3b41-44bf-84d4-70032ea161e5
  490. sdb disk 3.7G USB DISK
  491. sdb1 part vfat 3.7G USB DISK 892A-165C
  492. sr0 rom 1024M DVDRW S
  493. loop0 loop squashfs 622.5M
  494. KNAME ROTA RO RM STATE MOUNTPOINT
  495. sda 1 0 0 running
  496. sda1 1 0 0 /mnt/boot-sav/sda1
  497. sda2 1 0 0 /mnt/boot-sav/sda2
  498. sda3 1 0 0 [SWAP]
  499. sdb 1 0 1 running
  500. sdb1 1 0 1 /cdrom
  501. sr0 1 0 1 running
  502. loop0 1 1 0 /rofs
  503. =================== mount:
  504. /cow on / type overlayfs (rw)
  505. proc on /proc type proc (rw,noexec,nosuid,nodev)
  506. sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  507. udev on /dev type devtmpfs (rw,mode=0755)
  508. devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  509. tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  510. /dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  511. /dev/loop0 on /rofs type squashfs (ro,noatime)
  512. none on /sys/fs/cgroup type tmpfs (rw)
  513. none on /sys/fs/fuse/connections type fusectl (rw)
  514. none on /sys/kernel/debug type debugfs (rw)
  515. none on /sys/kernel/security type securityfs (rw)
  516. none on /sys/firmware/efi/efivars type efivarfs (rw)
  517. tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
  518. none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
  519. none on /run/shm type tmpfs (rw,nosuid,nodev)
  520. none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
  521. none on /sys/fs/pstore type pstore (rw)
  522. systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
  523. gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=peppermint)
  524. /dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
  525. /dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw)
  526. =================== ls:
  527. /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 size slaves stat subsystem trace uevent
  528. /sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
  529. /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
  530. /dev (filtered): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet input kmsg kvm log mapper mcelog media0 mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 zero
  531. ls /dev/mapper: control
  532. =================== hexdump -n512 -C /dev/sda1
  533. 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .|
  534. 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
  535. 00000020 00 00 10 00 fe 03 00 00 00 00 00 00 02 00 00 00 |................|
  536. 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  537. 00000040 80 01 29 e1 e1 ae 2f 4e 4f 20 4e 41 4d 45 20 20 |..).../NO NAME |
  538. 00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
  539. 00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
  540. 00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
  541. 00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
  542. 00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
  543. 000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
  544. 000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
  545. 000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
  546. 000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
  547. 000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  548. *
  549. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  550. 00000200
  551. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  552. =================== df -Th:
  553. Filesystem Type Size Used Avail Use% Mounted on
  554. /cow overlayfs 1.9G 174M 1.8G 10% /
  555. udev devtmpfs 1.9G 12K 1.9G 1% /dev
  556. tmpfs tmpfs 385M 1.3M 383M 1% /run
  557. /dev/sdb1 vfat 3.8G 872M 2.9G 23% /cdrom
  558. /dev/loop0 squashfs 623M 623M 0 100% /rofs
  559. none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
  560. tmpfs tmpfs 1.9G 16K 1.9G 1% /tmp
  561. none tmpfs 5.0M 0 5.0M 0% /run/lock
  562. none tmpfs 1.9G 12M 1.9G 1% /run/shm
  563. none tmpfs 100M 8.0K 100M 1% /run/user
  564. /dev/sda1 vfat 511M 3.4M 508M 1% /mnt/boot-sav/sda1
  565. /dev/sda2 ext4 455G 3.1G 428G 1% /mnt/boot-sav/sda2
  566. =================== fdisk -l:
  567. Disk /dev/sda: 500.1 GB, 500107862016 bytes
  568. 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  569. Units = sectors of 1 * 512 = 512 bytes
  570. Sector size (logical/physical): 512 bytes / 4096 bytes
  571. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  572. Disk identifier: 0x00000000
  573. Device Boot Start End Blocks Id System
  574. /dev/sda1 1 976773167 488386583+ ee GPT
  575. Partition 1 does not start on physical sector boundary.
  576. Disk /dev/sdb: 4007 MB, 4007264256 bytes
  577. 74 heads, 10 sectors/track, 10576 cylinders, total 7826688 sectors
  578. Units = sectors of 1 * 512 = 512 bytes
  579. Sector size (logical/physical): 512 bytes / 512 bytes
  580. I/O size (minimum/optimal): 512 bytes / 512 bytes
  581. Disk identifier: 0xc3072e18
  582. Device Boot Start End Blocks Id System
  583. /dev/sdb1 * 8064 7826687 3909312 c W95 FAT32 (LBA)
  584. =================== Recommended repair
  585. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
  586. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
  587. /boot/efi added in sda2/fstab
  588. Mount sda1 on /mnt/boot-sav/sda2/boot/efi
  589. ls sda1/efi: /peppermint/shimx64.efi /peppermint/MokManager.efi /peppermint/grubx64.efi /peppermint/grub.cfg
  590. Unhide GRUB boot menu in sda2/etc/default/grub
  591. *******lspci -nnk | grep -iA3 vga
  592. 00:02.0 VGA compatible controller [0300]: Intel Corporation ValleyView Gen7 [8086:0f31] (rev 0e)
  593. Subsystem: Hewlett-Packard Company Device [103c:220f]
  594. Kernel driver in use: i915
  595. 00:13.0 SATA controller [0106]: Intel Corporation ValleyView 6-Port SATA AHCI Controller [8086:0f23] (rev 0e)
  596. *******
  597. grub-install --version
  598. grub-install (GRUB) 2.02~beta2-9ubuntu1.2,grub-install (GRUB) 2.
  599. chroot /mnt/boot-sav/sda2 efibootmgr -v
  600. BootCurrent: 0002
  601. Timeout: 0 seconds
  602. BootOrder: 2001,0003,3003,2002,2004
  603. Boot0000* USB Hard Drive - SMI USB DISK BIOS(7,500,5553422048617264204472697665202d20534d492020202020555342204449534b00)....................................................................v.......A...........................
  604. Boot0001* Notebook Hard Drive - TOSHIBA MQ01ABF050 BIOS(2,500,4e6f7465626f6f6b2048617264204472697665202d20544f5348494241204d51303141424630353000)................-...........A.....................................J.v.......A.........................
  605. Boot0002* USB Hard Drive (UEFI) - SMI USB DISK ACPI(a0341d0,0)PCI(14,0)USB(2,0)USB(1,0)HD(1,1f80,774d80,c3072e18)RC
  606. Boot0003* peppermint HD(1,800,100000,76e7463c-3277-4f48-8300-1553dbbde96c)File(EFIpeppermintshimx64.efi)
  607. Boot2001* EFI USB Device RC
  608. Boot2002* EFI DVD/CDROM RC
  609. Boot3003* Internal Hard Disk or Solid State Disk RC
  610. chroot /mnt/boot-sav/sda2 uname -r
  611. Kernel: 3.16.0-37-generic
  612. Reinstall the grub-efi-amd64-signed of sda2
  613. Installing for x86_64-efi platform.
  614. Installation finished. No error reported.
  615. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
  616. ls sda1/efi: /peppermint/shimx64.efi /peppermint/MokManager.efi /peppermint/grubx64.efi /peppermint/grub.cfg
  617. df /dev/sda1
  618. cp /mnt/boot-sav/sda2/boot/efi/EFI/peppermint/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi (& .grb)
  619. df /dev/sda1
  620. cp /mnt/boot-sav/sda2/boot/efi/EFI/peppermint/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootx64.efi (& .grb)
  621. df /dev/sda1
  622. cp /mnt/boot-sav/sda2/boot/efi/EFI/peppermint/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi (& .grb)
  623. ls sda1/efi: /Microsoft/Boot/bootx64.efi.grb /Microsoft/Boot/bootx64.efi /Microsoft/Boot/bootmgfw.efi.grb /Microsoft/Boot/bootmgfw.efi /peppermint/shimx64.efi /peppermint/MokManager.efi /peppermint/grubx64.efi /peppermint/grub.cfg /Microsoft/Boot /Boot/bootx64.efi.grb /Boot/bootx64.efi
  624. Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
  625. Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/peppermint/MokManager.efi
  626. chroot /mnt/boot-sav/sda2 efibootmgr -v
  627. BootCurrent: 0002
  628. Timeout: 0 seconds
  629. BootOrder: 0003,2001,3003,2002,2004
  630. Boot0000* USB Hard Drive - SMI USB DISK BIOS(7,500,5553422048617264204472697665202d20534d492020202020555342204449534b00)....................................................................v.......A...........................
  631. Boot0001* Notebook Hard Drive - TOSHIBA MQ01ABF050 BIOS(2,500,4e6f7465626f6f6b2048617264204472697665202d20544f5348494241204d51303141424630353000)................-...........A.....................................J.v.......A.........................
  632. Boot0002* USB Hard Drive (UEFI) - SMI USB DISK ACPI(a0341d0,0)PCI(14,0)USB(2,0)USB(1,0)HD(1,1f80,774d80,c3072e18)RC
  633. Boot0003* peppermint HD(1,800,100000,76e7463c-3277-4f48-8300-1553dbbde96c)File(EFIpeppermintshimx64.efi)
  634. Boot2001* EFI USB Device RC
  635. Boot2002* EFI DVD/CDROM RC
  636. Boot3003* Internal Hard Disk or Solid State Disk RC
  637. chroot /mnt/boot-sav/sda2 update-grub
  638. Generating grub configuration file ...
  639. Found linux image: /boot/vmlinuz-3.16.0-37-generic
  640. Found initrd image: /boot/initrd.img-3.16.0-37-generic
  641. Adding boot menu entry for EFI firmware configuration
  642. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  643. Boot successfully repaired.
  644. You can now reboot your computer.