LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Booting problems (https://www.linuxquestions.org/questions/linux-newbie-8/booting-problems-717473/)

Mridulj 04-07-2009 12:16 PM

Booting problems
 
I am using a dual boot machine with Windows XP(sp2) and Fedora 7 .Now i am unable to boot into windows due to some reasons ( driver files missing).So is it possible to load windows again with fedora 7 still in the machine .If not , what should be done to remove fedora from the machine so that I can load windows in the machine and then fedora .

Robhogg 04-07-2009 01:19 PM

You should be able to do this - the windows installer shouldn't recognise the Linux partition (reporting the disk to be smaller than it actually is). The problem you will run into, though, is that the windows boot loader will over-write grub, and you will not be able to boot Fedora.

However, this is pretty easy to remedy, if you have a live disk available (Knoppix, or maybe even the Fedora install disk). Boot from this, then call up a terminal window. Enter:

Code:

$ sudo grub

grub> find /boot/grub/stage1 # or possibly /grub/stage1
    (hd0,2)                  # grub ID for the partition with its files
grub> root (hd0,2)          # or whatever id it returned above
grub> setup (hd0)            # install grub to the MBR of the first disk

If you haven't done any re-partitioning, your existing /boot/grub/menu.lst (config) file should work for both Windows and Fedora.

Hope this helps,
Rob

Edited to add: Usual caveat, though: make sure all your important files are backed up. Things can always go wrong.

Mridulj 04-12-2009 12:53 PM

how do I remove grub from the system .

ronlau9 04-12-2009 01:05 PM

Quote:

Originally Posted by Mridulj (Post 3506533)
how do I remove grub from the system .

If you like to remove GRUB and still like to use windows.
You need the windows xp disk .
Run the recovery mode Windows XP Cd use the command fixmbr

Mridulj 04-12-2009 01:13 PM

The problem is that as long as grub remains in the machine
Xp cd does not proceed beyond the 1st screen which shows
"Setup is inspecting your hardware configuration" and afterdat
the screen goes blank ( black screen appears ) and stays like that .

Then what should I do ?

ronlau9 04-12-2009 07:26 PM

Well visit helpdeskgeek.com/how-to/fix-mbr-xp-vista/

John VV 04-12-2009 07:34 PM

see this how to
" HOWTO Reinstall XP Without Destroying Fedora When the XP CD Balks "
http://forums.fedoraforum.org/showthread.php?t=167302

and boy do you like OLD software
XP service pack 2 ( 3 has been out for YEARS)
fedora 7 ( hit End Of Life on June 13, 2008 )


All times are GMT -5. The time now is 04:12 AM.