Configuring Grub
I installed a new kernerl (2.6.3) and I am not sure how to set up Grub to boot up with the new kernel (I am using Red Hat 9). I would like to have the option to boot the original kernel (2.4.20) or the 2.6.3, it this possible?
|
yes, it's easy...
Code:
title=Gentoo-2.4.22 |
When I got my 2.6 kernel I just did a make install and it put it in grub.conf for me. I think I had to make it default though...
my /etc/grub.conf cat /etc/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,2) # kernel /boot/vmlinuz-version ro root=/dev/hda3 # initrd /boot/initrd-version.img #boot=/dev/hda default=1 timeout=10 splashimage=(hd0,2)/boot/grub/splash.xpm.gz title Red Hat Linux (2.6.2) root (hd0,2) kernel /boot/vmlinuz-2.6.2 ro root=LABEL=/ initrd /boot/initrd-2.6.2.img title Red Hat Linux (2.6.0) root (hd0,2) kernel /boot/vmlinuz-2.6.0 ro root=LABEL=/ initrd /boot/initrd-2.6.0.img title Red Hat Linux (2.4.20-24.9) root (hd0,2) kernel /boot/vmlinuz-2.4.20-24.9 ro root=LABEL=/ initrd /boot/initrd-2.4.20-24.9.img title Red Hat Linux (2.4.20-20.9) root (hd0,2) kernel /boot/vmlinuz-2.4.20-20.9 ro root=LABEL=/ initrd /boot/initrd-2.4.20-20.9.img title Red Hat Linux (2.4.20-19.9) root (hd0,2) kernel /boot/vmlinuz-2.4.20-19.9 ro root=LABEL=/ initrd /boot/initrd-2.4.20-19.9.img title Red Hat Linux (2.4.20-18.9) root (hd0,2) kernel /boot/vmlinuz-2.4.20-18.9 ro root=LABEL=/ initrd /boot/initrd-2.4.20-18.9.img |
All times are GMT -5. The time now is 10:22 PM. |