Click to See Complete Forum and Search --> : installing lilo


mayuresh
08-24-2001, 02:38 PM
ok...a really newbie question this... :D

i have lilo on my mbr...
i will be removing it from there and want install it on my linux partition...how should i go about this process.

thanking everyone in advance for your patience

Mayuresh

bdg1983
08-24-2001, 03:44 PM
1. Either dos/win bootdisk with fdisk and then fdisk /mbr

Then you will need a Linux bootdisk to get into your system. If you do, test it first.

Then update /etc/lilo.conf and change the references to hda to hda# (where # is the Linux boot partition).

Next run /sbin/lilo

2. Boot Linux normally and run /sbin/lilo -u (to uninstall lilo from mbr).

Change /etc/lilo.conf as above.

Rerun /sbin/lilo to write the changes.

That should do it.

Anyone else have suggestions/corrections?

mayuresh
08-25-2001, 04:54 AM
thanks for your reply...
but last night i decided to try it out anyways based on what skimpy documentation i had read....with a "wtf" attitude....and it worked...i got red hat to boot from my 2k loader..
but i used the kde control panel to update my lilo...was'nt that brave enough to edit the lilo.conf manually :p
but just a slight hitch though...
at present i've kept the lilo timeout to 0 so when i choose rh from my loader, it just boots into linux...but i want to assign a password to linux so that my bro can't get in there and screw things up....
if i set the password, i'll get a boot prompt, it automatically selects linux coz thats the only os defined, then immdtly the password field comes, and without me entering, it just seems to go in an infinite loop util i press tab. How do i remove this niggly problem...all i want is a password promt and it should wait there...not fluctuate between boot&password..

tia

Mayuresh

bdg1983
08-25-2001, 05:28 AM
Are you saying you cannot get into your system? Do you have a bootdisk? If so, use that and then edit /etc/lilo.conf and remove the password line and then rerun /sbin/lilo to write the changes.