Mailinglist Archive: opensuse (1620 mails)

< Previous Next >
[opensuse] Re: boot with root as subvolume
On Mon, 24 Nov 2014 12:03:56 +0300
Andrei Borzenkov <arvidjaar@xxxxxxxxx> wrote:

You mean that if you *now* run grub2-mkconfig and/or grub2-install
they will produce paths without /@?

Yes.

Could you please attach output of grub2-mkconfig

See mkconfig.txt in the attachment.

and grub2-install --debug?

See grub2install.txt.bz2

Let me say: "Thank you!" for your readiness to help instead of speaking
philosophy. ;)


Sincerely,
Gour

--
A self-realized man has no purpose to fulfill in the discharge
of his prescribed duties, nor has he any reason not to perform
such work. Nor has he any need to depend on any other living being.
#
# 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 [ "${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
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod btrfs
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3'
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
else
search --no-floppy --fs-uuid --set=root 9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
fi
font="/usr/share/grub2/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_output gfxterm
insmod part_gpt
insmod btrfs
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3'
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
else
search --no-floppy --fs-uuid --set=root 9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
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 $snapshot_num' and reboot." { true;
}
}
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE' --class opensuse --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-simple-9ae92369-a3c0-47fd-9a1e-e6a62e989ccd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod btrfs
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3'
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
else
search --no-floppy --fs-uuid --set=root
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
fi
echo 'Loading Linux 3.16.6-2-desktop ...'
linux /boot/vmlinuz-3.16.6-2-desktop
root=UUID=9ae92369-a3c0-47fd-9a1e-e6a62e989ccd ${extra_cmdline}
resume=/dev/disk/by-uuid/c1b0a606-e90c-4066-991a-19077a24d2dc splash=silent
quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.16.6-2-desktop
}
submenu 'Advanced options for openSUSE' $menuentry_id_option
'gnulinux-advanced-9ae92369-a3c0-47fd-9a1e-e6a62e989ccd' {
menuentry 'openSUSE, with Linux 3.16.6-2-desktop' --class opensuse
--class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.16.6-2-desktop-advanced-9ae92369-a3c0-47fd-9a1e-e6a62e989ccd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod btrfs
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3'
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
else
search --no-floppy --fs-uuid --set=root
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
fi
echo 'Loading Linux 3.16.6-2-desktop ...'
linux /boot/vmlinuz-3.16.6-2-desktop
root=UUID=9ae92369-a3c0-47fd-9a1e-e6a62e989ccd ${extra_cmdline}
resume=/dev/disk/by-uuid/c1b0a606-e90c-4066-991a-19077a24d2dc splash=silent
quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.16.6-2-desktop
}
menuentry 'openSUSE, with Linux 3.16.6-2-desktop (recovery mode)'
--class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.16.6-2-desktop-recovery-9ae92369-a3c0-47fd-9a1e-e6a62e989ccd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod btrfs
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3
--hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3'
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
else
search --no-floppy --fs-uuid --set=root
9ae92369-a3c0-47fd-9a1e-e6a62e989ccd
fi
echo 'Loading Linux 3.16.6-2-desktop ...'
linux /boot/vmlinuz-3.16.6-2-desktop
root=UUID=9ae92369-a3c0-47fd-9a1e-e6a62e989ccd ${extra_cmdline} showopts
apm=off noresume edd=off powersaved=off nohz=off highres=off
processor.max_cstate=1 nomodeset x11failsafe rootflags=subvol=@
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.16.6-2-desktop
}
}

### 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 ###
### 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 ###
< Previous Next >
Follow Ups