Re: grub2 weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> When I boot my computer, it shows the list of kernels that are installed
>>>>> and
>>>> could be used...  I take the default of kernel-3.1.0-rc3.git0.0.fc17.
>>>> x86_64!
>>>>  Grub2 tells me that I am booting from kernel-3.0.1-3.fc16.x86_64 ...
>>>>
>>>> I am just curious as of why the discrepancy?
>>>
>>> I've seen that as well - in my case it always shows "Loading Fedora
>>> (3.0.0-3.fc16.x86_64)" (which was probably my original installed kernel,
>>> the
>>> install was from RC1). It boots into the correct kernel regardless.
>>
>> That must be the result of grubby duplicating a menuentry stanza when
>> a new kernel's installed because the stanzas have "echo ..."
>> statements that are probably not being updated when grubby creates a
>> new entry.
>>
>> Could you post your grub.cfg?
>
> I must apologize, I do not know where to find the grub2.conf file?

It's "/etc/grub2.cfg" or "/boot/grub2/grub.cfg" - the first is a
symlink to the second.

I've just installed F16 KDE from the Live CD and the "echo
'Loading...'" was updated correctly after a "yum update".

menuentry 'Fedora (3.1.0-0.rc3.git0.0.fc16.i686)' --class fedora
--class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set=root 922072c8-ca08-4f0c-8214-c1202e3409de
	echo 'Loading Fedora (3.1.0-0.rc3.git0.0.fc16.i686)'
	linux	/vmlinuz-3.1.0-0.rc3.git0.0.fc16.i686
root=/dev/mapper/VolGroup-lv_root ro rd.md=0 rd.dm=0
rd.lvm.lv=VolGroup/lv_swap  KEYTABLE=us quiet
SYSFONT=latarcyrheb-sun16 rhgb rd.lvm.lv=VolGroup/lv_root rd.luks=0
LANG=en_US.UTF-8
	echo 'Loading initial ramdisk ...'
	initrd /initramfs-3.1.0-0.rc3.git0.0.fc16.i686.img
}
menuentry 'Fedora Linux, with Linux 3.0.0-1.fc16.i686' --class fedora
--class gnu-linux --class gnu --class os {
	load_video
	set gfxpayload=keep
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set=root 922072c8-ca08-4f0c-8214-c1202e3409de
	echo	'Loading Linux 3.0.0-1.fc16.i686 ...'
	linux	/vmlinuz-3.0.0-1.fc16.i686 root=/dev/mapper/VolGroup-lv_root ro
rd.md=0 rd.dm=0 rd.lvm.lv=VolGroup/lv_swap  KEYTABLE=us quiet
SYSFONT=latarcyrheb-sun16 rhgb rd.lvm.lv=VolGroup/lv_root rd.luks=0
LANG=en_US.UTF-8
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-3.0.0-1.fc16.i686.img
}

# rpm -q grubby
grubby-8.1-1.fc16.i686
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux