LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dual boot system, reformatting winxp (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-system-reformatting-winxp-261606/)

zippo85 12-02-2004 01:04 AM

dual boot system, reformatting winxp
 
Hi there,

Hopefully someone can answer this.... I have a dual boot system (Fedora Core 2 and WinXP), and I want to reformat XP. I'm sort of worried that when I do that, Microsoft will overwrite Grub and I won't be able to log on to Fedora. Has anyone done this before? Any suggestions?

Zip

kl0378 12-02-2004 04:05 AM

WinXP might overwrite your boot sector. In case this happens, make sure you have a bootable floppy which can boot to your Fedora installation.
Get a floppy, format it :
fdformat /dev/fd0
install grub on the boot sector of that floppy, as root user:
/sbin/grub-install /dev/fd0
Try to reboot with this floppy and see if it boots from it, remember that the floppy still needs your fedora installation, so don't remove your fedora installation, otherwise your have to boot manually with grub at startup.
Reinstall XP on the same partition it was before
Boot from your floppy into Fedora
reinstall grub on your hard drive:
/sbin/grub-install /dev/hda

-kl0378

take a look at this site as well:
http://users.ameritech.net/gholmer/h...ot-floppy.html

Crashed_Again 12-02-2004 05:07 AM

Windows XP will definetly overwrite your boot sector. It thinks its the alpha OS.

walker 12-02-2004 12:36 PM

The easiest way???
 
Use only Linux!!!
It can do all you want without needing another os!!:D

SirSlappy 12-02-2004 05:37 PM

yeh, you can also use the same CD you installed linux with to boot off of and redo lilo / grub.

Windows sux0rs

binarybob0001 12-02-2004 06:35 PM

be careful
 
I have recently formatted my XP partition and had quite a surprise. Intentional or not, the windows XP installation CD will not boot with linux partitions or just too many partitions-I'm not sure which. Have a back up plan for sure.

zippo85 12-03-2004 12:42 AM

Thank you all for being so helpful!

One more question though, does it have to be a floppy? Can be a zip disk, or a cd-r even?

Zip


All times are GMT -5. The time now is 01:21 AM.