Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't boot XP partition - GRUB

Status
Not open for further replies.

dabits

Programmer
Apr 28, 2000
18
US
Have HP Pavillion with XP. I shrank XP partition with Parition Magic and installed Red Hat ES Linux. Now I can't boot XP! HP has a "recovery" partition as first partition. Fdisk under Linux shows this:

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 583 4679608+ b Win95 FAT32
Partition 1 does not end on cylinder boundary.
/dev/hda2 * 583 7710 57244320 7 HPFS/NTFS
/dev/hda3 7711 7722 96390 83 Linux
/dev/hda4 7723 14593 55191307+ f Win95 Ext'd (LBA)
/dev/hda5 7723 14479 54275571 83 Linux
/dev/hda6 14480 14593 915673+ 82 Linux swap

I've tried rootnoverify with both (hd0,1) and (hd0,3) with no luck. I would appreciate any ideas!!
BTW, the last grub.conf file I tried looked like this:
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.21-9.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-9.EL ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.21-9.EL.img
title DOS
rootnoverify (hd0,0)
chainloader +1
title Windows XP
rootnoverify (hd0,1)
chainloader +1

Thanks!!
 
Hmm..no answers[pipe]

Well for anyone checking...never found solution BUT tried Virtual PC instead! This works great[2thumbsup]

Created Red Hat ES virtual machine and all is well! You do need lots of memory and hard disk space to do this though!
 
GRUB may not like your partitioning. Judging by your fdisk output it looks like you have an overlap. Your first recovery-partition hda1 ends at the same cylinder where your XP starts. Can you boot XP at all?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top