Hallo,
ich möchte das: Windows 10 (loader) (on /dev/sda7) im Bootmenü, beim
booten nicht mehr angezeigt wird und statt Windows10 soll Nicrosoft
Windows angezeigt werden.
Ich hatte die grub.cfg aus boot/grub2 editiert, nach dem gestrigen
Update hat sich wieder alles auf standart gestellt. Ich hab irgendwo
gelesen das man das anders machen muß, weil nach einem Update wieder
alles verstellt wird.
Gruß
Hugo
#
# 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 ###
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_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos11
--hint-efi=hd0,msdos11 --hint-baremetal=ahci0,msdos11
--hint='hd0,msdos11' d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
font="/usr/share/grub2/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x768
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=de_DE
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos11
--hint-efi=hd0,msdos11 --hint-baremetal=ahci0,msdos11
--hint='hd0,msdos11' d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.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=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
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.1' --class opensuse --class gnu-linux
--class gnu --class os $menuentry_id_option
'gnulinux-simple-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos11
--hint-efi=hd0,msdos11 --hint-baremetal=ahci0,msdos11
--hint='hd0,msdos11' d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
echo 'Loading Linux 4.1.15-8-default ...'
linux /boot/vmlinuz-4.1.15-8-default
root=UUID=d9be9b6b-792b-4a40-9535-3d758ad9e0bf
resume=/dev/disk/by-uuid/a4b47f8f-f5f0-4b31-a9c8-bc735e5e18f4
splash=verbose quiet showopts vga=0x317
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-4.1.15-8-default
}
submenu 'Advanced options for openSUSE Leap 42.1' --hotkey=1
$menuentry_id_option
'gnulinux-advanced-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
menuentry 'openSUSE Leap 42.1, with Linux 4.1.15-8-default'
--hotkey=2 --class opensuse --class gnu-linux --class gnu --class os
$menuentry_id_option
'gnulinux-4.1.15-8-default-advanced-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint-bios=hd0,msdos11 --hint-efi=hd0,msdos11
--hint-baremetal=ahci0,msdos11 --hint='hd0,msdos11'
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
echo 'Loading Linux 4.1.15-8-default ...'
linux /boot/vmlinuz-4.1.15-8-default
root=UUID=d9be9b6b-792b-4a40-9535-3d758ad9e0bf
resume=/dev/disk/by-uuid/a4b47f8f-f5f0-4b31-a9c8-bc735e5e18f4
splash=verbose quiet showopts vga=0x317
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-4.1.15-8-default
}
menuentry 'openSUSE Leap 42.1, with Linux 4.1.15-8-debug' --class
opensuse --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.1.15-8-debug-advanced-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint-bios=hd0,msdos11 --hint-efi=hd0,msdos11
--hint-baremetal=ahci0,msdos11 --hint='hd0,msdos11'
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
echo 'Loading Linux 4.1.15-8-debug ...'
linux /boot/vmlinuz-4.1.15-8-debug
root=UUID=d9be9b6b-792b-4a40-9535-3d758ad9e0bf
resume=/dev/disk/by-uuid/a4b47f8f-f5f0-4b31-a9c8-bc735e5e18f4
splash=verbose quiet showopts vga=0x317
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-4.1.15-8-debug
}
menuentry 'openSUSE Leap 42.1, with Linux 4.1.13-5-debug' --class
opensuse --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-4.1.13-5-debug-advanced-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint-bios=hd0,msdos11 --hint-efi=hd0,msdos11
--hint-baremetal=ahci0,msdos11 --hint='hd0,msdos11'
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
echo 'Loading Linux 4.1.13-5-debug ...'
linux /boot/vmlinuz-4.1.13-5-debug
root=UUID=d9be9b6b-792b-4a40-9535-3d758ad9e0bf
resume=/dev/disk/by-uuid/a4b47f8f-f5f0-4b31-a9c8-bc735e5e18f4
splash=verbose quiet showopts vga=0x317
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-4.1.13-5-debug
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
menuentry 'openSUSE Leap 42.1, with Xen hypervisor' --class opensuse
--class gnu-linux --class gnu --class os --class xen
$menuentry_id_option
'xen-gnulinux-simple-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos11
--hint-efi=hd0,msdos11 --hint-baremetal=ahci0,msdos11
--hint='hd0,msdos11' d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
echo 'Loading Xen 4.5.2_04-9 ...'
if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
xen_rm_opts=
else
xen_rm_opts="no-real-mode edd=off"
fi
multiboot /boot/xen-4.5.2_04-9.gz placeholder ${xen_rm_opts}
echo 'Loading Linux 4.1.15-8-xen ...'
module /boot/vmlinuz-4.1.15-8-xen placeholder
root=UUID=d9be9b6b-792b-4a40-9535-3d758ad9e0bf
resume=/dev/disk/by-uuid/a4b47f8f-f5f0-4b31-a9c8-bc735e5e18f4
splash=verbose quiet showopts vga=0x317
echo 'Loading initial ramdisk ...'
module --nounzip /boot/initrd-4.1.15-8-xen
}
submenu 'Advanced options for openSUSE Leap 42.1 (with Xen hypervisor)'
$menuentry_id_option
'gnulinux-advanced-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
submenu 'Xen hypervisor, version 4.5.2_04-9' $menuentry_id_option
'xen-hypervisor-4.5.2_04-9-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
menuentry 'openSUSE Leap 42.1, with Xen 4.5.2_04-9 and Linux
4.1.15-8-xen' --class opensuse --class gnu-linux --class gnu --class os
--class xen $menuentry_id_option
'xen-gnulinux-4.1.15-8-xen-advanced-d9be9b6b-792b-4a40-9535-3d758ad9e0bf' {
insmod part_msdos
insmod ext2
set root='hd0,msdos11'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint-bios=hd0,msdos11 --hint-efi=hd0,msdos11
--hint-baremetal=ahci0,msdos11 --hint='hd0,msdos11'
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
else
search --no-floppy --fs-uuid --set=root
d9be9b6b-792b-4a40-9535-3d758ad9e0bf
fi
echo 'Loading Xen 4.5.2_04-9 ...'
if [ "$grub_platform" = "pc" -o "$grub_platform" = ""
]; then
xen_rm_opts=
else
xen_rm_opts="no-real-mode edd=off"
fi
multiboot /boot/xen-4.5.2_04-9.gz placeholder ${xen_rm_opts}
echo 'Loading Linux 4.1.15-8-xen ...'
module /boot/vmlinuz-4.1.15-8-xen placeholder
root=UUID=d9be9b6b-792b-4a40-9535-3d758ad9e0bf
resume=/dev/disk/by-uuid/a4b47f8f-f5f0-4b31-a9c8-bc735e5e18f4
splash=verbose quiet showopts vga=0x317
echo 'Loading initial ramdisk ...'
module --nounzip /boot/initrd-4.1.15-8-xen
}
}
}
Windows 10 (loader) (on /dev/sda7)
### 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 'E<QWE 10 (loader) (on /dev/sda1)' --class windows --class os
$menuentry_id_option 'osprober-chain-7AB40BACB40B6A49' {
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'
7AB40BACB40B6A49
else
search --no-floppy --fs-uuid --set=root 7AB40BACB40B6A49
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 10 (loader) (on /dev/sda7)' --class windows --class
os $menuentry_id_option 'osprober-chain-2C3EDCF93EDCBD50' {
insmod part_msdos
insmod ntfs
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 --hint='hd0,msdos7'
2C3EDCF93EDCBD50
else
search --no-floppy --fs-uuid --set=root 2C3EDCF93EDCBD50
fi
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 ###
### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ###
### END /etc/grub.d/80_suse_btrfs_snapshot ###
### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe(a)opensuse.org
Um den Listen Administrator zu erreichen, schicken
Sie eine Mail an: opensuse-de+owner(a)opensuse.org