[Ilugc] Grub Booting Problem

  • From: shahrukh1514@xxxxxxxxx (Shahrukh Khan)
  • Date: Wed Mar 4 12:04:56 2009

Hi to all,


I have Fedora8 with Windows Xp installed as dual boot. Initially i installed
XP on secondary partition in order to install fedora as my primary
partition. The sudo fdisk -l command returned this

[root@localhost ~]# sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2e0f2e0f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          26      208813+  83  Linux
/dev/sda2            2583        9729    57408277+   f  W95 Ext'd (LBA)
/dev/sda3   *          27        2582    20531070   8e  Linux LVM
/dev/sda5            2583        5164    20739883+   7  HPFS/NTFS
/dev/sda6            5165        9728    36660298+   7  HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/sdb: 4020 MB, 4020240384 bytes
124 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Disk identifier: 0x000ba68a

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/dm-0: 19.0 GB, 19092471808 bytes
255 heads, 63 sectors/track, 2321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 1879 MB, 1879048192 bytes
255 heads, 63 sectors/track, 228 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table


Now I can enter into Fedora but while booting XP it shows error message at
boot screen as

booting Windows XP
root (hd0,4)
Filesystem type unknown Partition type 0x7
makeactive
savedefault
chainloader +1

Error12: Invalid device requested

press any key to continue...


My grub.conf file contains this


# 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/sda
default=2
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-2950.fc8xen)
    root (hd0,0)
    kernel /xen.gz-2.6.21-2950.fc8
    module /vmlinuz-2.6.21-2950.fc8xen ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
    module /initrd-2.6.21-2950.fc8xen.img
title Fedora-base (2.6.23.1-42.fc8)
    root (hd0,0)
    kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
    initrd /initrd-2.6.23.1-42.fc8.img
title Windows XP Professional
    root (hd0,4)
savedefault
makeactive
chainloader +1


I have read in most forums about this problem and tried every possible
solution and the changes i see is various types of error messages but cant
find a solution to boot windows.

I know that this is a community for Open Source so i apologise but as i am a
newbie to FOSS and also a student so i am little dependent on Windows.


So please Luggies help me to sort this problem as if i had to reinstall OS
then first i need to remove fedora and then reinstall windows and again had
to install fedora which takes much longer time.


Thanks in advance.

Other related posts: