grub2 in fedora 22

Patrick Dupre pdupre at gmx.com
Fri Jul 31 23:05:58 UTC 2015


Hello,

I had a bad surprise.
After the last update grub2-mkconfig -o /boot/grub2/grub.cfg
the grub.cfg is not correct
I have:

menuentry 'Fedora (4.1.2-200.fc22.i686+PAE) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.2-200.fc22.i686+PAE-advanced-78c1373b-43b8-4706-8771-4bc5a2ea0fa4' {
	set gfxpayload=text
	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 --hint='hd0,msdos6'  fff6282e-eb24-405f-b43b-06ba5cc92c70
	else
	  search --no-floppy --fs-uuid --set=root fff6282e-eb24-405f-b43b-06ba5cc92c70
	fi
	linux16 /vmlinuz-4.1.2-200.fc22.i686+PAE root=/dev/mapper/VolGrpSys0-root ro vconsole.keymap=fr rd.dm=0  rd.md=0 rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys3/root 
	initrd16 /initramfs-4.1.2-200.fc22.i686+PAE.img
}

while it should be:

inux16 /vmlinuz-4.1.2-200.fc22.i686+PAE root=/dev/mapper/VolGrpSys0-root ro vconsole.keymap=fr rd.dm=0  rd.md=0 rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root

VolGrpSys0/root is a fedora 20.

where did grub2-mkconfig find this wrong information?
How can I fix it (i.e. not manually in gbub.cfg

Thank.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at 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
===========================================================================


More information about the users mailing list