GRUB issues

NoOp glgxg at sbcglobal.net
Wed Jun 3 23:50:42 UTC 2009


On 06/03/2009 03:06 PM, J Bickhard wrote:
> Here's my winxp block:
> 
> title      Windows XP Professional SP3
> root     (hd1,0)
> savedefault
> makeactive
> map    (hd0)   (hd1)
> map    (hd1)   (hd0)
> chainloader   +1
> 
> Looks good, right? Well, there's something wrong, as it just says
> "booting up..." or whatever and hangs infinitely. Ubuntu on PRI
> master, first partition, Windows on PRI slave, first partition. I am
> gonna get this right eventually, and it's going to be something REALLY
> stupid ;-)
> 

It helps if you copy a relevent part of what you are replying to. What
do you show for the kernel section, i.e.,
title		Ubuntu 9.04, kernel 2.6.28-12-generic
root		(hd0,0)

If your 'root' is showing (hd1,0) or similar, perhaps you have hd0 and
hd1 backwards, try:

title      Windows XP Professional SP3
root     (hd0,1)
savedefault
makeactive
map    (hd1)   (hd0)
map    (hd0)   (hd1)
chainloader   +1

And see if that makes a difference.

Best if you check first:

$ df /boot
$ cat /boot/grub/device.map

Mine on this system are:
$ df /boot
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1             36985736  30035152   5071784  86% /
gg2xp at gg2xp:~$ cat /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb

(hd1)	/dev/sdb is my windows drive.
(hd0)	/dev/sda is my Ubuntu drive.

https://help.ubuntu.com/community/GrubHowto
https://help.ubuntu.com/community/WindowsDualBoot
https://help.ubuntu.com/8.10/switching/dualboot.html










More information about the ubuntu-users mailing list