after updating FC3 with up2date i've noticed there are:
1) three kernels on my machine
by default, grub does not erase old entrys for your kernels, in case you want to revert to an old kernel. If you are ok with the new kernel you
can delete the entries for the old kernels without problem.
2) grub.con is a symlink to /etc/grub/grub.conf
> 3) /etc/grub/grub.conf does not exist
It is a link to /boot/grub/grub.conf:
[root@fingolfin ~]# ls -la /etc/grub.conf
lrwxrwxrwx 1 root root 22 ene 24 15:21 /etc/grub.conf -> ../boot/grub/grub.conf
4) /etc/grub/ does not exist
It is /boot/grub
has something gone wrong? how can grub be configured if there are no configuration files or directories existing for it?
thanks for any help.
You can delete the entries like
title Fedora Core (2.6.10-1.770_FC3) root (hd0,6) kernel /vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/12 initrd /initrd-2.6.10-1.770_FC3.img
from your grub.conf and leave only the first entry that corresponds to the newer kernel installation. You can compare kernel versions in () to be sure.
Remember to double check the global configuration
default=0
at the begining of the grub.conf to ensure you have the correct kernel entry selected.
finally, save your changes and run as root:
# grub-install /dev/hdX
where /dev/hdX is the name of the hard drive where you want grub to install. p.e. /dev/hda to install in the MBR of the first hard drive.
Regards, Miguel