Operating Systems > Linux and UNIX
grub over lilo
Siplus:
how can i uninstall lilo and install grub? i looked on my redhat cd1, but it only showed the package manager and there are no boot loaders in there. and, if i install grub now, will it still show my backed up kernal versions for linux?
like in lilo it has my kernal vers:
2.4.18-14
2.4.18-17.8.0 and
2.4.18-18.8.0
will grub let me switch between these (i don't know why i would need to, but i'm guessing that lilo put these in here for a reason)
voidmain:
You don't have to uninstall LILO. Just install GRUB which will overwrite the MBR to point to the GRUB loader. You can set up GRUB to boot between your different kernel versions just like LILO. Here's an example of my grub.conf:
--- Code: ---
--- End code ---
As you can see I have 3 different Linux kernels and a Windows boot section. By not uninstalling LILO you can always revert back to it by running "# /sbin/lilo".
[ December 02, 2002: Message edited by: void main ]
Siplus:
umm, well i just installed grub, but when i reboot, it is still using lilo.
i extracted it using file roller (the nice
graphical unzip thing in GNOME),
--- Code: ---
--- End code ---
and i see it in /etc (i think that's the directory), but nothing seemed to change
[ December 05, 2002: Message edited by: Siplus ]
choasforages:
try typing as root
grub-install /dev/drivewithmbr
replace drivewithmbr with whatever disk has the mbr. like /dev/hda or something
voidmain:
Before you configure GRUB to be your boot loader, make sure the GRUB configuration file is correct. You should find the grub.conf (or a link to grub.conf) in /etc/grub.conf. If it appears to be configured properly do as Chaos said and type:
# grub-install /dev/hda
Unlike LILO, this installation only has to be done once. You do not have to run the command again after modifying grub.conf. You certainly want to make a boot disk (and test the boot disk) before doing so. Just in case you have something wrong in the configuration file. See "man mkbootdisk" if your system has that utility.
[ December 05, 2002: Message edited by: void main ]
Navigation
[0] Message Index
[#] Next page
Go to full version