GRUB problem every time I reboot

NoOp glgxg at sbcglobal.net
Thu Dec 13 16:40:57 UTC 2007


On 12/13/2007 04:27 AM, Paul wrote:
> On Dec 12, 2007 8:50 PM, NoOp <glgxg at sbcglobal.net> wrote:
> 
>> You said that the only way that you can boot into windows is by:
> 
> 
> No.
> 
> The only way the machine will boot _at all_ is if I do that.  It won't boot
> Ubuntu either...it just cycles endlessly.

Ok, missed that & also missed that you have XP on a second drive. Wipes
glasses & starts over...

Couple of questions first:

1. You originally had a 2 drive XP machine & added Ubuntu to the 2nd
drive, correct?

2. If you disconnect the 2nd drive (the Ubuntu drive) can you boot into
XP properly?

3. When you installed Ubuntu, how did you do it? From the LiveCD or the
Alternate CD?

I have several machines that are dual boot with XP on one drive and
Ubuntu on the 2nd drive. The machines originally had only one XP drive
in them & I added the second Ubuntu drive later. If you look through the
archives you'll find a post that I made a short while ago that explains
how I do this, see:

http://permalink.gmane.org/gmane.linux.ubuntu.user/130435

Have a look through that and see if that helps. Note that the menu.lst
has been modified to swap the grub drive maps:

## Non-linux OS on /dev/sdb1
## title              Windows XP
## root               (hd1,0)
## savedefault
## makeactive
## map                (hd0) (hd1)
## map                (hd1) (hd0)
## chainloader        +1

On that machine my primary boot drive is hd0,0:

## ## End Default Options ##

title		Ubuntu 7.10, kernel 2.6.22-14-386
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-386 root=UUID=<longuuid> ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-386

My Windows drive is hd1,0 as far as grub is concerned:

# on /dev/sda1
title		Windows XP
root		(hd1,0)
savedefault
makeactive
map		(hd0) (hd1)
map		(hd1) (hd0)
chainloader	+1

My Ubuntu is actually on sdb1, so my fstab looks like this:

# /dev/sdb1
UUID=<uuidofsdb1> /        ext3    defaults,errors=remount-ro 0  1

Swap is also on sdb:
# /dev/sdb5
UUID=<uuidofsdb5> none            swap    sw            0       0

XP is on sda1:
/dev/sda1 /media/windows     ntfs iocharset=utf8,umask=000  0 0










More information about the ubuntu-users mailing list