PDA

View Full Version : Using Knoppix as a rescue CD



mc_03
03-27-2004, 07:36 PM
Hi
In a recent reinstall of Windows XP, my LILO bootloader was wiped off the MBR and now I can't boot my Debian (knoppix installed to hd) system. Can I use the Knoppix CD to somehow run lilo off of that partition and fix the problem?

Thanks,
mc_03

Stephen
03-27-2004, 10:36 PM
Hi
In a recent reinstall of Windows XP, my LILO bootloader was wiped off the MBR and now I can't boot my Debian (knoppix installed to hd) system. Can I use the Knoppix CD to somehow run lilo off of that partition and fix the problem?

Thanks,
mc_03

Yes once booted with knoppix 2 at the console type in then enter.


mount /dev/hd?? /mnt/hd??
chroot /mnt/hd??/ /sbin/lilo -v
shutdown -r now


Replace the ?? with the drive letter and partition number of the / partition of the install.