windows XP deleted bootloader,need to reinstall it

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Aug 6 20:32:42 UTC 2009


devesh gade wrote:
> hi friends!!
> I had windows xp and fedora 9 in dual boot mode.Recently,I formatted my
> windows XP. during this process,XP had deleted the boot loader of
> fedora. I have tried to reinstall the boot loader by the installation cd
> in the rescue mode but it does not work.
> I also did a bit of googling and followed steps:
> 
> Inserted installation cd in rescue mode and then following commands at
> the prompt:
> 1 grub
> 2 root (hd0,0)
> 3 setup (hd0)
> 4 exit
> 5 reboot
> 
> However even after rebooting the grub screen does not show up at startup
> and Windows XP boots by default.
> Now,how do i get linux started??
> Or to say the least, how do i install the boot loader??
> 
Try letting the resque mount your file system, run chroot
/mnt/sysimage and run grub-install /dev/sda instead of the grub
commands.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090806/2852a5d7/attachment-0001.sig>


More information about the fedora-list mailing list