Cant boot Windows XP after installing FC6

Jim Cornette fc-cornette at insight.rr.com
Mon Dec 11 00:06:23 UTC 2006


Erik Grootjans wrote:
> In the orginal send file was the grub file ok
> but it seems now somehow broken up
> 
> I think there was something wrong with copying the master boot record.
> I think this is strange because i made an update from FC4 to FC6 be
> re-installing
> How can i fix the masterboot record
> Or how can i fix the masterboot record for Windows XP (I can than
> reinstall FC6)

If you have the XP installation disk and know the admin password you can 
boot from the windows Installation CD and use the console to run fixmbr 
for the MBR and fixboot for the booting.
I admit that I used these tools to restore the MBR when grub is not able 
to recover from a very corrupted MBR.

After you fix the MBR, you should be able to boot Fedora installer or 
rescue CD and reinstall grub to the MBR. I do not think you need to 
reinstall Fedora all from scratch though. That is, unless you like to 
run the installer.

> 
> Thanks
> 
> Erik
> 
> This is the correct file:
> 
> cat grub.conf
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this
> file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=1
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora Core (2.6.18-1.2798.fc6xen)
>        root (hd0,0)
>        kernel /xen.gz-2.6.18-1.2798.fc6
>        module /vmlinuz-2.6.18-1.2798.fc6xen ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
>        module /initrd-2.6.18-1.2798.fc6xen.img
> title Windows XP
>        rootnoverify (hd0,1)
>        chainloader +1
> 

Reviewing the partition table, some of the extended partition is not yet 
assigned from the extended partition. (7153-7283) I do not think that 
the unassigned portion is hurting anything though.

> 
>>> Command (m for help): p
>>> > >
>>> > > Disk /dev/hda: 120.0 GB, 120034123776 bytes
>>> > > 255 heads, 63 sectors/track, 14593 cylinders
>>> > > Units = cylinders of 16065 * 512 = 8225280 bytes
>>> > >
>>> > >   Device Boot      Start         End      Blocks   Id  System
>>> > > /dev/hda1               1          13      104391   83  Linux
>>> > > /dev/hda2   *          14        5750    46078200    7  HPFS/NTFS
>>> > > /dev/hda3            5750        7283    12315240    f  W95 Ext'd
> (LBA)
>>> > > /dev/hda4            7284       14593    58717575   8e  Linux LVM
>>> > > /dev/hda5            5750        6515     6146248+   7  HPFS/NTFS
>>> > > /dev/hda6            6515        7152     5118088+   b  W95 FAT32
>>> > >
>>> > > Command (m for help): q

Jim

-- 
To invent, you need a good imagination and a pile of junk.
		-- Thomas Edison




More information about the fedora-list mailing list