Mail from ILUG-BOM list (Non-Digest Mode)

Karan wrote:

>If I have to reinstall windows, the MBR gets
>reinitialised, how do I recover the Linux partition
>after this?
>
>I hear you have to have a recovery disk.

Advising from a very fresh experience: You can use the CD itself as the
recovery disk. Type "linux rescue" and the cd will boot with a rescue
image. There you have a variety of commands to set things right. Here's
what you have to do -

Just type lilo and see what happens. If it doesn't work, here goes -
1. Create a dummy directory like "/old" or something.
2. Mount the linux root partition as "mount -t ext2 /dev/hdxx /old" where
xx stands for whatever partition number you are using.
3. Now to reinstall lilo, the normal command is "lilo" from a root login.
But in the rescue mode you will have to type "chroot /old lilo"

Before doing the above, read the chapter on the rescue mode, in the
installation guide present on the Red Hat CD. For info about chroot, type
"chroot --help" at the prompt. Remember that the "man" and "info"
documentation is not available in the rescue mode, unless you type "chroot
/old man chroot".

Also, to avoid future problems, create a folder on you Windoze partition.
Copy the kernel into it and the utility called "loadlin" available on the
CD. You will have to read up a bit on how to use loadlin. It works only if
you boot into DOS.

Sameer.


_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to