On Wed, Jul 31, 2002 at 02:56:20PM +0530, Manjunath H N wrote:
> I think you are using a redhat distro, I dont know what the rescue mode is
> for in it, it has never rescued me anytime.

That's simply not true. RedHat has both rescue floppy and rescue from
CD options.

> I have tried in vain to access the HDD but no results, After booting through
> the rescue mode, it does not use the kernel residing in your HDD but it uses
> the kernel image on the CD, so you cannot access data on the HDD.

Your mistake. RedHat gives you a shell on Alt-F2 when it boots from the CD.
when I have to rescue this way, what I do is:

Boot from CD - select normal installation path (I select text and expert
options), till it loads installation program stage 2 (I think it is till
the "Welcome to RedHat" splashscreen). Then:

[On the shell on Alt-F2]
cd /tmp
mknod hdaX b 3 X # X = my usual root partition on HDD
mkdir mountpoint
mount -t ext2 /tmp/hdaX /tmp/mountpoint
chroot /tmp/mountpoint
mount -t proc /proc /proc
mount -a

And I am on my HDD. Do whatever rescue work - edit /etc/lilo.conf, fix root
password, anything. Finally:

umount -a
[Control-D to exit chroot]
cd /tmp
umount mountpoint

[Ctrl-Alt-Del to reboot]

Binand


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to