On Thu, 18 Mar 1999, Adam Wright wrote:

> I have just installed Linux Mandrake 5.3 and am very pleased with it, 
> However I do have a question that I hope someone out there can help
> with.
> I am able to boot my system with a floppy diskette, but not from the
> hard drive. I realize that I have done something incorrectly in my
> installation (I am a definite Newbie to Linux). Now I need to know how
> to install LILO to my MBR on my hard drive. The boot disk I have is not
> able to be mounted.
> 
>                                                 Thanks in advance,
>           
>                                                          Adam Wright

You have to edit/etc/lilo.conf and add the following line:

boot=/dev/XXX

at the beginning of the file (where XXX is the drive where you have
installed linux -- e.g. /dev/hda). Then launch /sbin/lilo to reinstall
lilo.

Take a look at my lilo.conf:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
image=/boot/zImage
        label=linux
        root=/dev/hda1
        read-only
        vga=4
        alias=1
image=/usr/src/linux/arch/i386/boot/zImage
        label=new
        root=/dev/hda1
        read-only
        vga=4
        alias=2

For more informations:

man lilo
man lilo.conf

--
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi             [EMAIL PROTECTED]
                            http://ing49.unife.it/keyser
Ferrara Linux User Group    http://flug.unife.it

Reply via email to