PDA

View Full Version : [ubuntu] Cannot dual boot into Windows XP



sebf_
March 5th, 2011, 04:47 AM
I have just installed a fresh copy of Ubuntu 10.10 using the option to install side by side/dual boot option with Windows XP.

However Windows XP was not added to my GRUB2 menu and I am having problems trying to boot back into Windows.

I think my Windows XP install is on /dev/sda1

Add ideas what I need to add to my menuentry in /boot/grub/grub.cfg to be able to boot into Windows?

Heres the dump of my boot info via http://sourceforge.net/projects/bootinfoscript/

Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #6 for (,msdos6)/boot/grub.

sda1: __________________________________________________ _______________________

File system:
Boot sector type: -
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

sda6: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda7: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 167,943,509 167,943,447 7 HPFS/NTFS
/dev/sda2 167,943,571 625,141,759 457,198,189 f W95 Ext d (LBA)
/dev/sda5 167,943,573 434,100,286 266,156,714 b W95 FAT32
/dev/sda6 434,102,272 617,281,535 183,179,264 83 Linux
/dev/sda7 617,283,584 625,141,759 7,858,176 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda2: PTTYPE="dos"
/dev/sda5 2E23-1E08 vfat DATA
/dev/sda6 36da8526-5f88-48ea-b12c-26a241030f65 ext4
/dev/sda7 ad123a7f-7c08-4843-9741-acece64af973 swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda6 / ext4 (rw,errors=remount-ro,commit=0)


=========================== sda6/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /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}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 36da8526-5f88-48ea-b12c-26a241030f65
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 36da8526-5f88-48ea-b12c-26a241030f65
set locale_dir=($root)/boot/grub/locale
set lang=en
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 36da8526-5f88-48ea-b12c-26a241030f65
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=36da8526-5f88-48ea-b12c-26a241030f65 ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 36da8526-5f88-48ea-b12c-26a241030f65
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=36da8526-5f88-48ea-b12c-26a241030f65 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 36da8526-5f88-48ea-b12c-26a241030f65
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 36da8526-5f88-48ea-b12c-26a241030f65
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the '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 ###

=============================== sda6/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=36da8526-5f88-48ea-b12c-26a241030f65 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=ad123a7f-7c08-4843-9741-acece64af973 none swap sw 0 0

=================== sda6: Location of files loaded by Grub: ===================


248.1GB: boot/grub/core.img
304.0GB: boot/grub/grub.cfg
304.1GB: boot/initrd.img-2.6.35-22-generic
248.1GB: boot/vmlinuz-2.6.35-22-generic
304.1GB: initrd.img
248.1GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda5

00000000 eb 62 90 4d 53 57 49 4e 34 2e 31 00 02 40 7e 00 |.b.MSWIN4.1..@~.|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 95 9d 02 0a |........?.......|
00000020 aa 3a dd 0f e6 7e 00 00 00 00 00 00 02 00 00 00 |.:...~..........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 08 1e 23 2e 4e 4f 20 4e 41 4d 45 20 20 |..)..#.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 50 72 6f 74 5f 49 | FAT32 Prot_I|
00000060 6e 73 74 00 33 c0 8e d0 bc 00 7c 8e c0 8e d8 fc |nst.3.....|.....|
00000070 be 00 7c bf 00 06 b9 00 01 f3 a5 68 7f 06 c3 8d |..|........h....|
00000080 6d e8 b2 80 88 56 18 c7 46 16 15 07 b4 41 bb aa |m....V..F....A..|
00000090 55 cd 13 72 0a 81 fb 55 aa 75 04 d0 c9 72 1e c6 |U..r...U.u...r..|
000000a0 06 16 07 00 b4 08 06 8a 56 18 cd 13 07 33 c0 86 |........V....3..|
000000b0 c6 40 89 46 19 86 c1 25 3f 00 89 46 1b 66 8b 46 |.@.F...%?..F.f.F|
000000c0 0c 66 40 b9 14 00 bb 00 7c e8 49 00 72 03 e9 2f |.f@.....|.I.r../|
000000d0 75 be e4 06 ac 0a c0 74 09 b4 0e bb 07 00 cd 10 |u......t........|
000000e0 eb f2 eb fe 50 6f 69 6e 74 73 65 63 20 65 72 72 |....Pointsec err|
000000f0 3a 49 4e 31 20 2d 20 52 65 61 64 00 50 6f 69 6e |:IN1 - Read.Poin|
00000100 74 73 65 63 20 65 72 72 3a 49 4e 32 20 2d 20 43 |tsec err:IN2 - C|
00000110 6b 73 75 6d 00 eb 31 66 60 66 0f b7 4e 1b 66 33 |ksum..1f`f..N.f3|
00000120 d2 66 f7 f1 42 52 8b 4e 19 33 d2 66 f7 f1 59 8a |.f..BR.N.3.f..Y.|
00000130 f2 8a e8 c0 cc 02 0a cc b8 01 02 e8 21 00 66 61 |............!.fa|
00000140 80 c7 02 66 40 e2 ce c3 60 66 6a 00 66 50 06 53 |...f@...`fj.fP.S|
00000150 51 6a 10 8b f4 b4 42 e8 05 00 83 c4 10 61 c3 60 |Qj....B......a.`|
00000160 8a 56 18 cd 13 72 03 61 fb c3 33 c0 cd 13 61 eb |.V...r.a..3...a.|
00000170 ee 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001e0 00 00 00 00 00 00 00 00 00 26 00 00 79 a1 01 00 |.........&..y...|
000001f0 aa c4 03 00 9f 57 04 0a 00 10 e5 00 11 11 55 aa |.....W........U.|
00000200



Thanks for any help.

kaziem
December 7th, 2011, 05:46 PM
It looks like you had the Windows XP encrypted with Pointsec, did you not? I am experiencing the same trouble right now - installed Pointsec in the windows partition, rebuilt the menu entry list in GRUB2 and the windows partition is not to be found.

Any ideas?

critin
December 7th, 2011, 06:53 PM
It looks like you had the Windows XP encrypted with Pointsec, did you not? I am experiencing the same trouble right now - installed Pointsec in the windows partition, rebuilt the menu entry list in GRUB2 and the windows partition is not to be found.

Any ideas?

kaziem, you'd get more help if you began a new thread with your own question--this one is old. :)

Have you tried this in Ubuntu? It may not fix your particular issue, but it won't hurt either. Just copy/paste into the terminal.

sudo update-grub

http://ubuntuforums.org/showthread.php?t=1581099