Click to See Complete Forum and Search --> : Lilo configuration


Antonis
08-05-2001, 04:22 AM
When booting lilo loads but there is no selection for my windows OS. Windows 2000 is installed on hda and linux mandrak 7.2 on hdb.

So to add in lilo the windows selection I add these three lines inside the lilo.conf file.

other=/dev/hda1
label=windows
table=/dev/hda

But I cant get it working.

I would really appreciate if someone could tell me what I am doing wrong.

Thanks in advance.

bdg1983
08-05-2001, 05:35 AM
Did you rerun /sbin/lilo to write the changes? You should see something like 'added windows'.

Antonis
08-05-2001, 02:08 PM
How can I rerun /sbin/lilo?

I go into the directory and just press lilo?

The error i get here is
bash: lilo: command not found

or I run it as an executable ./lilo?

The error I get here is
Fatal: open /dev/hda: Permission denied

Thanks.

danrees
08-05-2001, 03:43 PM
You need to run the command as root - for obvious reasons normal users can't change the boot setup!!!

Type:
su
(enter password)

then /usr/sbin/lilo

Then "exit"

Antonis
08-05-2001, 06:05 PM
That worked absolutely fine. Thanks!!