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

Re: [debian-knoppix] Recovering the MBR with LILO?



Hallo Pablo,

> Hello.
> I have screwed up installing Windows (i need it for some things) and it 
> rewrite the MBR where i had LILO to boot a dual boot system (Knoppix - 
> Linux) and as i didn´t create a boot disk when Knoppix was installed on 
> the HD, thats my problem.
> Is it possible to rewrite the MBR with the configuration that i had 
> before installing windows, using the lilo.conf (or copying it) that is 
> in the partition of knoppix on the HD?

Yes, boot knoppix from CD. Become root (sudo su). Then:

mount /dec/hdaX /mnt  # X is for your linux partition
chroot /mnt lilo
... then You should see the usual meassages:

Added knoppix *
Added windows
... 
Then your lilo has been reinstalled. That is the way to do it, if you have 
a valid /etc/lilo.conf around

> I have tryed some things as using lilo -C "old lilo.cong in tha 
> partition" but some fatal warnings were given.
> Thank you, b.rgds...
> 
> Pablo Z
> 
> _______________________________________________
> debian-knoppix mailing list
> debian-knoppix@linuxtag.org
> http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: