-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ratnakar Koli on Saturday 03 Dec 2005 15:01 wrote:

> hi FRIENDS,
> 
> I have a multi boot system, with w2k winxp and FC4.
> 
> somehow the s2pid win's crashed and i had to reinstall
> it....losing out with a working FC4.
>

Ah! Windows is stupid. Prove it. :-)
You just lost grub from the mbr. FC4 is safe.
 
> i tried using linux rescue... but m not able to get it
> back...
> 
> when i run "grub-install /dev/sda7"
> 
> it comes back saying "/sbin/grub not found"
> 
> i have a IDE on which i have Windows and SATA i have
> kept for Linux.
> 

I haven't used FC but I think the mechanism should be the same as it was
earlier.
When you boot into _rescue_ mode your root partition gets mounted, generally
on /mnt/sysimage under RH. You need to chroot to it. That's one step I
found missing in the steps you mentioned above.
Once you chroot you can use the grub-install command to restore grub.
But you didn't mention whether you boot using grub or some other boot loader
(xosl, ntloader et cetera). If you use grub to boot into all the OS's, you
should be restoring it to the mbr of the hard drive which is your primary
boot device which I think in your setup would be /dev/hda.
So in simple your command to restore FC4 might be:
/sbin/grub-install /dev/hda

HTH,

rrs
- -- 
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is
research."
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDkbl+4Rhi6gTxMLwRAjOMAKC1/8MJO53isJc4vX1r8Ytjxk6hqQCgg/hE
LnnsfBAVUuWh0z04dYOLWbs=
=d0B9
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to