You are not logged in.

#1 2017-05-02 00:26:07

amscisr
Member
Registered: 2017-04-12
Posts: 14

Changing mount point of EFI system partition after installation

Hi,

I am a happy user of Arch Linux but am at the same time trying to install a backup system (not Windows, which I already have), just in case something goes wrong and I desperately need to use a computer. However, I believe that the way I set up my EFI system partition upon Arch install may be causing the difficulties that I am having in installing another Linux distro alongside it. Specifically, I've tried installing Fedora and openSUSE on separate partitions (intending to keep Arch as my primary, and only really commonly used, OS). The problem that I encounter is that each bootloader (Arch and, say, Fedora) can boot its respective OS, but when I try to boot the other (Arch from Fedora bootloader, and vice versa), an error message "cannot find file vmlinuz-linux-*version number*" and then "must first load kernel" appears and the boot is aborted. I'm using GRUB.

My computer has UEFI boot / GPT partition layout (Windows 10 pre-installed, then installed Mint, later installed Arch, got rid of Mint -- almost ironically, no problem with that setup (Arch etc.)). I believe that the problem may be the ESP mount point, because I mounted it to /boot when installing Arch Linux (the excellent wiki said that you can use /boot/efi, but /boot is most common). However, both Fedora and openSUSE insist that I mount my ESP (/dev/sda1) to /boot/efi and complain if I try to do otherwise. The result is the problem that I described above.

Do you think that the discrepancy in ESP mount could be the reason for the problem that I am experiencing? If so, an this is my main question, is it possible to change the mount point of the ESP from /boot to /boot/efi post-Arch install, and if so how would I go about doing that?

Thanks very much for your help!

-amscisr

Offline

#2 2017-05-02 00:31:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: Changing mount point of EFI system partition after installation

amscisr wrote:

Do you think that the discrepancy in ESP mount could be the reason for the problem that I am experiencing?

No.

If other distros want the EFI partition at /boot/efi, that's fine, mount it there for those distros.  But there is no reason it still can't be mounted at /boot in archlinux.

Changing the mountpoint of the EFI partition in arch can't possibly have any affect on what other distros do when they are booted.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-05-02 00:35:45

amscisr
Member
Registered: 2017-04-12
Posts: 14

Re: Changing mount point of EFI system partition after installation

Interesting, thanks for the quick reply. Have you ever heard of a similar problem to this occurring? I can't think of anything else that might be causing this to happen, especially since I DID verify that the vmlinuz file specified in the error message was EXACTLY where it was looking for it in grub menu (/boot/vmlinuz..., when looking from /dev/sdaX, the root partition of new Linux distro...) but it still claimed not to find it.

Anyways, comfortable enough with Arch that I'm not in too much of a rush for a contingency plan, but would be nice just in case.

Offline

#4 2017-05-02 01:08:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: Changing mount point of EFI system partition after installation

If you want help with the error message, you should post a lot more information about it, incluing which distro is managing grub, which distro is giving the error, and the full contents of your grub config.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2017-05-02 01:11:56

amscisr
Member
Registered: 2017-04-12
Posts: 14

Re: Changing mount point of EFI system partition after installation

Will do once I have a chance to go back into the new distro. Thanks!

Offline

#6 2017-05-02 02:28:53

amscisr
Member
Registered: 2017-04-12
Posts: 14

Re: Changing mount point of EFI system partition after installation

Hi Trilby,

Here's some additional information about the problem that I've experienced. The current operating systems that I have installed on my computer are Arch (main), openSUSE Leap 42.2 (intended secondary / backup), and Windows 10 (preinstalled).

Both Arch and openSUSE have their bootloaders installed, and both have detected the other Linux and Windows. Both are using GRUB2. The openSUSE GRUB is currently default because it was the last one installed, so I access Arch GRUB from the EFI boot menu on startup.

Using the openSUSE bootloader:

Problem: openSUSE boots correctly (can't yet access graphical environment, but should be irrelevant, just to let you know that I am accessing the relevant openSUSE files on those partitions from within Arch & on openSUSE tty). HOWEVER when trying to boot Arch linux, there is a "kernel panic" sequence and Arch doesn't boot (it was a long error message, and I'm not sure how to access it afterwards to copy).

openSUSE's grub.cfg, from /boot/grub2/grub.cfg on the openSUSE root partition:

#
# 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 btrfs_relative_path="y"
export btrfs_relative_path
if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi

if [ "${env_block}" ] ; then
  load_env -f "${env_block}"
fi

if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   if [ "${env_block}" ] ; then
     save_env -f "${env_block}" next_entry
   fi
   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
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod btrfs
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
else
  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
fi
    font="/usr/share/grub2/unicode.pf2"
fi

if loadfont $font ; then
echo "Please press t to show the boot menu on this console"
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod btrfs
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
else
  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
  set timeout=0
elif [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=8
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=8
fi
if [ -n "$extra_cmdline" ]; then
  submenu "Bootable snapshot #$snapshot_num" {
    menuentry "If OK, run 'snapper rollback' and reboot." { true; }
  }
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE Leap 42.2'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6fa2fddb-85e5-485b-8211-a869479e8eb3' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
	else
	  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
	fi
	echo	'Loading Linux 4.4.27-2-default ...'
	linuxefi /boot/vmlinuz-4.4.27-2-default root=UUID=6fa2fddb-85e5-485b-8211-a869479e8eb3 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/1f22fde2-cd75-4db7-a2ca-197e4e94da42 splash=silent quiet showopts
	echo	'Loading initial ramdisk ...'
	initrdefi /boot/initrd-4.4.27-2-default
}
submenu 'Advanced options for openSUSE Leap 42.2' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-6fa2fddb-85e5-485b-8211-a869479e8eb3' {
	menuentry 'openSUSE Leap 42.2, with Linux 4.4.27-2-default' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.27-2-default-advanced-6fa2fddb-85e5-485b-8211-a869479e8eb3' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
		else
		  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
		fi
		echo	'Loading Linux 4.4.27-2-default ...'
		linuxefi /boot/vmlinuz-4.4.27-2-default root=UUID=6fa2fddb-85e5-485b-8211-a869479e8eb3 ro  ${extra_cmdline} resume=/dev/disk/by-uuid/1f22fde2-cd75-4db7-a2ca-197e4e94da42 splash=silent quiet showopts
		echo	'Loading initial ramdisk ...'
		initrdefi /boot/initrd-4.4.27-2-default
	}
	menuentry 'openSUSE Leap 42.2, with Linux 4.4.27-2-default (recovery mode)' --hotkey=3 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.27-2-default-recovery-6fa2fddb-85e5-485b-8211-a869479e8eb3' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
		else
		  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
		fi
		echo	'Loading Linux 4.4.27-2-default ...'
		linuxefi /boot/vmlinuz-4.4.27-2-default root=UUID=6fa2fddb-85e5-485b-8211-a869479e8eb3 ro  ${extra_cmdline} 
		echo	'Loading initial ramdisk ...'
		initrdefi /boot/initrd-4.4.27-2-default
	}
}

### 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_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-A6AF-CCC9' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
	else
	  search --no-floppy --fs-uuid --set=root A6AF-CCC9
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Arch (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-7184f6be-680f-4649-868b-52c452b64dbb' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
	else
	  search --no-floppy --fs-uuid --set=root A6AF-CCC9
	fi
	linuxefi /vmlinuz-linux root=UUID=7184f6be-680f-4649-868b-52c452b64dbb rw quiet
	initrdefi /intel-ucode.img
}
submenu 'Advanced options for Arch (on /dev/sda9)' $menuentry_id_option 'osprober-gnulinux-advanced-7184f6be-680f-4649-868b-52c452b64dbb' {
	menuentry 'Arch Linux (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--7184f6be-680f-4649-868b-52c452b64dbb' {
		insmod part_gpt
		insmod fat
		set root='hd0,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
		else
		  search --no-floppy --fs-uuid --set=root A6AF-CCC9
		fi
		linuxefi /vmlinuz-linux root=UUID=7184f6be-680f-4649-868b-52c452b64dbb rw quiet
		initrdefi /intel-ucode.img
	}
	menuentry 'Arch Linux, with Linux linux (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--7184f6be-680f-4649-868b-52c452b64dbb' {
		insmod part_gpt
		insmod fat
		set root='hd0,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
		else
		  search --no-floppy --fs-uuid --set=root A6AF-CCC9
		fi
		linuxefi /vmlinuz-linux root=UUID=7184f6be-680f-4649-868b-52c452b64dbb rw quiet
		initrdefi /intel-ucode.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-linux--7184f6be-680f-4649-868b-52c452b64dbb' {
		insmod part_gpt
		insmod fat
		set root='hd0,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
		else
		  search --no-floppy --fs-uuid --set=root A6AF-CCC9
		fi
		linuxefi /vmlinuz-linux root=UUID=7184f6be-680f-4649-868b-52c452b64dbb rw quiet
		initrdefi /intel-ucode.img
	}
}

### 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 ###

### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ###
if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
  source "/.snapshots/grub-snapshot.cfg"
fi
### END /etc/grub.d/80_suse_btrfs_snapshot ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###

### BEGIN /etc/grub.d/95_textmode ###

    # On EFI systems we can only have graphics *or* serial, so allow the user
    # to switch between the two
    hiddenentry 'Text mode' --hotkey 't' {
	set textmode=true
	terminal_output console
    }
### END /etc/grub.d/95_textmode ###

Using the Arch bootloader:

Problem: Arch boots correctly, but upon selecting openSUSE menu entry:

error: file '/boot/vmlinuz-4.4.27-2-default' not found.
error: you need to boot the kernel first.

press any key to continue..._

But, when accessing the openSUSE root filesystem from Arch, the file /boot/vmlinuz-4.4.27-2-default clearly exists.

Arch Linux's grub.cfg (/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 ###
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_gpt
insmod ext2
set root='hd0,gpt9'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9  7184f6be-680f-4649-868b-52c452b64dbb
else
  search --no-floppy --fs-uuid --set=root 7184f6be-680f-4649-868b-52c452b64dbb
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_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
else
  search --no-floppy --fs-uuid --set=root A6AF-CCC9
fi
insmod gfxmenu
loadfont ($root)/grub/themes/breeze/terminus-12.pf2
loadfont ($root)/grub/themes/breeze/terminus-14.pf2
loadfont ($root)/grub/themes/breeze/terminus-16.pf2
loadfont ($root)/grub/themes/breeze/terminus-18.pf2
loadfont ($root)/grub/themes/breeze/terminus-b12.pf2
loadfont ($root)/grub/themes/breeze/terminus-b14.pf2
loadfont ($root)/grub/themes/breeze/terminus-b16.pf2
loadfont ($root)/grub/themes/breeze/terminus-b18.pf2
insmod png
set theme=($root)/grub/themes/breeze/theme.txt
export theme
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-7184f6be-680f-4649-868b-52c452b64dbb' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
	else
	  search --no-floppy --fs-uuid --set=root A6AF-CCC9
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=7184f6be-680f-4649-868b-52c452b64dbb rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd  /intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-7184f6be-680f-4649-868b-52c452b64dbb' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-7184f6be-680f-4649-868b-52c452b64dbb' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		set root='hd0,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
		else
		  search --no-floppy --fs-uuid --set=root A6AF-CCC9
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=7184f6be-680f-4649-868b-52c452b64dbb rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /intel-ucode.img /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-7184f6be-680f-4649-868b-52c452b64dbb' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		set root='hd0,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
		else
		  search --no-floppy --fs-uuid --set=root A6AF-CCC9
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=7184f6be-680f-4649-868b-52c452b64dbb rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /intel-ucode.img /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 ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-A6AF-CCC9' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A6AF-CCC9
	else
	  search --no-floppy --fs-uuid --set=root A6AF-CCC9
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'openSUSE 42.2 (x86_64) (on /dev/sda6)' --class suse --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-6fa2fddb-85e5-485b-8211-a869479e8eb3' {
	insmod part_gpt
	insmod btrfs
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
	else
	  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
	fi
	linux /boot/vmlinuz-4.4.27-2-default root=/dev/sda6
	initrd /boot/initrd-4.4.27-2-default
}
submenu 'Advanced options for openSUSE 42.2 (x86_64) (on /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-6fa2fddb-85e5-485b-8211-a869479e8eb3' {
	menuentry 'openSUSE 42.2 (x86_64) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4.27-2-default--6fa2fddb-85e5-485b-8211-a869479e8eb3' {
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
		else
		  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
		fi
		linux /boot/vmlinuz-4.4.27-2-default root=/dev/sda6
		initrd /boot/initrd-4.4.27-2-default
	}
	menuentry 'openSUSE 42.2 (x86_64) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinux-4.4.27-2-default.gz--6fa2fddb-85e5-485b-8211-a869479e8eb3' {
		insmod part_gpt
		insmod btrfs
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  6fa2fddb-85e5-485b-8211-a869479e8eb3
		else
		  search --no-floppy --fs-uuid --set=root 6fa2fddb-85e5-485b-8211-a869479e8eb3
		fi
		linux /boot/vmlinux-4.4.27-2-default.gz root=/dev/sda6
	}
}

### 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 ###

If any other information that I could provide would be useful, then please let me know. I really appreciate your help!

-amscisr

Offline

Board footer

Powered by FluxBB