You are not logged in.

#1 2010-04-19 04:53:28

yes9111
Member
Registered: 2010-04-19
Posts: 3

Windows XP Dualboot freeze

Hello Linux gurus!
I installed Arch with Windows XP already on the disk ( / on /dev/sda3, swap on /dev/sda2) and hit a strange problem.  While I can choose and boot Arch just fine, Windows XP won't boot.  I can choose it and press enter where it will then run the booting commands but it just hangs there!

fdisk -l output

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8a8a8a8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       54710   439455208+   7  HPFS/NTFS
/dev/sda2           54710       54953     1953000   82  Linux swap / Solaris
/dev/sda3           54953       60801    46975792+  83  Linux

/boot/grub/menu.lst

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+
#  for more details and different resolutions see
#  http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution 

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/0f70793b-b557-4c8f-86ec-d88b10b08b37 ro vga=773
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/0f70793b-b557-4c8f-86ec-d88b10b08b37 ro
initrd /boot/kernel26-fallback.img

# (2) Windows
title Windows
root (hd0,0)
chainloader +1

Selecting Windows XP ends with a black screen that says

root (hd0,0)
chainloader +1

Adding makeactive and changing root to rootnoverify don't do anything either..
Thanks for your help!

Offline

#2 2010-04-19 05:43:02

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: Windows XP Dualboot freeze

edit your /boot/grub/menu.lst as this:

......... CODE .........

# (2) Windows
title Windows
root (hd0,0)
chainloader +1
boot

........................

I hope it helps smile


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2010-04-20 06:29:35

yes9111
Member
Registered: 2010-04-19
Posts: 3

Re: Windows XP Dualboot freeze

Didn't work sad
Just adds boot under the message and freezes

Offline

#4 2010-04-20 06:35:36

Denacke
Member
Registered: 2008-04-09
Posts: 106

Re: Windows XP Dualboot freeze

Tried

# (1) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

?

Offline

#5 2010-04-20 13:18:48

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Windows XP Dualboot freeze

Could it be that you accidentally wrote something into the MBR of (hd0,0), e.g. by installing grub into the MBR of the first partition?

Everything else looks ok - makeactive shouldn't make a difference, b/c the windows partition is already active (i.e. has the boot flag set).

Edit: according to http://articles.techrepublic.com.com/51 … 31733.html the command to restore the partition boot sector is called fixboot.

Last edited by grey (2010-04-20 13:31:28)


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

Board footer

Powered by FluxBB