PDA

View Full Version : [ubuntu] Multibooting with XP



lcollier93
February 10th, 2010, 06:19 AM
I just finished installing ubuntu 9.10 x64 on my toshiba satellite a215 on a separate partition from my xp installation. when installing ubuntu, the installer recognized the xp installation and so I chose install side by side option. The installer finished without any errors and when it restarted I was presented with the GRUB bootloader. I booted into Ubuntu and it worked fine. so I restarted and tried booting into xp. it got to the windows xp x64 screen and started loading. then all of a sudden the BSOD flashed for just a second and then the computer restarted. I'm not sure if this is the right section for this but if anyone could help, I would appreciate it.

lcollier93
February 10th, 2010, 06:56 AM
Here are the results of the Boot Info Script:


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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
sda1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM /IO.SYS /MSDOS.SYS

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda6: __________________________________________________ _______________________

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 the Boot Parameter Block.
Operating System:
Boot files/dirs:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x29e3de20

Partition Boot Start End Size Id System

/dev/sda1 * 63 207,640,124 207,640,062 7 HPFS/NTFS
/dev/sda2 207,640,125 312,576,704 104,936,580 5 Extended
/dev/sda5 207,640,188 308,190,959 100,550,772 83 Linux
/dev/sda6 308,191,023 312,576,704 4,385,682 82 Linux swap / Solaris


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x5b6ac646

Partition Boot Start End Size Id System

/dev/sdb1 63 234,436,544 234,436,482 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 BC3C549C3C54540C ntfs
/dev/sda5 ba1eab14-376d-484a-ad9b-48f2bea26cbf ext4
/dev/sda6 9373aab6-497a-4268-a98a-b90997a64952 swap
/dev/sdb1 0020BFE420BFDEBA ntfs WD Passport

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

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro)
/dev/sdb1 /media/WD Passport fuseblk (rw,nosuid,nodev,allow_other,default_permissions,b lksize=4096)


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

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional x64 Edition" /noexecute=optin /fastdetect

=========================== sda5/boot/grub/grub.cfg: ===========================

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

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set ba1eab14-376d-484a-ad9b-48f2bea26cbf
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
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/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set ba1eab14-376d-484a-ad9b-48f2bea26cbf
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ba1eab14-376d-484a-ad9b-48f2bea26cbf ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set ba1eab14-376d-484a-ad9b-48f2bea26cbf
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ba1eab14-376d-484a-ad9b-48f2bea26cbf ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows XP Professional x64 Edition (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set bc3c549c3c54540c
drivemap -s (hd0) ${root}
chainloader +1
}
### 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 ###

=============================== sda5/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 defaults 0 0
# / was on /dev/sda5 during installation
UUID=ba1eab14-376d-484a-ad9b-48f2bea26cbf / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=9373aab6-497a-4268-a98a-b90997a64952 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

murderslastcrow
February 10th, 2010, 09:36 AM
It seems to be detecting everything correctly, as far as the boot info script is concerned (there are a few parts I can't be entirely certain about, of course). It would be ideal if you could defragment the XP partition and try to perform disk check on XP somehow. If you have the XP CD, it may have a few recovery options.

Also, you may want to check your system settings in the BIOS to change the hard drive emulation between SATA and IDE to see if XP can start correctly under one or the other. Hopefully some more seasoned XP-using Ubuntu users can offer some more help if these options don't fix 64-bit XP's issue.

I'm not aware of a good defragmenter, since I don't use one, but you should be able to find one easily in the Ubuntu Software Center, or with a quick search with your favorite search engine.