← Back to team overview

sslug-teknik team mailing list archive

Re: Hvordan skifter man fra LILO til GRUB i RH7.3?

 

Gunner Poulsen wrote:
> 
> Hej Venner.
> 
> Jeg har lige opdateret min server fra RedHat 7.1 til 7.3. Jeg gjorde det i
> textmode og har åbentbart ikke forstået alle de spørgsmål den stillede mig.
> Summa sumarum, den kører LILO og jeg ville hellere bruge GRUB.
> Hvordan ændrer jeg dette?

Før du gør noget - check om du kan boote fra din
"startdiskette" fra 7.3 el.lign!


På "doc" cd'en har jeg fundet følgende:

Red Hat Linux 7.3: The Official Red Hat Linux Reference
Guide

Under Chapter 4 GRUB:

If GRUB was not installed during the Red Hat Linux
installation process, the following explains how to install
it and make it the default boot loader.


       Note
  
       If LILO has been installed and is currently the
system boot loader, it is not necessary to remove it in
order to use GRUB. Once installed, GRUB will be the default
boot
       loader for the system.


First, make sure to have the latest GRUB package available.
The GRUB package from the Red Hat Linux installation CD-ROMs
can also be used.

>From a shell prompt, run the command /sbin/grub-install
<location>, where <location> is the location where GRUB
should be installed. For example:

 /sbin/grub-install /dev/hda



Finally, reboot the system. The GRUB graphical boot loader
menu should appear.


vh jesper nk


References