Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub Multiboot
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
gabelhonz
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 222
Location: 10010100111110011

PostPosted: Wed Mar 01, 2006 8:28 am    Post subject: Grub Multiboot Reply with quote

Hallo ich hab da mal ne Frage,

und zwar möchte ich DualBoot einrichten, was ich auch schön öfters gemacht habe allerdings war da Gentoo und XP auf der gleichen Platte.
Mein Setup:

/dev/hda1 <== Windoof XP
/dev/hdbx <== Gentoo Boot,Root etc...

Momentan habe ich Grub auf der 2.Platte also /dev/hdb (1,0) Installiert. Was schon meine Frage stellt: Geht das überhaupt?

Denn:
Wenn ich von /dev/hdb boote muss ich ja als root (hd0,0) angeben obwohl es ja eigentlich (hd1,0) wäre.
Ich verstecke ja somit meine XP Platte und kann diese nicht mehr ansprechen...

Ich muss Grub auf der 1. Platte im System installieren um beides booten zu können oder gibt es da noch eine andere Lösung?

danke und gruß


gabelhonz
_________________
Wenn Chuck Norris ins Wasser fällt, wird Chuck Norris nicht nass. Wasser wird Chuck Norris.
Back to top
View user's profile Send private message
RealGeizt
l33t
l33t


Joined: 22 Apr 2003
Posts: 700

PostPosted: Wed Mar 01, 2006 9:17 am    Post subject: Reply with quote

guten morgen!
"Wenn ich von /dev/hdb boote muss ich ja als root (hd0,0) angeben obwohl es ja eigentlich (hd1,0) wäre. "
Warum gibst du nicht (hd1,0) an?

Bei mir ist es genau andersrum.
hda - gentoo
hdb - windows

Ich hab das hinbekommen in dem ich die platten gemaped habe.
wenn du den unteren teil der config nimmst und alles rumdrehst...?

Code:
default 0
timeout 15
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Athlon 64
root (hd0,0)
kernel /boot/nitro root=/dev/hda4 read-only video=vesafb:ywrap,mtrr vga=0x317 console=tty1

title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Wed Mar 01, 2006 11:09 am    Post subject: Reply with quote

Du kannst ja im Moment nur von der 2. Platte booten wenn du diese im BIOS als Bootdevice aktivierst. Dann ist sie natürlich die erste Platte.

Aber die andere Platte dürfte in diesem Fall die als 2. Platte in grub erkannt werden.
Das kannst du mit der grub-shell überprüfen.

Aber an deiner Stelle würde ich es ganz anders machen:

Grub in den MBR der ersten Platte und diese grub.conf:
Code:
default 0
timeout 15

title Gentoo Linux
root (hd1,0) # falls /boot auf der ersten Partition ist
kernel /kernel-2.6.15 root=/dev/hdb2

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

_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
gabelhonz
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 222
Location: 10010100111110011

PostPosted: Wed Mar 01, 2006 12:03 pm    Post subject: Reply with quote

Hallo,

ich hab da jetzt gar ne lang rumgemacht und einfach die Platten kurz umgejumpert so dass:

Gentoo ==> hda
Windoof ==> hdb

ist. Und dann das wie RealGeizt mit dem dem mapping gemacht.
Funktioniert einwandfrei! Danke und gruß :)
_________________
Wenn Chuck Norris ins Wasser fällt, wird Chuck Norris nicht nass. Wasser wird Chuck Norris.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum