Failure of windows after installing grub

Asked by passionguy

I have a dual boot running Win XP & Gutsy. I reinstalled my Windows. This overwrited my Grub. I did a install again.

Now Grub is booting up. But Windows is not loading up. I think i have made something wrong by setting up Grub in a different partition. I tried running this in grub to check the root partition

find /boot/grub/stage1
(hd0,2)

This is my output of fdisk:

Disk /dev/hda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfd97fd97

   Device Boot Start End Blocks Id System
/dev/hda1 1 1275 10241406 c W95 FAT32 (LBA)
/dev/hda2 1276 2550 10241437+ f W95 Ext'd (LBA)
/dev/hda3 * 2551 4678 17093160 83 Linux
/dev/hda4 4679 4870 1542240 82 Linux swap / Solaris
/dev/hda5 1276 2550 10241406 b W95 FAT32

Also output of my menu.lst file:

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7fbd89d2-65c6-49be-8c8c-f37722a03a46 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7fbd89d2-65c6-49be-8c8c-f37722a03a46 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title MS WINDOWS XP Vista UWI Edition
root (hd0,0)
savedefault
makeactive
chainloader +1

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Rybicki
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Rybicki (alex-rybicki) said :
#1

Hi passionguy
Ive had a lot of issues with grub, some of them Ive been able to fix by editing grub manually, but when dual booting with windows it can get sketchy.
In the past ive had a lot of luck with super grub in restoring grub in dual-boot situations.
http://forjamari.linex.org/frs/?group_id=61&release_id=664#664
i hope that helps

Revision history for this message
passionguy (fayazahmedj) said :
#2

Thanks Alex Rybicki, that solved my question.