[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I install lilo?



Fu-Dong Chiou wrote:
> HI,
> 
> I have a quick question.  I have a new HD that I used to backup my linux 
> system to part of the drive (the drive also contains NT 4.0).  After 
> duplicating the entire HD, I was thinking of making it bootable to linux.  
> Question: how do I install lilo now that the HD is not booting into 
> linux?  Can I use Tom's boot disk and run lilo from there?  How do I give 
> the command so that it correctly install lilo onto MBR?  Thanks!
> 

If you have tomsrtbt, try this:

boot tomsrtbt
mount the root partition on /mnt
run `chroot /mnt lilo -v`

If that does not work, the reboot with tomsrtbt. At the LILO prompt, hit TAB
and then enter: (I am assuming that `zImage` is the name of the kernel)

`zImage root=/dev/hdxx` (insert location of root partition) 

You will then boot using tomsrtbt kernel and your root partition. Ignore all
the dependency error messages. After you login with your username and
password, you can run lilo. If there are no errors, reboot w/o the floppy.

HTH. It worked for me.
-- 

David Raeker-Jordan
mailto:rkrjrdn@epix.net
Harrisburg, PA, USA



Reply to: