dual boot xp and ubuntu

Asked by browntux

this is my xp section from my /boot/grub/menu.lst
Code:

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb2
title Windows NT/2000/XP (loader)
root (hd1,1)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

my fdisk -l
Code:

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x19d9516a

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 23849 191567061 83 Linux
/dev/sda2 23850 24321 3791340 5 Extended
/dev/sda5 23850 24321 3791308+ 82 Linux swap / Solaris

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9dc96e9e

   Device Boot Start End Blocks Id System
/dev/sdb1 1 4 32098+ 6 FAT16
/dev/sdb2 * 5 4862 39021885 7 HPFS/NTFS

Ubuntu 8.04 is on my primary master hard disk
XP sp3 is on my primary slave hard disk
I installed ubuntu after the xp
and the grub is on the master hard disk
so xp is not altered by ubuntu at all

my computer is dimension8100
so the first partition on slave hard disk is dell rescue tool partition(or something like that)

my problem is when i select boot xp from grub menu
i got a black screen and no hard disk is reading/writing

can any one help pls?

P.S. if i replace root with rootnoverity, it reboots after i select boot xp!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Tony Pursell (ajpursell) said :
#1

Hi browntux

Have a look at

http://www.gnu.org/software/grub/grub-legacy-faq.en.html#q10

It seems to suggest that you should have root(hd1,0) and not root(hd1,1). But do have a look around the help at

http://www.gnu.org/software/grub/

particularly

http://www.gnu.org/software/grub/manual/

and also check out (in a terminal)

man grub

to make sure you understand what you are doing. It is normal to boot XP from the first partition on your primary drive.

Tony

Revision history for this message
browntux (enfowc3) said :
#2

dear sir,

my xp resides on the 2nd partition of the sdb
Device Boot Start End Blocks Id System
/dev/sdb1 1 4 32098+ 6 FAT16
/dev/sdb2 * 5 4862 39021885 7 HPFS/NTFS

that's why i set it that way

Revision history for this message
browntux (enfowc3) said :
#3

dear sir,

my xp resides on the 2nd partition of the sdb
Device Boot Start End Blocks Id System
/dev/sdb1 1 4 32098+ 6 FAT16
/dev/sdb2 * 5 4862 39021885 7 HPFS/NTFS

that's why i set it that way

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Please try change your /boot/grub/menu.list open a terminal and type

sudo gedit /boot/grub/menu.list

give your user password when requested, you don't see nothing when you type it, then press enter.

Remove the rows:

map (hd0) (hd1)
map (hd1) (hd0)

save and exit. then type:

sudo update-grub
sudo reboot

and try...

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask browntux for more information if necessary.

To post a message you must log in.