PDA

View Full Version : Need to reinstall lilo - don't have boot-disk...



Sebastian
05-22-2003, 09:42 AM
Hi!


I installed both Knoppix and Windows and it worked.

I cloned the HD and the copy didn't work. Lilo crashed. :roll:

So I installed another boot-loader and now only windows is bootable.


How can I install lilo again? I have access to lilo.conf via Knoppix-CD. :cry:

garyng
05-22-2003, 10:20 AM
is it just :

lilo -C (path of your lilo.conf)

after you boot into KNOPPIX CD ? Of course, you need to change the content of lilo.conf to match your HD settings.

Without further information, not much I can think of.

RockMumbles
05-22-2003, 04:58 PM
What I usually do is,

boot to knoppix cd

mount the hd partition ex: mount /dev/hda2 /mnt/hda2
(use the proper device for your partition)

chroot to the partition, chroot /mnt/hda2

then edit /etc/lilo.conf with your favorite editor

then run /sbin/lilo -v

HTH

rock

Stephen
05-22-2003, 05:06 PM
Hi!


I installed both Knoppix and Windows and it worked.

I cloned the HD and the copy didn't work. Lilo crashed. :roll:

So I installed another boot-loader and now only windows is bootable.


How can I install lilo again? I have access to lilo.conf via Knoppix-CD. :cry:

Mount the partition that contains /etc/lilo.conf make any changes necessary to lilo.conf then sudo chroot /mnt/hd?? /sbin/lilo -v to commit lilo to the MBR. replace ?? with correct drive letter and partition number you mounted.