Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub bootblock auf zweite festplatte schreiben
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
EOF
Guru
Guru


Joined: 02 Jul 2003
Posts: 345
Location: Usingen

PostPosted: Fri Apr 09, 2004 1:18 pm    Post subject: Grub bootblock auf zweite festplatte schreiben Reply with quote

Ich hatte irgendwann einmal windows auf meiner ersten festplatte und daher ist grub auch im mbr auf hda. Gentoo ist auf meiner zweiten.
Ich will den mbr aber nun auf der zweiten festplatte haben, damit ich die erste mit einem anständigen file system formatieren oder sie evtl. ausbauen kann.
Genügt es, wenn ich folgendes tue ? :

Code:

grub
grub> setup (hd1)
grub> quit


Danach im bios die bootreihenfolge auf hd1... aendern.

Situation:

Code:

/dev/hda1 vfat
/dev/hdb1 ext3 /boot
/dev/hdb2 ext3 /


Grub conf:

Code:

default 0
timeout 10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title Gentoo
root (hd1,1)
kernel (hd1,0)/boot/bzImage root=/dev/hdb2

title Windows
root (hd0,0)
chainloader +1


Besser fragen, als sich mit neuinstallationen plagen :).
Back to top
View user's profile Send private message
Mr.Big
Guru
Guru


Joined: 10 Apr 2002
Posts: 424
Location: Königswartha / Germany

PostPosted: Fri Apr 09, 2004 1:27 pm    Post subject: Re: Grub bootblock auf zweite festplatte schreiben Reply with quote

EOF wrote:

Code:

grub
grub> setup (hd1)
grub> quit



Hier musst Du vor setup (hd1) noch
Code:
root (hd1,0)
eingeben, damit Grub sich sozusagen selbst findet.
Rest sollte soweit ok sein.
Bedenke aber wenn Du die erste Platte entfernst wird für Grub aus (hd1) -> (hd0). Grub numeriert die Platten in der Reihenfolge wie er sie physikalisch vorfindet.
J.
Back to top
View user's profile Send private message
EOF
Guru
Guru


Joined: 02 Jul 2003
Posts: 345
Location: Usingen

PostPosted: Fri Apr 09, 2004 2:09 pm    Post subject: Reply with quote

Ich bekomme jetzt

Code:


root (hd1,1) no such partition error 22 (oder aehnlich)



wenn ich versuche von der zweiten festplatte zu booten. Ausserdem erscheint das bootmenue in einer art mischung aus texmodus und grafikmodus (fehlerhaft dargestellt).
Wenn ich wieder im bios auf die erste platte umstelle kann ich wie bisher booten.
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