You are not logged in.

#1 2016-09-23 01:19:17

Kromes
Member
Registered: 2016-09-09
Posts: 21

Grub Menu Won't Load on Shift

Hey all,

I finally set up grub the way I wanted it, with the menu neatly hidden away unless I press shift. The thing is, I press shift and I get a message: GRUB LOADING...

Great, except my laptop proceeds to boot without showing grub for an instant.

I use my Linux mint partition as my main grub and it chain loads into arch. I've used the grub tweak tool to set my default as arch. I have a few options set up to get it to behave, such as grub_force_hidden_menu and I'm wondering if there's perhaps a simple fix to this.

I've tried spamming esc and holding shift. Esc has no effect AFAIK, shift gets me the message I want but not the behaviour. Will post diagnostics (boot info script? Let me know what info would help) in the morning if it isn't as simple as I hope it is.

Many thanks,

Kromes

Offline

#2 2016-09-25 11:45:37

Kromes
Member
Registered: 2016-09-09
Posts: 21

Re: Grub Menu Won't Load on Shift

I can't seem to be able to update the grub on arch linux. I've been running

sudo grub-mkconfig -o /boot/grub/grub.cfg

with my grub hidden menu option set to false and with a timeout, but I can't unhide the grub menu. Previously i could load the arch gruband press Esc, which would revert back to the Mint grub.

My aim when fixing was for arch to load without a prompt, but for the Mint grub to load the prompt. But whilst experimenting i ended up booting straight into arch and i can't seem to fix it!

Here are the results from bootinfoscript:

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    in partition 97 for .

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd 
                       /boot/BCD /BOOT/BCD /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub2/grub.cfg

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Arch Linux ()
    Boot files:        /etc/fstab

sda8: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda9: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 18 Sarah
    Boot files:        /boot/grub/grub.cfg /etc/fstab

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   282,611,290   282,404,443   7 NTFS / exFAT / HPFS
/dev/sda3         624,218,112   625,139,711       921,600  27 Hidden NTFS (Recovery Environment)
/dev/sda4         282,611,710   624,218,111   341,606,402   5 Extended
/dev/sda5         419,420,160   420,444,159     1,024,000  83 Linux
/dev/sda6         420,446,208   471,646,207    51,200,000  83 Linux
/dev/sda7         282,611,712   349,358,079    66,746,368  83 Linux
/dev/sda8         411,252,736   419,409,919     8,157,184  82 Linux swap / Solaris
/dev/sda9         471,648,256   492,128,255    20,480,000  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        EEAA2903AA28C9C3                       ntfs       System Reserved
/dev/sda2        908631FD8631E3FE                       ntfs       
/dev/sda3        2E2CC2372CC1FA3B                       ntfs       
/dev/sda5        aa44f902-512a-461b-85e3-2bdc040d8d81   ext4       
/dev/sda6        bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2   ext4       
/dev/sda7        9cb10d82-c19c-493c-800a-5cea3c554d5c   ext4       
/dev/sda8        d07bc0fc-1f5e-4a2f-b8a0-20086d14abaa   swap       
/dev/sda9        343bdce5-cdaf-4790-b39c-35878edb261f   ext4       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda6        /boot                    ext4       (rw,relatime,data=ordered)
/dev/sda7        /                        ext4       (rw,relatime,data=ordered)


============================= sda5/grub2/grub.cfg: =============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (4.7.2-201.fc24.x86_64) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.5.5-300.fc24.x86_64-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-4.7.2-201.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_GB.UTF-8
	initrd16 /initramfs-4.7.2-201.fc24.x86_64.img
}
menuentry 'Fedora (4.6.7-300.fc24.x86_64) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.5.5-300.fc24.x86_64-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-4.6.7-300.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_GB.UTF-8
	initrd16 /initramfs-4.6.7-300.fc24.x86_64.img
}
menuentry 'Fedora (4.5.5-300.fc24.x86_64) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.5.5-300.fc24.x86_64-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-4.5.5-300.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_GB.UTF-8
	initrd16 /initramfs-4.5.5-300.fc24.x86_64.img
}
menuentry 'Fedora (0-rescue-9154842246fd47e3b07c67355797785d) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-9154842246fd47e3b07c67355797785d-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-0-rescue-9154842246fd47e3b07c67355797785d root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
	initrd16 /initramfs-0-rescue-9154842246fd47e3b07c67355797785d.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-EEAA2903AA28C9C3' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  EEAA2903AA28C9C3
	else
	  search --no-floppy --fs-uuid --set=root EEAA2903AA28C9C3
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda5: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


================= sda5: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)


============== sda5: Version of COM32(R) files used by Syslinux: ===============

 extlinux/cat.c32                   :  not a COM32/COM32R module
 extlinux/chain.c32                 :  not a COM32/COM32R module
 extlinux/cmd.c32                   :  not a COM32/COM32R module
 extlinux/cmenu.c32                 :  not a COM32/COM32R module
 extlinux/config.c32                :  not a COM32/COM32R module
 extlinux/cptime.c32                :  not a COM32/COM32R module
 extlinux/cpu.c32                   :  not a COM32/COM32R module
 extlinux/cpuid.c32                 :  not a COM32/COM32R module
 extlinux/cpuidtest.c32             :  not a COM32/COM32R module
 extlinux/debug.c32                 :  not a COM32/COM32R module
 extlinux/dhcp.c32                  :  not a COM32/COM32R module
 extlinux/disk.c32                  :  not a COM32/COM32R module
 extlinux/dmi.c32                   :  not a COM32/COM32R module
 extlinux/dmitest.c32               :  not a COM32/COM32R module
 extlinux/elf.c32                   :  not a COM32/COM32R module
 extlinux/ethersel.c32              :  not a COM32/COM32R module
 extlinux/gfxboot.c32               :  not a COM32/COM32R module
 extlinux/gpxecmd.c32               :  not a COM32/COM32R module
 extlinux/hdt.c32                   :  not a COM32/COM32R module
 extlinux/hexdump.c32               :  not a COM32/COM32R module
 extlinux/host.c32                  :  not a COM32/COM32R module
 extlinux/ifcpu64.c32               :  not a COM32/COM32R module
 extlinux/ifcpu.c32                 :  not a COM32/COM32R module
 extlinux/ifmemdsk.c32              :  not a COM32/COM32R module
 extlinux/ifplop.c32                :  not a COM32/COM32R module
 extlinux/kbdmap.c32                :  not a COM32/COM32R module
 extlinux/kontron_wdt.c32           :  not a COM32/COM32R module
 extlinux/ldlinux.c32               :  not a COM32/COM32R module
 extlinux/lfs.c32                   :  not a COM32/COM32R module
 extlinux/libcom32.c32              :  not a COM32/COM32R module
 extlinux/libgpl.c32                :  not a COM32/COM32R module
 extlinux/liblua.c32                :  not a COM32/COM32R module
 extlinux/libmenu.c32               :  not a COM32/COM32R module
 extlinux/libutil.c32               :  not a COM32/COM32R module
 extlinux/linux.c32                 :  not a COM32/COM32R module
 extlinux/ls.c32                    :  not a COM32/COM32R module
 extlinux/lua.c32                   :  not a COM32/COM32R module
 extlinux/mboot.c32                 :  not a COM32/COM32R module
 extlinux/meminfo.c32               :  not a COM32/COM32R module
 extlinux/menu.c32                  :  not a COM32/COM32R module
 extlinux/pci.c32                   :  not a COM32/COM32R module
 extlinux/pcitest.c32               :  not a COM32/COM32R module
 extlinux/pmload.c32                :  not a COM32/COM32R module
 extlinux/poweroff.c32              :  not a COM32/COM32R module
 extlinux/prdhcp.c32                :  not a COM32/COM32R module
 extlinux/pwd.c32                   :  not a COM32/COM32R module
 extlinux/pxechn.c32                :  not a COM32/COM32R module
 extlinux/reboot.c32                :  not a COM32/COM32R module
 extlinux/rosh.c32                  :  not a COM32/COM32R module
 extlinux/sanboot.c32               :  not a COM32/COM32R module
 extlinux/sdi.c32                   :  not a COM32/COM32R module
 extlinux/sysdump.c32               :  not a COM32/COM32R module
 extlinux/syslinux.c32              :  not a COM32/COM32R module
 extlinux/vesa.c32                  :  not a COM32/COM32R module
 extlinux/vesainfo.c32              :  not a COM32/COM32R module
 extlinux/vesamenu.c32              :  not a COM32/COM32R module
 extlinux/vpdtest.c32               :  not a COM32/COM32R module
 extlinux/whichsys.c32              :  not a COM32/COM32R module
 extlinux/zzjson.c32                :  not a COM32/COM32R module

============================= sda6/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  9cb10d82-c19c-493c-800a-5cea3c554d5c
else
  search --no-floppy --fs-uuid --set=root 9cb10d82-c19c-493c-800a-5cea3c554d5c
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
	else
	  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
	fi
	echo	'Loading Linux linux-lts ...'
	linux	/vmlinuz-linux-lts root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd  /initramfs-linux-lts.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
	menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux-lts ...'
		linux	/vmlinuz-linux-lts root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux-lts.img
	}
	menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux-lts ...'
		linux	/vmlinuz-linux-lts root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux-lts-fallback.img
	}
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


=============================== sda7/etc/fstab: ================================

--------------------------------------------------------------------------------
#
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda7
UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda8
UUID=d07bc0fc-1f5e-4a2f-b8a0-20086d14abaa	none      	swap      	defaults  	0 0

UUID=bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2	/boot	ext4	defaults	0	2
--------------------------------------------------------------------------------

=========================== sda9/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="Arch Linux"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  343bdce5-cdaf-4790-b39c-35878edb261f
else
  search --no-floppy --fs-uuid --set=root 343bdce5-cdaf-4790-b39c-35878edb261f
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0.0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0.0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux_proxy ###

function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode



menuentry "Linux Mint 18 Cinnamon 64-bit" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-343bdce5-cdaf-4790-b39c-35878edb261f' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos9'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  343bdce5-cdaf-4790-b39c-35878edb261f
	else
	  search --no-floppy --fs-uuid --set=root 343bdce5-cdaf-4790-b39c-35878edb261f
	fi
	linux	/boot/vmlinuz-4.4.0-21-generic root=UUID=343bdce5-cdaf-4790-b39c-35878edb261f ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-21-generic
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+_proxy ###



### END /etc/grub.d/20_memtest86+_proxy ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###




set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
menuentry "Windows 10 (loader) (on /dev/sda1)" --class windows --class os $menuentry_id_option 'osprober-chain-EEAA2903AA28C9C3' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  EEAA2903AA28C9C3
	else
	  search --no-floppy --fs-uuid --set=root EEAA2903AA28C9C3
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Arch Linux"{
	insmod ext2
	search --set=root --fs-uuid 9cb10d82-c19c-493c-800a-5cea3c554d5c --hint hd0,msdos7
	configfile /boot/grub/grub.cfg
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda9/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=343bdce5-cdaf-4790-b39c-35878edb261f /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda8 during installation
UUID=d07bc0fc-1f5e-4a2f-b8a0-20086d14abaa none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sda9: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000  40 07 03 6f 52 74 00 08  40 07 03 65 6f 66 03 75  |@..oRt..@..eof.u|
00000010  64 66 00 12 50 70 00 08  00 02 00 04 00 00 05 56  |df..Pp.........V|
00000020  49 52 65 66 00 10 78 70  00 08 00 02 00 04 00 00  |IRef..xp........|
00000030  03 64 66 64 00 10 50 70  00 08 00 02 00 04 00 00  |.dfd..Pp........|
00000040  03 74 78 64 00 10 50 70  00 08 00 02 00 04 00 00  |.txd..Pp........|
00000050  03 6f 6c 64 00 10 50 70  00 08 00 02 00 04 00 00  |.old..Pp........|
00000060  03 65 78 74 00 0a 00 63  00 00 00 20 00 01 00 68  |.ext...c... ...h|
00000070  00 50 00 06 00 22 40 50  00 03 00 08 40 07 03 66  |.P..."@P....@..f|
00000080  6c 67 00 08 40 07 03 6f  52 74 00 08 40 07 03 65  |lg..@..oRt..@..e|
00000090  6f 66 03 75 64 66 00 10  50 33 ff ff ff ff 07 50  |of.udf..P3.....P|
000000a0  69 63 74 75 72 65 00 0c  78 33 ff ff ff ff 03 64  |icture..x3.....d|
000000b0  66 64 00 0c 50 33 ff ff  ff ff 03 74 78 64 00 0c  |fd..P3.....txd..|
000000c0  50 33 ff ff ff ff 03 6f  6c 64 00 0c 50 33 ff ff  |P3.....old..P3..|
000000d0  ff ff 03 65 78 74 00 0a  00 63 00 00 00 2c 00 01  |...ext...c...,..|
000000e0  00 54 00 50 00 06 00 22  40 50 00 03 00 08 40 07  |.T.P..."@P....@.|
000000f0  03 66 6c 67 00 08 40 07  03 6f 52 74 00 08 40 07  |.flg..@..oRt..@.|
00000100  03 65 6f 66 03 75 64 66  00 0c 50 21 07 53 75 63  |.eof.udf..P!.Suc|
00000110  63 65 73 73 00 08 78 21  03 64 66 64 00 08 50 21  |cess..x!.dfd..P!|
00000120  03 74 78 64 00 08 50 21  03 6f 6c 64 00 08 50 21  |.txd..P!.old..P!|
00000130  03 65 78 74 00 0a 00 63  00 00 00 23 00 01 00 7c  |.ext...c...#...||
00000140  00 50 00 06 00 22 40 50  00 03 00 08 40 07 03 66  |.P..."@P....@..f|
00000150  6c 67 00 08 40 07 03 6f  52 74 00 08 40 07 03 65  |lg..@..oRt..@..e|
00000160  6f 66 03 75 64 66 00 14  50 70 00 08 40 11 00 04  |of.udf..Pp..@...|
00000170  00 00 07 4e 6f 64 65 52  65 66 00 10 78 70 00 08  |...NodeRef..xp..|
00000180  40 11 00 04 00 00 03 64  66 64 00 10 50 70 00 08  |@......dfd..Pp..|
00000190  40 11 00 04 00 00 03 74  78 64 00 10 50 70 00 08  |@......txd..Pp..|
000001a0  40 11 00 04 00 00 03 6f  6c 64 00 10 50 70 00 08  |@......old..Pp..|
000001b0  40 11 00 04 00 00 03 65  78 74 00 0a 00 63 00 fe  |@......ext...c..|
000001c0  ff ff 83 fe ff ff 02 88  27 08 00 a0 0f 00 00 fe  |........'.......|
000001d0  ff ff 05 fe ff ff 02 28  37 08 00 48 0d 03 00 00  |.......(7..H....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-SjW7AgH2/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-SjW7AgH2/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-SjW7AgH2/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-SjW7AgH2/Tmp_Log: No such file or directory
mdadm: No arrays found in config file or automatically

Any advice?

Last edited by Kromes (2016-09-25 16:49:20)

Offline

#3 2016-09-25 17:40:55

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Grub Menu Won't Load on Shift

Your partitions are confusing. Could you please label them? smile

Help me make sense of this.
Your partitions are laid out in the order sda1 sda2 sda4 <sda7 sda8 sda5 sda6 sda9> sda3
Partitions 1-3 appear to be for Windows (the loader, OS, and Recovery OS it seems).
Partition 4 creates an extended partition, with your logical Linux-related partitions (5-9) within.
Partition 5 is a tiny (512MiB?) partition which holds a mysterious /grub2/grub.cfg that looks to be for Fedora? No idea how that works.... It also has a Windows entry.
Partition 6 has what appears to be a /boot partition holding your /grub/grub.cfg for Arch Linux.
Partition 7 has what looks to be your Arch Linux root filesystem. The /etc/fstab from that partition would mount sda6 on /boot, sda7 on /, and have sda8 used for swap.
Partition 8 is a swap partition, which looks to be for both Arch Linux and Linux Mint?
Partition 9 looks to be your Linux Mint partition. It has no separate /boot partition. sda9 is /, sda8 is swap. The /boot/grub/grub.cfg has a single Linux Mint menuentry, a Windows10 menuentry, and a custom Arch Linux menuentry.

Is this correct?

I noticed that for the Arch config on sda6, there appears to be a 5-second timeout and a default [menu choice] of "0", which would (IIRC) be the first choice.
For the Linux Mint config file on sda9, the timeout appears set to 0. It has the "default" choice set to "Arch Linux", so logically it would execute the custom "Arch Linux" menuentry. The menuentry specifies a configfile which loads from /boot/grub/grub.cfg after $root is set to partition 7.... If the config is stored on sda6, then how does it find it using the UUID for partition 7? Arch couldn't possibly be booting without it, so is there any chance that you have a grub.cfg file hidden on sda7, which you don't know about because /boot is mounted over top of it? Systemd will mount over non-empty directories, so it might be wise to unmount /boot when in Arch and check if something hidden is there.
If you run sudo journalctl -b, you can find whether this is possibly the case if systemd prints a message regarding boot similar to this:

systemd[1]: tmp.mount: Directory /tmp to mount over is not empty, mounting anyway.

If this is not the case, then it means I probably misunderstood the grub syntax. In that case, you could try posting the /etc/grub.d and /etc/default/grub files from each system, and we can go from there.

Offline

#4 2016-09-25 17:42:10

Kromes
Member
Registered: 2016-09-09
Posts: 21

Re: Grub Menu Won't Load on Shift

Okay I ran an update and lts kernel updated. Now it won't boot. I was told to switch to the lts kernel when my laptop wouldn't boot before to avoid running an out of date system. Now I updated it and it doesn't work. Any fixes that don't involve downgrading the kernel?

Offline

#5 2016-09-25 17:47:18

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Grub Menu Won't Load on Shift

It seems I ninja'd you. In what way will it "not boot"? Does it give any indication as to what the issue is? Any messages? Or just a blank screen? Are you sure you're booting the lts kernel?

Offline

#6 2016-09-25 17:53:56

Kromes
Member
Registered: 2016-09-09
Posts: 21

Re: Grub Menu Won't Load on Shift

Definitely the lts kernel I removed the normal one, the kernel loads and then there's a blank screen indefinitely where the lightdm usually loads. I didn't configure a xinit file but previously I didn't need one. There's just a flashing line in the top left corner that disappears and reappears.

Unfortunately I can't access grub so I think I'll need to downgrade the kernel.

Offline

#7 2016-09-25 17:55:57

Kromes
Member
Registered: 2016-09-09
Posts: 21

Re: Grub Menu Won't Load on Shift

From what I could tell your breakdown of the partitions seems correct, but some of the partitions were made by the install wizards and I'm not too sure how they work. At this stage I'd feel a lot safer if I can boot into windows or mint as a back up.

Offline

#8 2016-09-25 18:00:26

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Grub Menu Won't Load on Shift

... Are you able to boot the system at all? If you can (perhaps with your Arch install medium), then check for a hidden grub.cfg like I mentioned, or, perhaps, edit the Linux Mint /boot/grub/grub.cfg and (temporarily) set the two lines with 'set timeout=0' before "### END /etc/grub.d/00_header ###" to be "set timeout=10" instead. This should allow you to see the GRUB screen long enough for you to respond.

Last edited by promarbler14 (2016-09-25 18:09:38)

Offline

#9 2016-09-25 18:20:36

Kromes
Member
Registered: 2016-09-09
Posts: 21

Re: Grub Menu Won't Load on Shift

Here's a video of my boot
https://youtu.be/qlB2XzCCcTk

Offline

#10 2016-09-25 18:47:26

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Grub Menu Won't Load on Shift

Can you TTY-switch? (ctrl-alt-f1, ctrl-alt-f2, etc...) Or if you've enabled it, can you REISUB? It would kill the X server if it hasn't hung the system...

EDIT: I just tried the LTS kernel myself, and lightdm starts fine for me. (DRM seems to still be buggy in the LTS version... it crashes when I log in more than one graphical user, then TTY switch...)

I would downgrade the kernel. (Or, if possible, try and compile the 4.8-rc kernel; it's amazing for me.)

Last edited by promarbler14 (2016-09-25 19:17:09)

Offline

#11 2016-09-26 12:52:26

Kromes
Member
Registered: 2016-09-09
Posts: 21

Re: Grub Menu Won't Load on Shift

Okay I've found a solution but don't know how/why things work this way.

I used my live installation media to edit the grub.cfg file and get into Mint. In mint I ran a grub configuration tool, "Grub Customiser". This ended up creating a second entry for arch linux in the Mint grub which allows me to boot directly into Arch instead of chainloading into the arch grub. Arch boots without any problems this way.

If this chainloading worked previously but doesn't after a kernel update, my initial thought is that somewhere along the line the kernel doesn't load properly and the grub points to a different kernel. This doesn't appear to be the case (the video shows the kernel loading, right?) so I have no idea how one grub "just works" and the other doesn't. It works but it's hardly solved. I will test TTY-switching and REISUB to see what works and what doesn't.

New boot info script:

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    in partition 97 for .

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd 
                       /boot/BCD /BOOT/BCD /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub2/grub.cfg

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Arch Linux ()
    Boot files:        /etc/fstab

sda8: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda9: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 18 Sarah
    Boot files:        /boot/grub/grub.cfg /etc/fstab

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   282,611,290   282,404,443   7 NTFS / exFAT / HPFS
/dev/sda3         624,218,112   625,139,711       921,600  27 Hidden NTFS (Recovery Environment)
/dev/sda4         282,611,710   624,218,111   341,606,402   5 Extended
/dev/sda5         419,420,160   420,444,159     1,024,000  83 Linux
/dev/sda6         420,446,208   471,646,207    51,200,000  83 Linux
/dev/sda7         282,611,712   349,358,079    66,746,368  83 Linux
/dev/sda8         411,252,736   419,409,919     8,157,184  82 Linux swap / Solaris
/dev/sda9         471,648,256   492,128,255    20,480,000  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        EEAA2903AA28C9C3                       ntfs       System Reserved
/dev/sda2        908631FD8631E3FE                       ntfs       
/dev/sda3        2E2CC2372CC1FA3B                       ntfs       
/dev/sda5        aa44f902-512a-461b-85e3-2bdc040d8d81   ext4       
/dev/sda6        bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2   ext4       
/dev/sda7        9cb10d82-c19c-493c-800a-5cea3c554d5c   ext4       
/dev/sda8        d07bc0fc-1f5e-4a2f-b8a0-20086d14abaa   swap       
/dev/sda9        343bdce5-cdaf-4790-b39c-35878edb261f   ext4       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda6        /boot                    ext4       (rw,relatime,data=ordered)
/dev/sda7        /                        ext4       (rw,relatime,data=ordered)


============================= sda5/grub2/grub.cfg: =============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (4.7.2-201.fc24.x86_64) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.5.5-300.fc24.x86_64-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-4.7.2-201.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_GB.UTF-8
	initrd16 /initramfs-4.7.2-201.fc24.x86_64.img
}
menuentry 'Fedora (4.6.7-300.fc24.x86_64) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.5.5-300.fc24.x86_64-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-4.6.7-300.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_GB.UTF-8
	initrd16 /initramfs-4.6.7-300.fc24.x86_64.img
}
menuentry 'Fedora (4.5.5-300.fc24.x86_64) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.5.5-300.fc24.x86_64-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-4.5.5-300.fc24.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_GB.UTF-8
	initrd16 /initramfs-4.5.5-300.fc24.x86_64.img
}
menuentry 'Fedora (0-rescue-9154842246fd47e3b07c67355797785d) 24 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-9154842246fd47e3b07c67355797785d-advanced-71400f77-2bf5-4b3c-a34c-25b9043c286d' {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5'  aa44f902-512a-461b-85e3-2bdc040d8d81
	else
	  search --no-floppy --fs-uuid --set=root aa44f902-512a-461b-85e3-2bdc040d8d81
	fi
	linux16 /vmlinuz-0-rescue-9154842246fd47e3b07c67355797785d root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
	initrd16 /initramfs-0-rescue-9154842246fd47e3b07c67355797785d.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-EEAA2903AA28C9C3' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  EEAA2903AA28C9C3
	else
	  search --no-floppy --fs-uuid --set=root EEAA2903AA28C9C3
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda5: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


================= sda5: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)


============== sda5: Version of COM32(R) files used by Syslinux: ===============

 extlinux/cat.c32                   :  not a COM32/COM32R module
 extlinux/chain.c32                 :  not a COM32/COM32R module
 extlinux/cmd.c32                   :  not a COM32/COM32R module
 extlinux/cmenu.c32                 :  not a COM32/COM32R module
 extlinux/config.c32                :  not a COM32/COM32R module
 extlinux/cptime.c32                :  not a COM32/COM32R module
 extlinux/cpu.c32                   :  not a COM32/COM32R module
 extlinux/cpuid.c32                 :  not a COM32/COM32R module
 extlinux/cpuidtest.c32             :  not a COM32/COM32R module
 extlinux/debug.c32                 :  not a COM32/COM32R module
 extlinux/dhcp.c32                  :  not a COM32/COM32R module
 extlinux/disk.c32                  :  not a COM32/COM32R module
 extlinux/dmi.c32                   :  not a COM32/COM32R module
 extlinux/dmitest.c32               :  not a COM32/COM32R module
 extlinux/elf.c32                   :  not a COM32/COM32R module
 extlinux/ethersel.c32              :  not a COM32/COM32R module
 extlinux/gfxboot.c32               :  not a COM32/COM32R module
 extlinux/gpxecmd.c32               :  not a COM32/COM32R module
 extlinux/hdt.c32                   :  not a COM32/COM32R module
 extlinux/hexdump.c32               :  not a COM32/COM32R module
 extlinux/host.c32                  :  not a COM32/COM32R module
 extlinux/ifcpu64.c32               :  not a COM32/COM32R module
 extlinux/ifcpu.c32                 :  not a COM32/COM32R module
 extlinux/ifmemdsk.c32              :  not a COM32/COM32R module
 extlinux/ifplop.c32                :  not a COM32/COM32R module
 extlinux/kbdmap.c32                :  not a COM32/COM32R module
 extlinux/kontron_wdt.c32           :  not a COM32/COM32R module
 extlinux/ldlinux.c32               :  not a COM32/COM32R module
 extlinux/lfs.c32                   :  not a COM32/COM32R module
 extlinux/libcom32.c32              :  not a COM32/COM32R module
 extlinux/libgpl.c32                :  not a COM32/COM32R module
 extlinux/liblua.c32                :  not a COM32/COM32R module
 extlinux/libmenu.c32               :  not a COM32/COM32R module
 extlinux/libutil.c32               :  not a COM32/COM32R module
 extlinux/linux.c32                 :  not a COM32/COM32R module
 extlinux/ls.c32                    :  not a COM32/COM32R module
 extlinux/lua.c32                   :  not a COM32/COM32R module
 extlinux/mboot.c32                 :  not a COM32/COM32R module
 extlinux/meminfo.c32               :  not a COM32/COM32R module
 extlinux/menu.c32                  :  not a COM32/COM32R module
 extlinux/pci.c32                   :  not a COM32/COM32R module
 extlinux/pcitest.c32               :  not a COM32/COM32R module
 extlinux/pmload.c32                :  not a COM32/COM32R module
 extlinux/poweroff.c32              :  not a COM32/COM32R module
 extlinux/prdhcp.c32                :  not a COM32/COM32R module
 extlinux/pwd.c32                   :  not a COM32/COM32R module
 extlinux/pxechn.c32                :  not a COM32/COM32R module
 extlinux/reboot.c32                :  not a COM32/COM32R module
 extlinux/rosh.c32                  :  not a COM32/COM32R module
 extlinux/sanboot.c32               :  not a COM32/COM32R module
 extlinux/sdi.c32                   :  not a COM32/COM32R module
 extlinux/sysdump.c32               :  not a COM32/COM32R module
 extlinux/syslinux.c32              :  not a COM32/COM32R module
 extlinux/vesa.c32                  :  not a COM32/COM32R module
 extlinux/vesainfo.c32              :  not a COM32/COM32R module
 extlinux/vesamenu.c32              :  not a COM32/COM32R module
 extlinux/vpdtest.c32               :  not a COM32/COM32R module
 extlinux/whichsys.c32              :  not a COM32/COM32R module
 extlinux/zzjson.c32                :  not a COM32/COM32R module

============================= sda6/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  9cb10d82-c19c-493c-800a-5cea3c554d5c
else
  search --no-floppy --fs-uuid --set=root 9cb10d82-c19c-493c-800a-5cea3c554d5c
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
	else
	  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
	fi
	echo	'Loading Linux linux-lts ...'
	linux	/vmlinuz-linux-lts root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd  /initramfs-linux-lts.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
	menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux-lts ...'
		linux	/vmlinuz-linux-lts root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux-lts.img
	}
	menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux-lts ...'
		linux	/vmlinuz-linux-lts root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux-lts-fallback.img
	}
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


=============================== sda7/etc/fstab: ================================

--------------------------------------------------------------------------------
#
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda7
UUID=9cb10d82-c19c-493c-800a-5cea3c554d5c	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda8
UUID=d07bc0fc-1f5e-4a2f-b8a0-20086d14abaa	none      	swap      	defaults  	0 0

UUID=bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2	/boot	ext4	defaults	0	2
--------------------------------------------------------------------------------

=========================== sda9/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="Windows 10 (loader) (on /dev/sda1)"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  343bdce5-cdaf-4790-b39c-35878edb261f
else
  search --no-floppy --fs-uuid --set=root 343bdce5-cdaf-4790-b39c-35878edb261f
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=5
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 5 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux_proxy ###

function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode



menuentry "Linux Mint 18 Cinnamon 64-bit" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-343bdce5-cdaf-4790-b39c-35878edb261f' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos9'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9  343bdce5-cdaf-4790-b39c-35878edb261f
	else
	  search --no-floppy --fs-uuid --set=root 343bdce5-cdaf-4790-b39c-35878edb261f
	fi
	linux	/boot/vmlinuz-4.4.0-21-generic root=UUID=343bdce5-cdaf-4790-b39c-35878edb261f ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-21-generic
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+_proxy ###



### END /etc/grub.d/20_memtest86+_proxy ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Arch (on /dev/sda7)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-9cb10d82-c19c-493c-800a-5cea3c554d5c' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
	else
	  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
	fi
	linux /vmlinuz-linux-lts root=/dev/sda7
	initrd /initramfs-linux-lts.img
}
submenu "Advanced options for Arch (on /dev/sda7)"{
menuentry "Arch (on /dev/sda7)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux-lts--9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		linux /vmlinuz-linux-lts root=/dev/sda7
		initrd /initramfs-linux-lts.img
}
menuentry "Arch (on /dev/sda7)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux-lts--9cb10d82-c19c-493c-800a-5cea3c554d5c' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		else
		  search --no-floppy --fs-uuid --set=root bb4e4b1e-abab-4d7e-b1c6-fac008a4ecd2
		fi
		linux /vmlinuz-linux-lts root=/dev/sda7
		initrd /initramfs-linux-lts.img
}
}






set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
menuentry "Windows 10 (loader) (on /dev/sda1)" --class windows --class os $menuentry_id_option 'osprober-chain-EEAA2903AA28C9C3' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  EEAA2903AA28C9C3
	else
	  search --no-floppy --fs-uuid --set=root EEAA2903AA28C9C3
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Arch Linux"{
	insmod ext2
	search --set=root --fs-uuid 9cb10d82-c19c-493c-800a-5cea3c554d5c --hint hd0,msdos7
	configfile /boot/grub/grub.cfg
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda9/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=343bdce5-cdaf-4790-b39c-35878edb261f /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda8 during installation
UUID=d07bc0fc-1f5e-4a2f-b8a0-20086d14abaa none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sda9: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000  40 07 03 6f 52 74 00 08  40 07 03 65 6f 66 03 75  |@..oRt..@..eof.u|
00000010  64 66 00 12 50 70 00 08  00 02 00 04 00 00 05 56  |df..Pp.........V|
00000020  49 52 65 66 00 10 78 70  00 08 00 02 00 04 00 00  |IRef..xp........|
00000030  03 64 66 64 00 10 50 70  00 08 00 02 00 04 00 00  |.dfd..Pp........|
00000040  03 74 78 64 00 10 50 70  00 08 00 02 00 04 00 00  |.txd..Pp........|
00000050  03 6f 6c 64 00 10 50 70  00 08 00 02 00 04 00 00  |.old..Pp........|
00000060  03 65 78 74 00 0a 00 63  00 00 00 20 00 01 00 68  |.ext...c... ...h|
00000070  00 50 00 06 00 22 40 50  00 03 00 08 40 07 03 66  |.P..."@P....@..f|
00000080  6c 67 00 08 40 07 03 6f  52 74 00 08 40 07 03 65  |lg..@..oRt..@..e|
00000090  6f 66 03 75 64 66 00 10  50 33 ff ff ff ff 07 50  |of.udf..P3.....P|
000000a0  69 63 74 75 72 65 00 0c  78 33 ff ff ff ff 03 64  |icture..x3.....d|
000000b0  66 64 00 0c 50 33 ff ff  ff ff 03 74 78 64 00 0c  |fd..P3.....txd..|
000000c0  50 33 ff ff ff ff 03 6f  6c 64 00 0c 50 33 ff ff  |P3.....old..P3..|
000000d0  ff ff 03 65 78 74 00 0a  00 63 00 00 00 2c 00 01  |...ext...c...,..|
000000e0  00 54 00 50 00 06 00 22  40 50 00 03 00 08 40 07  |.T.P..."@P....@.|
000000f0  03 66 6c 67 00 08 40 07  03 6f 52 74 00 08 40 07  |.flg..@..oRt..@.|
00000100  03 65 6f 66 03 75 64 66  00 0c 50 21 07 53 75 63  |.eof.udf..P!.Suc|
00000110  63 65 73 73 00 08 78 21  03 64 66 64 00 08 50 21  |cess..x!.dfd..P!|
00000120  03 74 78 64 00 08 50 21  03 6f 6c 64 00 08 50 21  |.txd..P!.old..P!|
00000130  03 65 78 74 00 0a 00 63  00 00 00 23 00 01 00 7c  |.ext...c...#...||
00000140  00 50 00 06 00 22 40 50  00 03 00 08 40 07 03 66  |.P..."@P....@..f|
00000150  6c 67 00 08 40 07 03 6f  52 74 00 08 40 07 03 65  |lg..@..oRt..@..e|
00000160  6f 66 03 75 64 66 00 14  50 70 00 08 40 11 00 04  |of.udf..Pp..@...|
00000170  00 00 07 4e 6f 64 65 52  65 66 00 10 78 70 00 08  |...NodeRef..xp..|
00000180  40 11 00 04 00 00 03 64  66 64 00 10 50 70 00 08  |@......dfd..Pp..|
00000190  40 11 00 04 00 00 03 74  78 64 00 10 50 70 00 08  |@......txd..Pp..|
000001a0  40 11 00 04 00 00 03 6f  6c 64 00 10 50 70 00 08  |@......old..Pp..|
000001b0  40 11 00 04 00 00 03 65  78 74 00 0a 00 63 00 fe  |@......ext...c..|
000001c0  ff ff 83 fe ff ff 02 88  27 08 00 a0 0f 00 00 fe  |........'.......|
000001d0  ff ff 05 fe ff ff 02 28  37 08 00 48 0d 03 00 00  |.......(7..H....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-Aw3Dds1Z/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-Aw3Dds1Z/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-Aw3Dds1Z/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-Aw3Dds1Z/Tmp_Log: No such file or directory
mdadm: No arrays found in config file or automatically

Does this shed any light on the differences in configuration? I'm not sure what I'm looking at.

Last edited by Kromes (2016-09-26 12:57:12)

Offline

#12 2016-09-26 15:20:39

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 217

Re: Grub Menu Won't Load on Shift

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Arch Linux ()
    Boot files:        /etc/fstab

Run Arch Linux and give feedback if you are able to:
a/ fully upgrade system:

pacman -Syyu

b/ generate Grub2 configuration file:

grub-mkconfig -o /boot/grub/grub.cfg

If file /boot/grub/grub.cfg will be created - just inform Linux Mint Grub2 where to find Arch Linux grub.cfg file - append to Mint's /etc/grub.d/40_custom:

menuentry "Arch Linux" {
insmod ext2
search --set=root  --fs-uuid  9cb10d82-c19c-493c-800a-5cea3c554d5c --hint hd0,msdos7
configfile /boot/grub/grub.cfg
}

I wrote you the same thing here (and further posts):
https://bbs.archlinux.org/viewtopic.php … 9#p1653139 .
Generating grub.cfg does not equal Grub2 code installation in any MBR nor EFI target, but if you want to have correct grub.cfg Arch Linux' file - package grub must be installed.

Offline

Board footer

Powered by FluxBB