GRUB boot with 2 kernels installed
I just installed a second kernel onto Fedora 3 (latest linux kernel). How do I setup Grub to give me an option of booting to either kernel?
|
http://www.redhat.com/docs/manuals/l...ootloader.html
hope that helps. im too lazy to write out specific directions. i was able to do it quite easily after taking a look at the info pages for grub. |
When you installed a second kernel, you copied the bzImage to /boot/vmlinuz.kernel_version or similar. You have also created an initrd image using the mkinitrd command.
Now all you have to do is edit the /boot/grub/grub.conf file accordingly. Take the lines that are in the file already, copy them and change accordingly: (example below) title GNU/Linux Fedora Core 1 (2.4.22-1.2174.nptl) root (hd0,4) kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ hdc=ide-scsi apm=off acpi=on rhgb initrd /initrd-2.4.22-1.2174.nptl.img This is similar to what you might have. Now to change it you would only have to copy it and make it look something like this: title GNU/Linux Fedora Core 1 (2.6 custom made) root (hd0,4) kernel /vmlinuz-2.6 ro root=LABEL=/ hdc=ide-scsi apm=off acpi=on rhgb initrd /initrd-2.6.img Where vmlniuz-2.6 would be the actuall name you named your new kernel while copying the bzImage file to the boot directory. And initrd-2.6.img would be the name you specified as the initrd image file. |
All times are GMT -5. The time now is 06:12 AM. |