Hello,
grub2-mkconfig find systems which do not exist For example it find a partition root=/dev/mapper/VolGrpSys0-root which does not exist Where is kept VolGrpSys0?
thank
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
On Sat, Feb 7, 2015 at 4:26 PM, Patrick Dupre pdupre@gmx.com wrote:
Hello,
grub2-mkconfig find systems which do not exist For example it find a partition root=/dev/mapper/VolGrpSys0-root which does not exist Where is kept VolGrpSys0?
What output do you get from os-prober?
/dev/sdb1:Microsoft Windows XP Professional:Windows:chain /dev/sdb6:Fedora release 16 (Verne):Fedora:linux /dev/sdc1:Microsoft Windows XP Professional:Windows1:chain /dev/mapper/VolGrpSys2-root:Fedora release 20 (Heisenbug):Fedora1:linux
The last one is OK, but it give grub.cfg:
menuentry 'Fedora release 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8 initrd16 /initramfs-3.17.8-200.fc20.x86_64.img }
why: linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8
lvscan ACTIVE '/dev/VolGrpSys2/root' [28.00 GiB] inherit ACTIVE '/dev/VolGrpSys2/tmp' [1.46 GiB] inherit ACTIVE '/dev/VolGrpSys2/usr-src' [16.00 GiB] inherit ACTIVE '/dev/VolGrpSys2/usr-local' [13.53 GiB] inherit ACTIVE '/dev/VolGrpUsr1/home' [23.44 GiB] inherit ACTIVE '/dev/VolGrpUsr1/iso_image' [8.03 GiB] inherit ACTIVE '/dev/VolGrpUsr2/home' [30.00 GiB] inherit ACTIVE '/dev/VolGrpUsr2/iso-image' [10.00 GiB] inherit ACTIVE '/dev/VolGrpSys1/usr' [10.25 GiB] inherit ACTIVE '/dev/VolGrpSys1/usr_local' [14.16 GiB] inherit ACTIVE '/dev/VolGrpSys1/usr_lib' [5.08 GiB] inherit ACTIVE '/dev/VolGrpSys1/usr_src' [7.03 GiB] inherit ACTIVE '/dev/VolGrpSys1/tmp' [1.47 GiB] inherit
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Sunday, February 08, 2015 at 1:28 AM From: "Chris Murphy" lists@colorremedies.com To: "Community support for Fedora users" users@lists.fedoraproject.org Subject: Re: grub2-mkconfig
On Sat, Feb 7, 2015 at 4:26 PM, Patrick Dupre pdupre@gmx.com wrote:
Hello,
grub2-mkconfig find systems which do not exist For example it find a partition root=/dev/mapper/VolGrpSys0-root which does not exist Where is kept VolGrpSys0?
What output do you get from os-prober?
-- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
What's the output from rpm -q grub2 bash -x grub2-mkconfig
Try to post the entire thing to the forum. If it bounces back, then stick the text file up somewhere and provide the URL.
Chris Murphy
grub2-2.02-0.13.fc21.x86_64
+ set -e + prefix=/usr + exec_prefix=/usr + datarootdir=/usr/share + prefix=/usr + exec_prefix=/usr + sbindir=/usr/sbin + bindir=/usr/bin + sysconfdir=/etc + PACKAGE_NAME=GRUB + PACKAGE_VERSION=2.02~beta2 + host_os=linux-gnu + datadir=/usr/share + '[' x = x ']' + pkgdatadir=/usr/share/grub + grub_cfg= + grub_mkconfig_dir=/etc/grub.d ++ basename grub2-mkconfig + self=grub2-mkconfig + grub_probe=/usr/sbin/grub2-probe + grub_file=/usr/bin/grub2-file + grub_editenv=/usr/bin/grub2-editenv + grub_script_check=/usr/bin/grub2-script-check + export TEXTDOMAIN=grub + TEXTDOMAIN=grub + export TEXTDOMAINDIR=/usr/share/locale + TEXTDOMAINDIR=/usr/share/locale + . /usr/share/grub/grub-mkconfig_lib ++ prefix=/usr ++ exec_prefix=/usr ++ datarootdir=/usr/share ++ datadir=/usr/share ++ bindir=/usr/bin ++ sbindir=/usr/sbin ++ '[' x/usr/share/grub = x ']' ++ test x/usr/sbin/grub2-probe = x ++ test x/usr/bin/grub2-file = x ++ test x = x ++ grub_mkrelpath=/usr/bin/grub2-mkrelpath ++ which gettext ++ : ++ grub_tab=' ' + test 0 -gt 0 + '[' x0 = x ']' + '[' 0 '!=' 0 ']' + set /usr/sbin/grub2-probe dummy + test -f /usr/sbin/grub2-probe + : ++ /usr/sbin/grub2-probe --target=device / + GRUB_DEVICE=/dev/sda3 ++ /usr/sbin/grub2-probe --device /dev/sda3 --target=fs_uuid + GRUB_DEVICE_UUID_GENERATED=da1fb213-c138-4711-aba2-76a598506283 ++ /usr/sbin/grub2-probe --target=device /boot + GRUB_DEVICE_BOOT=/dev/sda2 ++ /usr/sbin/grub2-probe --device /dev/sda2 --target=fs_uuid + GRUB_DEVICE_BOOT_UUID_GENERATED=9089ac44-babc-47c3-9fb5-a51a95931a7d ++ /usr/sbin/grub2-probe --device /dev/sda3 --target=fs + GRUB_FS=ext2 + '[' xext2 = xunknown ']' + test -f /etc/default/grub + . /etc/default/grub ++ GRUB_TIMEOUT=6 ++ GRUB_DISTRIBUTOR=Fedora ++ GRUB_DEFAULT=saved ++ GRUB_CMDLINE_LINUX='rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8' + '[' x '!=' xtrue -a -z '' ']' + GRUB_DEVICE_UUID=da1fb213-c138-4711-aba2-76a598506283 + '[' x '!=' xtrue -a -z '' ']' + GRUB_DEVICE_BOOT_UUID=9089ac44-babc-47c3-9fb5-a51a95931a7d + '[' x '!=' x ']' + termoutdefault=0 + '[' x = x ']' + GRUB_TERMINAL_OUTPUT=gfxterm + termoutdefault=1 + for x in '${GRUB_TERMINAL_OUTPUT}' + case "x${x}" in + GRUB_ACTUAL_DEFAULT=saved + '[' xsaved = xsaved ']' ++ /usr/bin/grub2-editenv - list ++ sed -n '/^saved_entry=/ s,^saved_entry=,,p' + GRUB_ACTUAL_DEFAULT='Fedora (3.18.5-201.fc21.x86_64) 21 (Twenty One)' + export GRUB_DEVICE GRUB_DEVICE_UUID GRUB_DEVICE_BOOT GRUB_DEVICE_BOOT_UUID GRUB_FS GRUB_FONT GRUB_PRELOAD_MODULES GRUB_ACTUAL_DEFAULT + export GRUB_DEFAULT GRUB_HIDDEN_TIMEOUT GRUB_HIDDEN_TIMEOUT_QUIET GRUB_TIMEOUT GRUB_TIMEOUT_STYLE GRUB_DEFAULT_BUTTON GRUB_HIDDEN_TIMEOUT_BUTTON GRUB_TIMEOUT_BUTTON GRUB_TIMEOUT_STYLE_BUTTON GRUB_BUTTON_CMOS_ADDRESS GRUB_BUTTON_CMOS_CLEAN GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX_DEFAULT GRUB_CMDLINE_XEN GRUB_CMDLINE_XEN_DEFAULT GRUB_CMDLINE_LINUX_XEN_REPLACE GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT GRUB_CMDLINE_NETBSD GRUB_CMDLINE_NETBSD_DEFAULT GRUB_CMDLINE_GNUMACH GRUB_TERMINAL_INPUT GRUB_TERMINAL_OUTPUT GRUB_SERIAL_COMMAND GRUB_DISABLE_LINUX_UUID GRUB_DISABLE_RECOVERY GRUB_DISABLE_UUID GRUB_VIDEO_BACKEND GRUB_GFXMODE GRUB_BACKGROUND GRUB_THEME GRUB_GFXPAYLOAD_LINUX GRUB_DISABLE_OS_PROBER GRUB_INIT_TUNE GRUB_SAVEDEFAULT GRUB_ENABLE_CRYPTODISK GRUB_BADRAM GRUB_OS_PROBER_SKIP_LIST GRUB_DISABLE_SUBMENU GRUB_DEFAULT_DTB + test x '!=' x + gettext 'Generating grub configuration file ...' Generating grub configuration file ...+ echo
+ cat # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/00_header + test -f /etc/grub.d/00_header + case "$1" in + return 0 + test -x /etc/grub.d/00_header + echo
+ echo '### BEGIN /etc/grub.d/00_header ###' ### BEGIN /etc/grub.d/00_header ### + /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 }
if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' da1fb213-c138-4711-aba2-76a598506283 else search --no-floppy --fs-uuid --set=root da1fb213-c138-4711-aba2-76a598506283 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_output gfxterm if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=6 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=6 fi + echo '### END /etc/grub.d/00_header ###' ### END /etc/grub.d/00_header ### + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/10_linux + test -f /etc/grub.d/10_linux + case "$1" in + return 0 + test -x /etc/grub.d/10_linux + echo
+ echo '### BEGIN /etc/grub.d/10_linux ###' ### BEGIN /etc/grub.d/10_linux ### + /etc/grub.d/10_linux Found linux image: /boot/vmlinuz-3.18.5-201.fc21.x86_64 Found initrd image: /boot/initramfs-3.18.5-201.fc21.x86_64.img menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-da1fb213-c138-4711-aba2-76a598506283' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-3.18.5-201.fc21.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.18.5-201.fc21.x86_64.img } submenu 'Advanced options for Fedora' $menuentry_id_option 'gnulinux-advanced-da1fb213-c138-4711-aba2-76a598506283' { menuentry 'Fedora, with Linux 3.18.5-201.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.18.5-201.fc21.x86_64-advanced-da1fb213-c138-4711-aba2-76a598506283' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-3.18.5-201.fc21.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.18.5-201.fc21.x86_64.img } menuentry 'Fedora, with Linux 3.18.5-201.fc21.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.18.5-201.fc21.x86_64-recovery-da1fb213-c138-4711-aba2-76a598506283' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-3.18.5-201.fc21.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro single rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.18.5-201.fc21.x86_64.img } Found linux image: /boot/vmlinuz-3.18.3-201.fc21.x86_64 Found initrd image: /boot/initramfs-3.18.3-201.fc21.x86_64.img menuentry 'Fedora, with Linux 3.18.3-201.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.18.3-201.fc21.x86_64-advanced-da1fb213-c138-4711-aba2-76a598506283' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-3.18.3-201.fc21.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.18.3-201.fc21.x86_64.img } menuentry 'Fedora, with Linux 3.18.3-201.fc21.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.18.3-201.fc21.x86_64-recovery-da1fb213-c138-4711-aba2-76a598506283' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-3.18.3-201.fc21.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro single rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.18.3-201.fc21.x86_64.img } Found linux image: /boot/vmlinuz-3.17.8-200.fc20.x86_64 Found initrd image: /boot/initramfs-3.17.8-200.fc20.x86_64.img menuentry 'Fedora, with Linux 3.17.8-200.fc20.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.17.8-200.fc20.x86_64-advanced-da1fb213-c138-4711-aba2-76a598506283' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.17.8-200.fc20.x86_64.img } menuentry 'Fedora, with Linux 3.17.8-200.fc20.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.17.8-200.fc20.x86_64-recovery-da1fb213-c138-4711-aba2-76a598506283' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro single rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.17.8-200.fc20.x86_64.img } Found linux image: /boot/vmlinuz-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384 Found initrd image: /boot/initramfs-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384.img menuentry 'Fedora, with Linux 0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384-advanced-da1fb213-c138-4711-aba2-76a598506283' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384.img } menuentry 'Fedora, with Linux 0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384-recovery-da1fb213-c138-4711-aba2-76a598506283' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 9089ac44-babc-47c3-9fb5-a51a95931a7d else search --no-floppy --fs-uuid --set=root 9089ac44-babc-47c3-9fb5-a51a95931a7d fi linux16 /vmlinuz-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro single rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-0-rescue-dcdc9ed7e87243ec91d6d876cf7c3384.img } }
+ echo '### END /etc/grub.d/10_linux ###' ### END /etc/grub.d/10_linux ### + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/20_linux_xen + test -f /etc/grub.d/20_linux_xen + case "$1" in + return 0 + test -x /etc/grub.d/20_linux_xen + echo
+ echo '### BEGIN /etc/grub.d/20_linux_xen ###' ### BEGIN /etc/grub.d/20_linux_xen ### + /etc/grub.d/20_linux_xen
+ echo '### END /etc/grub.d/20_linux_xen ###' ### END /etc/grub.d/20_linux_xen ### + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/20_ppc_terminfo + test -f /etc/grub.d/20_ppc_terminfo + case "$1" in + return 0 + test -x /etc/grub.d/20_ppc_terminfo + echo
+ echo '### BEGIN /etc/grub.d/20_ppc_terminfo ###' ### BEGIN /etc/grub.d/20_ppc_terminfo ### + /etc/grub.d/20_ppc_terminfo + echo '### END /etc/grub.d/20_ppc_terminfo ###' ### END /etc/grub.d/20_ppc_terminfo ### + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/30_os-prober + test -f /etc/grub.d/30_os-prober + case "$1" in + return 0 + test -x /etc/grub.d/30_os-prober + echo
+ echo '### BEGIN /etc/grub.d/30_os-prober ###' ### BEGIN /etc/grub.d/30_os-prober ### + /etc/grub.d/30_os-prober Found Microsoft Windows XP Professional on /dev/sdb1 menuentry 'Microsoft Windows XP Professional (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-34B10564542CFC89' { insmod part_msdos insmod ntfs set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 34B10564542CFC89 else search --no-floppy --fs-uuid --set=root 34B10564542CFC89 fi parttool ${root} hidden- drivemap -s (hd0) ${root} chainloader +1 } Found Fedora release 16 (Verne) on /dev/sdb6 menuentry 'Fedora release 16 (Verne) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.11-4.fc16.x86_64 root=/dev/sdb6 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.11-4.fc16.x86_64.img } submenu 'Advanced options for Fedora release 16 (Verne) (on /dev/sdb6)' $menuentry_id_option 'osprober-gnulinux-advanced-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { menuentry 'Fedora Verne (3.6.11-4.fc16.x86_64) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.11-4.fc16.x86_64--98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.11-4.fc16.x86_64 root=/dev/sdb6 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.11-4.fc16.x86_64.img } menuentry 'Fedora Verne (3.6.11-4.fc16.x86_64 recovery mode) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.11-4.fc16.x86_64-root=/dev/sdb6 ro single rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.11-4.fc16.x86_64 root=/dev/sdb6 ro single rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.11-4.fc16.x86_64.img } menuentry 'Fedora Verne (3.6.11-1.fc16.x86_64) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.11-1.fc16.x86_64--98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.11-1.fc16.x86_64 root=/dev/sdb6 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.11-1.fc16.x86_64.img } menuentry 'Fedora Verne (3.6.11-1.fc16.x86_64 recovery mode) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.11-1.fc16.x86_64-root=/dev/sdb6 ro single rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.11-1.fc16.x86_64 root=/dev/sdb6 ro single rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.11-1.fc16.x86_64.img } menuentry 'Fedora Verne (3.6.7-4.fc16.x86_64) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.7-4.fc16.x86_64--98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.7-4.fc16.x86_64 root=/dev/sdb6 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.7-4.fc16.x86_64.img } menuentry 'Fedora Verne (3.6.7-4.fc16.x86_64 recovery mode) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.7-4.fc16.x86_64-root=/dev/sdb6 ro single quiet rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.7-4.fc16.x86_64 root=/dev/sdb6 ro single quiet rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.7-4.fc16.x86_64.img } }
Found Microsoft Windows XP Professional on /dev/sdc1 menuentry 'Microsoft Windows XP Professional (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-77F6A9216E264B8E' { insmod part_msdos insmod ntfs set root='hd2,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 --hint='hd2,msdos1' 77F6A9216E264B8E else search --no-floppy --fs-uuid --set=root 77F6A9216E264B8E fi parttool ${root} hidden- drivemap -s (hd0) ${root} chainloader +1 } Found Fedora release 20 (Heisenbug) on /dev/mapper/VolGrpSys2-root menuentry 'Fedora release 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8 initrd16 /initramfs-3.17.8-200.fc20.x86_64.img } submenu 'Advanced options for Fedora release 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' $menuentry_id_option 'osprober-gnulinux-advanced-66528cb3-5298-4882-976c-02935cfac589' { menuentry 'Fedora on sdc (3.17.8-200.fc20.x86_64) 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.17.8-200.fc20.x86_64--66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8 initrd16 /initramfs-3.17.8-200.fc20.x86_64.img } menuentry 'Fedora on sdb (3.17.8-200.fc20.x86_64) 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.17.8-200.fc20.x86_64--66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8 initrd16 /initramfs-3.17.8-200.fc20.x86_64.img } menuentry 'Fedora on sdb (3.17.7-200.fc20.x86_64) 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.17.7-200.fc20.x86_64--66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-3.17.7-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8 initrd16 /initramfs-3.17.7-200.fc20.x86_64.img } menuentry 'Fedora on sdb (3.17.6-200.fc20.x86_64) 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.17.6-200.fc20.x86_64--66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-3.17.6-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8 initrd16 /initramfs-3.17.6-200.fc20.x86_64.img } menuentry 'Fedora, with Linux 0-rescue-f14e53f3162847d4ae17fd1ca988e33c (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-0-rescue-f14e53f3162847d4ae17fd1ca988e33c--66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-0-rescue-f14e53f3162847d4ae17fd1ca988e33c root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root rhgb quiet initrd16 /initramfs-0-rescue-f14e53f3162847d4ae17fd1ca988e33c.img } menuentry 'Fedora on sda (3.17.8-200.fc20.x86_64) 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.17.8-200.fc20.x86_64--66528cb3-5298-4882-976c-02935cfac589' { insmod part_msdos insmod ext2 set root='hd2,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos6 --hint-efi=hd2,msdos6 --hint-baremetal=ahci2,msdos6 --hint='hd2,msdos6' ac2542fe-cd0b-4461-b656-965778d4a055 else search --no-floppy --fs-uuid --set=root ac2542fe-cd0b-4461-b656-965778d4a055 fi linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=UUID=da1fb213-c138-4711-aba2-76a598506283 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16 KEYTABLE=uk rd.luks=0 LANG=en_US.UTF-8 initrd16 /initramfs-3.17.8-200.fc20.x86_64.img } }
+ echo '### END /etc/grub.d/30_os-prober ###' ### END /etc/grub.d/30_os-prober ### + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/40_custom + test -f /etc/grub.d/40_custom + case "$1" in + return 0 + test -x /etc/grub.d/40_custom + echo
+ echo '### BEGIN /etc/grub.d/40_custom ###' ### BEGIN /etc/grub.d/40_custom ### + /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. + echo '### END /etc/grub.d/40_custom ###' ### END /etc/grub.d/40_custom ### + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/41_custom + test -f /etc/grub.d/41_custom + case "$1" in + return 0 + test -x /etc/grub.d/41_custom + echo
+ echo '### BEGIN /etc/grub.d/41_custom ###' ### BEGIN /etc/grub.d/41_custom ### + /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 + echo '### END /etc/grub.d/41_custom ###' ### END /etc/grub.d/41_custom ### + for i in '"${grub_mkconfig_dir}"/*' + case "$i" in + grub_file_is_not_garbage /etc/grub.d/README + test -f /etc/grub.d/README + case "$1" in + return 1 + test x '!=' x + gettext done done+ echo
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Sunday, February 08, 2015 at 4:48 AM From: "Chris Murphy" lists@colorremedies.com To: "Community support for Fedora users" users@lists.fedoraproject.org Subject: Re: grub2-mkconfig
What's the output from rpm -q grub2 bash -x grub2-mkconfig
Try to post the entire thing to the forum. If it bounces back, then stick the text file up somewhere and provide the URL.
Chris Murphy
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On Sun, Feb 8, 2015 at 4:19 AM, Patrick Dupre pdupre@gmx.com wrote:
++ GRUB_CMDLINE_LINUX='rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8'
OK so the system GRUB is running in doesn't use LVM at all, apparently.
- echo '### BEGIN /etc/grub.d/30_os-prober ###'
starting 30_os-prober section...
Found Fedora release 16 (Verne) on /dev/sdb6 menuentry 'Fedora release 16 (Verne) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.11-4.fc16.x86_64 root=/dev/sdb6 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.11-4.fc16.x86_64.img
root=/dev/sdb6 is incorrect, it should use UUID for this by default. All Fedora 16 entries are like this.
Found Fedora release 20 (Heisenbug) on /dev/mapper/VolGrpSys2-root menuentry 'Fedora release 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)'
OK...
linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8
What the hell? Every Fedora 20 entry says VolGrpSys2-root in the description, but the kernel parameter line uses VolGrpSys0-root. This is why I hate multibooting and find it fundamentally flawed and perilous. Better to use VMs.
Anyway, you might get more information by editing /etc/grub.d/30_os-prober and adding to the top:
set -v set -x
And then rerun 'bash -x grub2-mkconfig'. The output will likely be a lot longer. This very well could be a bug.
Hello Chris,
I attached the file.
However, I changed manually the Sys0 by Sys2 which the correct lvm.
Anyway. I fixed the all issues. I am going to make the pint in another email.
Regards.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Sunday, February 08, 2015 at 5:41 PM From: "Chris Murphy" lists@colorremedies.com To: "Community support for Fedora users" users@lists.fedoraproject.org Subject: Re: grub2-mkconfig
On Sun, Feb 8, 2015 at 4:19 AM, Patrick Dupre pdupre@gmx.com wrote:
++ GRUB_CMDLINE_LINUX='rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8'
OK so the system GRUB is running in doesn't use LVM at all, apparently.
- echo '### BEGIN /etc/grub.d/30_os-prober ###'
starting 30_os-prober section...
Found Fedora release 16 (Verne) on /dev/sdb6 menuentry 'Fedora release 16 (Verne) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi linux16 /boot/vmlinuz-3.6.11-4.fc16.x86_64 root=/dev/sdb6 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8 initrd16 /boot/initramfs-3.6.11-4.fc16.x86_64.img
root=/dev/sdb6 is incorrect, it should use UUID for this by default. All Fedora 16 entries are like this.
Found Fedora release 20 (Heisenbug) on /dev/mapper/VolGrpSys2-root menuentry 'Fedora release 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)'
OK...
linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8What the hell? Every Fedora 20 entry says VolGrpSys2-root in the description, but the kernel parameter line uses VolGrpSys0-root. This is why I hate multibooting and find it fundamentally flawed and perilous. Better to use VMs.
Anyway, you might get more information by editing /etc/grub.d/30_os-prober and adding to the top:
set -v set -x
And then rerun 'bash -x grub2-mkconfig'. The output will likely be a lot longer. This very well could be a bug.
-- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Actually, nevermind. The easiest way out of this is to not troubleshoot it. All the problems come from the /etc/grub.d/30_os-prober section, so what I suggest doing is disable it. Copy and paste the output from that section into /etc/grub.d/40_custom, and then change the wrong parts, save it, then run grub2-mkconfig. This will cause it to use the statically generated /etc/grub.d/40_custom corrected contents, and not run /etc/grub.d/30_os-prober.
You can disable 30_os-prober by editing /etc/default/grub and adding GRUB_DISABLE_OS_PROBE="true"
The next time you run grub2-mkconfig, it will have an empty 30_os-prober section.
Chris Murphy
And even *better* would be to disable 30_os-prober, and instead of copy pasting corrected grub2-mkconfig output into /etc/grub.d/40_custom, would be to create menuentries using the configfile command that point to the real grub.cfg for each distro on your system. That way you use that distro's grub..cfg specifically, rather than the generic Fedora 21 grub-mkconfig produced one.
For example, you can take the /etc/grub.d/30_os-prober output for all the Fedora 16 "Verne" entries, and turn them only into one entry:
menuentry 'Fedora release 16 (Verne) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-98ed0361-1d1c-4062-9f75-dff4630c7f2a' { insmod part_msdos insmod ext2 set root='hd1,msdos6' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6' 98ed0361-1d1c-4062-9f75-dff4630c7f2a else search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a fi configfile /boot/grub2/grub.cfg }
So that single entry points to the Fedora 16 grub.cfg, which will show its kernels in a separate menu. But instead of having the (likely wrong) boot parameters based on Fedora 21, it will have the Fedora 16 boot parameters.
This is really what grub-mkconfig should be doing by default, but for some reason creating whole new frequently malformed boot entries from scratch is upstream's idea of multibooting...
Chris Murphy