Red Hat Bugzilla – Bug 64402
Upgrade doesn't preserve grub config.
Last modified: 2007-04-18 12:42:25 EDT
When I upgrade to 7.3, all the extra boot entries in grub..conf are gone.
It used to work fine with lilo.
Please attach your resulting /etc/grub.conf file.
Created attachment 56289 [details]
Created attachment 56290 [details]
Actually, an upgrade performs a kernel installation, so that does indeed wipe
out the old kernels, and the result of that is that when grub gets rewritten,
then the old entries get dropped, as they are no longer installed on the system.
What about custom kernels? Anaconda works fine with lilo in 7.1.
It preserves lables for custum kernels.
What option did you select on the upgrade boot loader screen?
Here is my kickstart file.
#url --url http://china/RedHat-7.0
harddrive --partition sda5 --dir /redhat/cdrom/i386
network --bootproto dhcp
bootloader --location mbr
Then it's doing exactly what you told it -- create a new bootloader config on
the MBR. Use 'bootloader --upgrade' to get the behavior you want
The old one in 7.1 is clever enough to know that
I already specified "upgrade" .
7.1 only had one boot loader to ever worry about.