Skip to main content

Thread: Windows XP / Ubuntu 11.04 dual boot problem - windows won't boot


hi,

installed ubuntu 11.04 , windows xp won't boot. i've tried editing grub 2 boot script don't know i'm doing need help.

had xp installed in partition windows designated d: drive , small amount of memory formatted fat32 designated c: drive. c: drive may have had files of older windows installation on , perhaps confused ubuntu installation. no free partition showed in installation menu choose install ubuntu. partition f: drive, formatted ntfs, free space deleted partition hoping install ubuntu onto this. after this, ubuntu installation cd chose installation destination automatically , seemed fine. when tried select windows xp option in grub menu wouldn't boot.

have 2nd hard drive (g: ) keep more files etc. plugged in @ time of ubuntu installation.

can please tell me how might alter grub script xp boot?

here results of boot info script program:

boot info script 0.60 17 may 2011


============================= boot info summary: ===============================

=> grub2 (v1.99) installed in mbr of /dev/sda , looks @ sector 1 of
same hard drive core.img. core.img @ location , looks
(,msdos3)/boot/grub on drive.
=> windows installed in mbr of /dev/sdb.

sda1: __________________________________________________ ________________________

file system: vfat
boot sector type: windows xp: fat32
boot sector info: no errors found in boot parameter block.
operating system:
boot files: /boot.ini /ntldr /ntdetect.com /command.com

sda2: __________________________________________________ ________________________

file system: extended partition
boot sector type: -
boot sector info:

sda5: __________________________________________________ ________________________

file system: ntfs
boot sector type: windows xp
boot sector info: according info in boot sector, sda5 starts
@ sector 63.
operating system: windows xp
boot files:

sda3: __________________________________________________ ________________________

file system: ext4
boot sector type: -
boot sector info:
operating system: ubuntu 11.04
boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda4: __________________________________________________ ________________________

file system: swap
boot sector type: -
boot sector info:

sdb1: __________________________________________________ ________________________

file system: ntfs
boot sector type: windows xp
boot sector info: no errors found in boot parameter block.
operating system:
boot files:

============================ drive/partition info: =============================

drive: sda __________________________________________________ ___________________

disk /dev/sda: 750.2 gb, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
units = sectors of 1 * 512 = 512 bytes
sector size (logical/physical): 512 bytes / 512 bytes

partition boot start sector end sector # of sectors id system

/dev/sda1 * 380,756,565 412,305,392 31,548,828 1c hidden w95 fat32 (lba)
/dev/sda2 412,308,286 1,465,127,999 1,052,819,714 f w95 extended (lba)
/dev/sda5 412,308,288 1,465,127,999 1,052,819,712 7 ntfs / exfat / hpfs
/dev/sda3 2,048 372,371,455 372,369,408 83 linux
/dev/sda4 372,371,456 380,755,967 8,384,512 82 linux swap / solaris


drive: sdb __________________________________________________ ___________________

disk /dev/sdb: 2000.4 gb, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
units = sectors of 1 * 512 = 512 bytes
sector size (logical/physical): 512 bytes / 512 bytes

partition boot start sector end sector # of sectors id system

/dev/sdb1 63 3,907,024,064 3,907,024,002 7 ntfs / exfat / hpfs


"blkid" output: __________________________________________________ ______________

device uuid type label

/dev/ramzswap0 swap
/dev/sda1 2537-14f5 vfat old section
/dev/sda3 d9fcdbe9-6864-44b1-8824-d7b819fe7597 ext4
/dev/sda4 d8a4fdb4-1e4b-468d-aac9-67205b028cad swap
/dev/sda5 8ea489c4a489af71 ntfs nerve centre
/dev/sdb1 4ed80930d80917bb ntfs big daddy

================================ mount points: =================================

device mount_point type options

/dev/sda3 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sda5 /media/nerve centre fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_ permissions)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\window s
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\windows="micro soft windows xp professional" /noexecute=optin /fastdetect
--------------------------------------------------------------------------------

=========================== sda3/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# not edit file
#
# automatically generated grub-mkconfig using templates
# /etc/grub.d , settings /etc/default/grub
#

### begin /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; if [ -z "${boot_once}" ]; save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
set locale_dir=($root)/boot/grub/locale
set lang=en_us
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### end /etc/grub.d/00_header ###

### begin /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### end /etc/grub.d/05_debian_theme ###

### begin /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; load_video; fi
menuentry 'ubuntu, linux 2.6.38-12-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
linux /boot/vmlinuz-2.6.38-12-generic-pae root=uuid=d9fcdbe9-6864-44b1-8824-d7b819fe7597 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-12-generic-pae
}
menuentry 'ubuntu, linux 2.6.38-12-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
echo 'loading linux 2.6.38-12-generic-pae ...'
linux /boot/vmlinuz-2.6.38-12-generic-pae root=uuid=d9fcdbe9-6864-44b1-8824-d7b819fe7597 ro single
echo 'loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-12-generic-pae
}
submenu "previous linux versions" {
menuentry 'ubuntu, linux 2.6.38-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
linux /boot/vmlinuz-2.6.38-12-generic root=uuid=d9fcdbe9-6864-44b1-8824-d7b819fe7597 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-12-generic
}
menuentry 'ubuntu, linux 2.6.38-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
echo 'loading linux 2.6.38-12-generic ...'
linux /boot/vmlinuz-2.6.38-12-generic root=uuid=d9fcdbe9-6864-44b1-8824-d7b819fe7597 ro single
echo 'loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-12-generic
}
menuentry 'ubuntu, linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
linux /boot/vmlinuz-2.6.38-8-generic root=uuid=d9fcdbe9-6864-44b1-8824-d7b819fe7597 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'ubuntu, linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
echo 'loading linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=uuid=d9fcdbe9-6864-44b1-8824-d7b819fe7597 ro single
echo 'loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
}
### end /etc/grub.d/10_linux ###

### begin /etc/grub.d/20_linux_xen ###
### end /etc/grub.d/20_linux_xen ###

### begin /etc/grub.d/20_memtest86+ ###
menuentry "memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
linux16 /boot/memtest86+.bin
}
menuentry "memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root d9fcdbe9-6864-44b1-8824-d7b819fe7597
linux16 /boot/memtest86+.bin console=ttys0,115200n8
}
### end /etc/grub.d/20_memtest86+ ###

### begin /etc/grub.d/30_os-prober ###
menuentry "microsoft windows xp professional (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod fat
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 2537-14f5
drivemap -s (hd0) ${root}
chainloader +1
}
### end /etc/grub.d/30_os-prober ###

### begin /etc/grub.d/40_custom ###
# file provides easy way add custom menu entries. type the
# menu entries want add after comment. careful not change
# 'exec tail' line above.
### end /etc/grub.d/40_custom ###

### begin /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### end /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda3/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# use 'blkid -o value -s uuid' print universally unique identifier
# device; may used uuid= more robust way name
# devices works if disks added , removed. see fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / on /dev/sda3 during installation
uuid=d9fcdbe9-6864-44b1-8824-d7b819fe7597 / ext4 errors=remount-ro 0 1
# swap on /dev/sda4 during installation
uuid=d8a4fdb4-1e4b-468d-aac9-67205b028cad none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------

=================== sda3: location of files loaded grub: ====================

gib - gb file fragment(s)

174.146354675 = 186.988224512 boot/grub/core.img 1
0.197475433 = 0.212037632 boot/grub/grub.cfg 1
2.630126953 = 2.824077312 boot/initrd.img-2.6.38-12-generic 3
2.698482513 = 2.897473536 boot/initrd.img-2.6.38-12-generic-pae 3
2.657226562 = 2.853175296 boot/initrd.img-2.6.38-8-generic 3
1.802066803 = 1.934954496 boot/vmlinuz-2.6.38-12-generic 1
1.056095123 = 1.133973504 boot/vmlinuz-2.6.38-12-generic-pae 2
2.223937988 = 2.387935232 boot/vmlinuz-2.6.38-8-generic 1
2.657226562 = 2.853175296 initrd.img 3
2.630126953 = 2.824077312 initrd.img.old 3
2.223937988 = 2.387935232 vmlinuz 1
1.802066803 = 1.934954496 vmlinuz.old 1

=============================== stderr messages: ===============================

unlzma: decoder error
attached files attached files

was xp installed on logical partition? seems on /dev/sda5 logical partition. windows installs on primary partition although can work logical far boot files on primary.

entry in boot.ini says partition(2) right, wrong too. number 2 extended partition, not sure if windows refer /dev/sda5 2 or 5. can try editing boot.ini , changing partition(5) see happens.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Windows XP / Ubuntu 11.04 dual boot problem - windows won't boot


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account