PDA

View Full Version : [SOLVED] No Windows XP after installing Grub2



TopEnder
October 31st, 2009, 12:27 PM
G'Day and Thanks in Advance.

I was running a Dual Boot WinXP & Jaunty 9.04 and I wanted to try out Grub 2 before installing 9.10. I installed Grub2 and that is where the problems started. My configuration then was;
Windows XP Home on Sata 1 (original installation)
Jaunty 9.04 on Sata 2
Working data files Sata 3.
When I re-booted after installing Grub2 ( I forgot to update-grub), received message Grub loading, please wait ERROR 15 & a flashing cursor (got out of that by Cntrl Alt Delete)

I installed a IDE Drive first boot in the BIOS & installed Intrepid 8.10 all appeared normal I could load either Intrepid 8.10 or Jaunty 9.04 I updated Grub by sudo upgrade-from-grub-legacy. Got an "Unrecognized device string" Error 11 when making a selection” that was sorted out in my Thread “Grub2 - Error 11”.

Tried to boot into WinXP, Grub2 menu flash up something about Windows XP and froze with a flashing cursor, the only way to recover was to close down & restart.

I have a Intrepid 8.10 Live CD, and a Windows XP Home edition CD, I do not have a Jaunty 9.04 CD (someone did not return it to me) so I not sure if it can be fixed or I need to do a complete reformt of WinXP & Ubuntu OS drives and re-install of Win XP then Karmic 09.10.

I have attached some codes that hopefully may give you a clue to what I did wrong and help me to recover my lost WinXP boot.

Blkid

/dev/sda1: UUID="66724e59-4bc9-45d7-a66a-2681c1f4d566" SEC_TYPE="ext2" TYPE="ext3" (8.10)
/dev/sda5: TYPE="swap" UUID="282e8735-9771-4da8-af98-2a2f46280d94" (8.10)
/dev/sda6: UUID="ebaa1b5d-5fbc-43c3-9111-3a6317ef7b60" SEC_TYPE="ext2" TYPE="ext3" (not used yet)
/dev/sdb1: UUID="38ECB0EEECB0A790" LABEL="Windows XP" TYPE="ntfs" (Windows XP Home)
/dev/sdb2: UUID="667BADCD06A50BF0" LABEL="XP-Files" TYPE="ntfs" (WinXP files only)
/dev/sdc1: LABEL="Ubuntu" UUID="c33a799e-4a3e-4269-8d99-4f260be5bd9e" SEC_TYPE="ext2" TYPE="ext3" (Ubuntu Working files)
/dev/sdc5: UUID="43df7427-ce26-48e3-b6d0-07fa25e5d9ff" TYPE="reiserfs" (9.04)
/dev/sdc6: TYPE="swap" UUID="16bebfb2-7812-4df4-8834-97eb3d45bdcc" (9.04)
/dev/sdc7: UUID="70f1120a-1457-4b75-9326-d15c39058c8b" SEC_TYPE="ext2" TYPE="ext3" (not used yet)
/dev/sdd1: LABEL="Working" UUID="54b5e7c1-c802-422b-9bd3-7c30138d0b1c" TYPE="xfs" (Ubuntu/XP files)

fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x03000347

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4980 40001818+ 83 Linux
/dev/sda2 4981 19457 116286502+ 5 Extended
/dev/sda5 4981 5478 4000153+ 82 Linux swap / Solaris
/dev/sda6 5479 19457 112286286 83 Linux

Disk /dev/sdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc308c308

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5222 41945683+ 7 HPFS/NTFS
/dev/sdb2 5223 9964 38090115 7 HPFS/NTFS

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000933ed

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 5702 45801283+ 83 Linux
/dev/sdc2 5703 19457 110487037+ 5 Extended
/dev/sdc5 9732 19208 76123971 83 Linux
/dev/sdc6 19209 19457 2000061 82 Linux swap / Solaris
/dev/sdc7 5703 9731 32362879+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sdd: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc6767f78

Device Boot Start End Blocks Id System
/dev/sdd1 1 10011 80413326 83 Linux

cat /boot/grub/grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd2,5)
search --fs-uuid --set 43df7427-ce26-48e3-b6d0-07fa25e5d9ff
if font /usr/share/grub/ascii.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd2,5)
search --fs-uuid --set 43df7427-ce26-48e3-b6d0-07fa25e5d9ff
menuentry "Ubuntu, linux 2.6.28-16-generic" {
linux /boot/vmlinuz-2.6.28-16-generic root=UUID=43df7427-ce26-48e3-b6d0-07fa25e5d9ff ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
}
menuentry "Ubuntu, linux 2.6.28-16-generic (single-user mode)" {
linux /boot/vmlinuz-2.6.28-16-generic root=UUID=43df7427-ce26-48e3-b6d0-07fa25e5d9ff ro single
initrd /boot/initrd.img-2.6.28-16-generic
}
menuentry "Ubuntu, linux 2.6.28-15-generic" {
linux /boot/vmlinuz-2.6.28-15-generic root=UUID=43df7427-ce26-48e3-b6d0-07fa25e5d9ff ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu, linux 2.6.28-15-generic (single-user mode)" {
linux /boot/vmlinuz-2.6.28-15-generic root=UUID=43df7427-ce26-48e3-b6d0-07fa25e5d9ff ro single
initrd /boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic" {
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=43df7427-ce26-48e3-b6d0-07fa25e5d9ff ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic (single-user mode)" {
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=43df7427-ce26-48e3-b6d0-07fa25e5d9ff ro single
initrd /boot/initrd.img-2.6.28-11-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu 8.10, kernel 2.6.27-7-generic (on /dev/sda1)" {
set root=(hd0,1)
linux /boot/vmlinuz-2.6.27-7-generic root=UUID=66724e59-4bc9-45d7-a66a-2681c1f4d566 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
}
menuentry "Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) (on /dev/sda1)" {
set root=(hd0,1)
linux /boot/vmlinuz-2.6.27-7-generic root=UUID=66724e59-4bc9-45d7-a66a-2681c1f4d566 ro single
initrd /boot/initrd.img-2.6.27-7-generic
}
menuentry "Ubuntu 8.10, memtest86+ (on /dev/sda1)" {
set root=(hd0,1)
linux /boot/memtest86+.bin
}
menuentry "Microsoft Windows XP Home Edition (on /dev/sdb1)" {
set root=(hd1,1)
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###

Sorry for the long Thread but I hope it may help. Thanks TopEnder