On Tue, 21 May 2002, Lior Hammer wrote:

> Hi all,
> I have a system running Mandrake 8.1 and Win2k.
> first, i installed win2k.
> after that, i installed Mandrake.
> because of a problem, i reinstalled win2k.
> The probem:
> w2k remove Lilo(!)
> how could i restore it?

The standard convention here is:

  1. boot into your system

  2. run lilo (/sbin/lilo)

  You may now safely reboot to linux

The difficult part of the process is, of course, (1).
Mandrake's installation CD, at least of version 8.1, is a very useful
rescue "floppy". Does quite a good job at automating the process of
mounting your old system:

1.1. boot your system from the first installation CD
1.2. press Esc or F1 to get to a Lilo: prompt. Write there "rescue" and
     press Enter
1.3. if all goes well, after a minute r so (or maybe a bit longer) you get
     a rescue system, with your original system mounted under /mnt . run:

       chroot /mnt /bin/bash

     you should now have a root shell on your original system

2.   run:


       lilo

3.1. run:

       exit

3.2. run:

       reboot

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to