public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] about multiboot with grub
@ 2004-12-05 14:04 askar ...
  2004-12-05 16:18 ` mac
  2004-12-05 23:43 ` James Hiscock
  0 siblings, 2 replies; 4+ messages in thread
From: askar ... @ 2004-12-05 14:04 UTC (permalink / raw
  To: gentoo-user

Hello!

I have 2 hard disks in my PC.

On the 1st one, /dev/hda, I have Gentoo and Windows XP.
On the 1st partition of the 2nd hard disk, /dev/hdb1 , I have Windows 2000.
I want to include this in my grub.conf, but it doesn't go well.

When I click on Windows 2000 of the grub menu Windows XP of the 1st
hard disk starts up.
I think, mayby problem with chainloader parameter...
My grub.conf as follows:
-----------------
# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 1

splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,1)
kernel /kernel-2.6.7-gentoo-r11 root=/dev/hda3 vga=792

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

title=Windows 2000
root (hd1,0)
rootnoverify (hd1,0)
chainloader +1
-------------------------



Sincerely,

Askar

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] about multiboot with grub
  2004-12-05 14:04 [gentoo-user] about multiboot with grub askar ...
@ 2004-12-05 16:18 ` mac
  2004-12-05 23:43 ` James Hiscock
  1 sibling, 0 replies; 4+ messages in thread
From: mac @ 2004-12-05 16:18 UTC (permalink / raw
  To: gentoo-user

Try this page.  

http://forums.gentoo.org/viewtopic.php?t=18319&highlight=dual+boot+grub+second



askar ... wrote:

>Hello!
>
>I have 2 hard disks in my PC.
>
>On the 1st one, /dev/hda, I have Gentoo and Windows XP.
>On the 1st partition of the 2nd hard disk, /dev/hdb1 , I have Windows 2000.
>I want to include this in my grub.conf, but it doesn't go well.
>
>When I click on Windows 2000 of the grub menu Windows XP of the 1st
>hard disk starts up.
>I think, mayby problem with chainloader parameter...
>My grub.conf as follows:
>-----------------
># Boot automatically after 30 secs.
>timeout 30
>
># By default, boot the first entry.
>default 1
>
>splashimage=(hd0,1)/grub/splash.xpm.gz
>
>title=Gentoo Linux
>root (hd0,1)
>kernel /kernel-2.6.7-gentoo-r11 root=/dev/hda3 vga=792
>
>title=Windows XP
>rootnoverify (hd0,0)
>makeactive
>chainloader +1
>
>title=Windows 2000
>root (hd1,0)
>rootnoverify (hd1,0)
>chainloader +1
>-------------------------
>
>
>
>Sincerely,
>
>Askar
>
>--
>gentoo-user@gentoo.org mailing list
>
>
>  
>


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] about multiboot with grub
  2004-12-05 14:04 [gentoo-user] about multiboot with grub askar ...
  2004-12-05 16:18 ` mac
@ 2004-12-05 23:43 ` James Hiscock
  2004-12-06  0:30   ` Bastian Balthazar Bux
  1 sibling, 1 reply; 4+ messages in thread
From: James Hiscock @ 2004-12-05 23:43 UTC (permalink / raw
  To: gentoo-user, askar ...

> title=Windows XP
> rootnoverify (hd0,0)
> makeactive
> chainloader +1

Get rid of the "makeactive" line -- it's unneccessary, and may cause
you no end of headaches... What that line does is change the "active"
(bootable) partition - in this case, to your WindowsXP partition which
probably isn't what you want...

> title=Windows 2000
> root (hd1,0)
> rootnoverify (hd1,0)
> chainloader +1

Get rid of the "root (hd1,0)" line -- it's unneccessary (and may be
what's causing your problem)...

You can try using the "map" command to swap the drives around (as far
as the BIOS/Windows is concerned):

title=Windows 2000
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

...would make your BIOS/Win2K to think that /dev/hdb is /dev/hda, and
vice versa. Most versions of Windows that I've messed around with
require being installed to a primary partition on the first hard disk.
This solution works around that limitation.

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] about multiboot with grub
  2004-12-05 23:43 ` James Hiscock
@ 2004-12-06  0:30   ` Bastian Balthazar Bux
  0 siblings, 0 replies; 4+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-06  0:30 UTC (permalink / raw
  To: gentoo-user

James Hiscock wrote:

> <snip>
>
>You can try using the "map" command to swap the drives around (as far
>as the BIOS/Windows is concerned):
>
>title=Windows 2000
>map (hd0) (hd1)
>map (hd1) (hd0)
>rootnoverify (hd1,0)
>chainloader +1
>
>...would make your BIOS/Win2K to think that /dev/hdb is /dev/hda, and
>vice versa. Most versions of Windows that I've messed around with
>require being installed to a primary partition on the first hard disk.
>This solution works around that limitation.
>
>  
>
veeery good to know, thanks :)

francesco

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-06  0:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-05 14:04 [gentoo-user] about multiboot with grub askar ...
2004-12-05 16:18 ` mac
2004-12-05 23:43 ` James Hiscock
2004-12-06  0:30   ` Bastian Balthazar Bux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox