Grub Untouched Re: Dual-Boot/XP Crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I did a repair on XP and got everything back up running perfectly. I did have to reinstall all the windows updates, including service pack 1. The other good news is that the XP repair function didn't even touch Grub.


The following makes these assumptions.
a.  XP was installed on /dev/hda, and that fedora is elsewhere.
b.  you used grub to boot XP.
c.  grub is on the MBR.


1.  Boot with Fedora
2.  save the MBR
# dd if=/dev/hda of=/path_to/mbr.img bs=512 count=1
3. reinstall XP
4. boot with knoppix
5. mount the drive where you saved the mbr record
6  restore the saved MBR
# dd if=/moun_path_to/mbr.img of=/dev/hda bs=512 count=1
7. reboot to fedora.

There are of course, other options, such as making a boot floppy, do the 
reinstall of XP, then boot back to fedora from the floppy and doing 
grub-install etc.




Gary Waters
http://www.imagestation.com/members/gswsnakes
ICQ# 110737295
Windows Messenger (MSN): waters_gary@xxxxxxxxxxx
Yahoo Messenger: Atherisdoode

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux