Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mit Grub
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
tuxie
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2003
Posts: 101

PostPosted: Mon Jan 06, 2003 2:01 pm    Post subject: Problem mit Grub Reply with quote

Hallo,

ich habe erfolgreich Gentoo 1.4 installiert und konfiguriert.

meine Platte ist hdb

/dev/hdb1 sollte /boot sein
/dev/hdb2 swap
/dev/hdb3 /

jetzt habe ich ein Problem ich habe4 Grub installiert und eingerichtet,

eine menu.lst in /boot/grub hinterlegt.
Wenn ich von der Platte boote meldet sich Grub. Aber er greift nicht auf /dev/hdb1 zu. Als test habe ich alles von /dev/hdb1 nach /boot auf /dev/hdb3 kopiert. Jetzt kann ich nach eingabe von configfile /boot/grub/menu.lst auch von ihr booten.

1. Ich weiß nicht warum er die boot Partition nicht benutzt.
2. Warum läd er die menu.lst nicht automatisch?

Ich sende heute nachmittag meine menu.lst noch hier her.

TSchau Ingo
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Mon Jan 06, 2003 2:37 pm    Post subject: Reply with quote

Klingt ganz so, als ob Du root (hd1,2) statt root (hd1,0) benutzt hast. Ein sehr beliebter Fehler übrigens, das root in der grub Konfiguration auf das / im Filesystem zu setzen.

Gruß,
Larde.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
tuxie
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2003
Posts: 101

PostPosted: Mon Jan 06, 2003 5:10 pm    Post subject: Reply with quote

Meine menu.lst

default 0
timeout 20
splashimage=(hd0,0)/boot/grub/splasg.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hdb3

Ich glaube ich weiss jetzt wo mein Fehler liegt.

an root=/dev/hdb3 es muesste lauten root=/dev/hdb1 richtig?


Wie muesste ich mein System Konfigurieren, wenn ich meine erste Platte mit Windows XP als /dev/hda mit ran haengen wuerde ?

/dev/hda1 --> Windows XP
/dev/hdb1 --> Boot fuer Gentoo
/dev/hdb3 --> Root fuer Gentoo

Kann ich das so ohne weiteres Konfigurieren oder gibt es da Probleme ich kann ja im Bios einstellen das er von der Zweiten Platte bootet funzt auch ?

Tschau Ingi
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Mon Jan 06, 2003 5:28 pm    Post subject: Reply with quote

Sorry, ich bin davon ausgegangen, daß hdb Deine zweite Platte und damit hd1 ist. Wenn's Deine erste Platte und damit hd0 ist, dann war Deine config eigentlich schon richtig. Außer: Dir feht wohl der boot -> . link im boot Verzeichnis. Deswegen findet grub /boot/bzImage nicht. Also einfach
Code:
default 0
timeout 20
splashimage=(hd0,0)/boot/grub/splasg.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /bzImage root=/dev/hdb3
oder auch
Code:
default 0
timeout 20
splashimage=(hd0,0)/boot/grub/splasg.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel (hd0,0)/bzImage root=/dev/hdb3
, was Dir besser gefällt. ;-)

Da /boot eine eigene Partition ist, kann auf dieser Partition keine Unterverzeichnis /boot gefunden werden, wenn man vergessen hat, den /boot/boot -> /boot link zu setzen. Geht aber wie oben gezeigt auch ohne diesen Link. :-)

Ah, jetzt hab ich weitergelesen. Wenn Du dann doch noch ein /dev/hda anhängst, mußt Du halt für Linux hd0 durch hd1 ersetzen.

Gruß,
Larde.

edit: Mooment. Hast Du das splashimage gesehen? Dann liege ich wieder falsch... Im Pfad für's splashimage müßtest Du auch /boot entfernen, wenn es der Link-fehler war.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
tuxie
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2003
Posts: 101

PostPosted: Mon Jan 06, 2003 6:15 pm    Post subject: Platten umgebaut Reply with quote

So ich habe jetzt meine Platten umgebaut

/dev/hda1 /boot
/dev/hda3 /r
/dev/hdb /windows

So ich habe auch alle Confidateinein angepasst.
Ich habe ein Verzeichnis namens boot angelegt und somit findet er auch die Dateien richtig, aber er bootet nicht allein

ich muss immer erst
Code:
configfile /boot/grub/menu,lst
eingeben und dann kommt das Menue und ich kann meine AUswahl trefen. Muss ich dem Grub irgdenwo sagen welche configdatei er nehmen soll?

Kann ich mit Grub auf NTFS zugreifen?

Tschau Ingo
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Mon Jan 06, 2003 7:08 pm    Post subject: Reply with quote

Ehm, wenn Du ein aktuelles grub installiert hast, muß das Configfile menu.conf und nicht mehr menu.lst heißen, vielleicht ist das ja der Knackpunkt. :-)
Uh, und laß besser Dein Windows auf der ersten Platte, sonst mußt Du wahrscheinlich noch mehr Aufwand treiben. (map (hd0) (hd1) etc.)
Wenn Du Linux wieder als hdb hast und Windows als hda, müßte die menu.conf so aussehen:
Code:
default 0
timeout 20
splashimage=(hd1,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel (hd1,0)/bzImage root=/dev/hdb3

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


Wenn Du nicht nochmal umbauen willst, mußt Du wahrscheinlich das erwähnte ummappen der Platten benutzen, da Windows da etwas eigen ist und es vorzieht, von der ersten Platte zu booten. :-)
Müßtest mal im Forum nach grub und map suchen...

Gruß,
Larde.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1495
Location: Würzburg

PostPosted: Tue Jan 07, 2003 7:57 am    Post subject: Reply with quote

Du solltest auch nach Einstöpselung der neuen Platte GRUB erneut ausführen! (root(hd1,0), setup (hd0))
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Tue Jan 07, 2003 8:18 am    Post subject: Reply with quote

Larde wrote:
Ehm, wenn Du ein aktuelles grub installiert hast, muß das Configfile menu.conf und nicht mehr menu.lst heißen, vielleicht ist das ja der Knackpunkt. :-)

Stei, Polizop! Nicht menu.conf, sondern grub.conf. Aber es sieht in der Tat aus wie der Knackpunkt: Ist Dir irgendwie der symlink von menu.lst auf grub.conf abhanden gekommen? Der sollte da auf jeden Fall sein, dann weiß GRUB auch wieder ohne explizite Anweisung, wo seine configfile liegt... :)
Larde wrote:
Uh, und laß besser Dein Windows auf der ersten Platte, sonst mußt Du wahrscheinlich noch mehr Aufwand treiben. (map (hd0) (hd1) etc.)
Ganz meine Meinung.
Back to top
View user's profile Send private message
sOuLjA
Guru
Guru


Joined: 26 Jul 2002
Posts: 366
Location: germany - hannover

PostPosted: Tue Jan 07, 2003 8:48 am    Post subject: Reply with quote

ich glaube bei der neuen grub version liesst er eine grub.conf aus und nicht die menu.lst, einfahc link setzen oder umbenennen
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Tue Jan 07, 2003 9:33 am    Post subject: Reply with quote

Quote:
Stei, Polizop! Nicht menu.conf, sondern grub.conf.

Argh, ja Sorry. Ich hatte in meinem Posting erst "grub.conf" und "grub.lst" geschrieben, und es dann flasch verbessert. :-)

Larde.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
tuxie
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2003
Posts: 101

PostPosted: Tue Jan 07, 2003 9:55 am    Post subject: Reply with quote

Hallo,

Thx @all

Werde ich heute Abend versuchen (bin momentan auf Arbeit), ich kann die Platte wieder umbauen ist kein Problem. Wo soll dann Grub hin installiert werden. Wieder auf /dev/hdb1 ? oder soll er dann auf die Windoff Platte /dev/hda1 drauf.

Tschau Ingo
Back to top
View user's profile Send private message
tuxie
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2003
Posts: 101

PostPosted: Tue Jan 07, 2003 10:13 am    Post subject: Reply with quote

Nochmal ne Frage:

die Zeile rootnoverify sagt wohl aus das er nicht Prüfen soll welches Fielsystem benutzt wird damit er von NTSF Booten kann richtig, dieses Problem hatte ich nämlich.

Tschau Ingo
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