Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub bootet mein System nicht
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
obmib
n00b
n00b


Joined: 05 Sep 2004
Posts: 62

PostPosted: Sun Sep 05, 2004 11:32 am    Post subject: Grub bootet mein System nicht Reply with quote

Hallo,

ich habe meine Gentoo-Bootpartition auf hda1 und benutze den vanilla-kernel von der neusten Live-CD. (Swap ist auf hda2, root auf hda3).
Außerdem habe ich noch ein anderes Linuxsystem mit der Bootpartition auf hdb1.

Was muss ich in die Grub-Config Datei eintragen damit beides funktioniert?
Bis kann ich von keiner der beiden Systeme booten obwohl ich mich eigentlich an die Anleitung gehalten habe.

Ich würde mich über Antworten freuen wenn jemand eine Antwort für mich hätte.

Schönen Gruß
obmib
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sun Sep 05, 2004 12:10 pm    Post subject: Reply with quote

Zu Grub läßt sich viel über die Suche hier im Foum finden.
Wenn du nicht fündig wirst, poste dann doch bitte deine grub.conf, dann wird helfen einfacher.
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
thepi
Guru
Guru


Joined: 06 Jan 2004
Posts: 352
Location: Tokyo, Japan

PostPosted: Sun Sep 05, 2004 12:28 pm    Post subject: Reply with quote

außerdem ist eine ausreichend genaue beschreibung in den gentoo docs zu finden. hast du diese ausprobiert, und es funktioniert _trotzdem_ nicht? das wichtigste daran ist nämlich, den bootsektor überhaupt erst einzurichten, sonst "weiß" der computer ja nicht, was er machen soll. generell wäre es gut, wenn du etwas genauer beschreibst, was das problem ist.

ein paar tipps:
- kommt das bootmenü von grub überhaupt, oder nur ein fehler "could not boot from disk"?
- hast du die instruktionen aus den gentoo docs probiert?
und am wichtigsten,
- immer erst in den foren suchen! wenn du dort nichts findest, bitte mit grub.conf und einer beschreibung, was du gemacht hast, und was passiert/passieren sollte, hier rein.
_________________
Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF!
Back to top
View user's profile Send private message
obmib
n00b
n00b


Joined: 05 Sep 2004
Posts: 62

PostPosted: Sun Sep 05, 2004 1:10 pm    Post subject: Reply with quote

Hi,

leider weiß ich nicht wirklich wonach ich suchen soll :(
Ich hab einfach mal grub eingegeben, aber da gibt es ja nun unzählige Threads zu...

Ich werd mir wohl NOCHMAL die Docs ansehn, allerdings haben sie zu dem Thema eigentlich nicht geholfen...

Ich poste jetzt einfach mal meine grub.conf

Zu dem Fehler: Grub startet, allerdings wird nichts gebootet, sondern eine Fehlermeldung erscheint. Error 15: File not found bei Gentoo und Error 1: Filename must be either an absolute pathname or blocklist bei meinem anderen Linuxsystem.

grub.conf:
default 0
timeout 30
title=Gentoo Linux 2.4.26-r6
root (hd0,0)
kernel (hd0,0)/kernel-2.4.26-gentoo-r6 root=/dev/hda3

title=Slackware
root (hd1,0)
kernel (hd1,0) root=/dev/hdb2
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Sun Sep 05, 2004 1:22 pm    Post subject: Reply with quote

Die Konfig sieht in Ordnung aus. Bekommst du Fehlermeldungen oder was passiert wenn du versuchst zu booten?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
obmib
n00b
n00b


Joined: 05 Sep 2004
Posts: 62

PostPosted: Sun Sep 05, 2004 1:24 pm    Post subject: Reply with quote

Hi pablo,

ich bekomme Folgendes:
obmib wrote:

Zu dem Fehler: Grub startet, allerdings wird nichts gebootet, sondern eine Fehlermeldung erscheint. Error 15: File not found bei Gentoo und Error 1: Filename must be either an absolute pathname or blocklist bei meinem anderen Linuxsystem.


schönen Gruß
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Sun Sep 05, 2004 1:53 pm    Post subject: Reply with quote

Hast du auf Tppfehler überprüft?

Naja, wenn der Grubmenü kommt, dann drücke m (oder es ist e, jetzt weiß ich es nicht) und dann kannst du die Einträge editieren/hinzufügen, usw. Schreib dann

Code:

grub > root (hd0,0)
grub > kernel (hd0,0)/kernel-2.4.26-gentoo-r6 root=/dev/hda3
grub > boot


Wenn du einen Tippfehler hattest, wird der Grub meckern. Ich vermute, es liegt an root (hd0,0)
kernel (hd0,0)/kernel-2.4.26-gentoo-r6 root=/dev/hda3. Überprüfe dass es die Datei gibt. Und zwar auf dem root-Verzichnis deiner boot Partition.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
obmib
n00b
n00b


Joined: 05 Sep 2004
Posts: 62

PostPosted: Sun Sep 05, 2004 2:20 pm    Post subject: Reply with quote

Hi,

danke für die Antwort!

Ich denke es liegt irgendwie an den Daten, aber wie kann ich das überprüfen ohne dass ich booten kann? Muss ich auf eine Knoppix-CD zurückgreifen oder hab ich eine andere Möglichkeit?
Normalerweise MUSS es die Daten geben, ich hab ja den Portage kopiert, und grub muss sich ja auch irgendwohininstalliert haben (oder hat der MBR nix damit zu tun?).

Mensch, ich werd noch verrückt ;)
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Sun Sep 05, 2004 2:23 pm    Post subject: Reply with quote

Du brauchst ein Linux System und du musst chrooten.
Dann grub ausführen und gib einfach kernel (hd0,0)/kernel-2.4.26 ein. Bzw. benutze die Autocompletition von Grub mit dem TABS (wie bei einer Konsole). Dann wirst du gleich sehen, ob du nen Tippfehler hast oder nicht.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Bithammer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 100
Location: Mainhatten

PostPosted: Sun Sep 05, 2004 2:24 pm    Post subject: Reply with quote

wiso knoppix cd ? du hast doch eine gentoo boot cd ?
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Sun Sep 05, 2004 2:29 pm    Post subject: Reply with quote

Vielleicht bin ich auch völlig auf dem falsche Dampfer, aber müsste es nicht
Code:

kernel (hd0,0)/boot/kernel-2.4.26-gentoo-r6
 

heißen?

Ausserdem sollte der kernel auch wirklich so heißen, also nicht, dass du ihn einfach als bzImage da hinkopiert hast, grub jetzt aber sagst, er solle
kernel-2.4.26-gentoo-r6 booten.

Und bei deinem slackware Eintrag fehlt die Angabe des Kernels ganz. Da hat es grub wohl schwer die zu finden.
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
obmib
n00b
n00b


Joined: 05 Sep 2004
Posts: 62

PostPosted: Sun Sep 05, 2004 3:15 pm    Post subject: Reply with quote

Also kompiliert hab ich den Kernel, soweit bin ich dann doch schon :D ;)

Okay, hab also nochmal von der Knoppix-CD gestartet hab gechrootet und dann grub ausgeführt.

Ich hab dann den Pfad "(hd0,0)/kernel-2.4.26" eingegeben und wieder hat er "File not found" ausgegeben.

Merkwürdig, wo ist mein Kernel hin?

@ralph: in dem Verzeichniss /boot ist bei mir nichts enhalten...
Wie kann das sein? Irgendwo muss der Kernel doch sein!
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Sun Sep 05, 2004 3:29 pm    Post subject: Reply with quote

hast du überhaupt das Kernel image kopiert? Hast du vorher die boot Partition mountiert? Benutzer die TAB Completition ab kernel (hd0,0)/. Da werden alle Dateien aufgelistet. Du musst selber wissen, wo du dein Kernelimage kooiert hast und ob die Partition mountiert war.

Sonst die Datei /usr/src/linux/arch/i386/boot/bzImage wieder auf /boot kopieren (vorher Partition mounten)
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Sun Sep 05, 2004 3:31 pm    Post subject: Reply with quote

Ja, du musst das kernel image schon auch nach boot kopieren, sonst wird das nichts. Schau nochmal genau ins Handbuch, da steht das genau beschrieben.

Ausserdem solltest du nicht vergessen, die boot Partition vor dem kopieren auch zu mounten, was immer wieder gerne vergessen wird (nicht zuletzt von meiner Wenigkeit :? )
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Sun Sep 05, 2004 3:33 pm    Post subject: Reply with quote

ralph wrote:
Ja, du musst das kernel image schon auch nach boot kopieren


Eigentlich muss man nicht (sollte man aber), nur der Pfad in grub.lst muss stimmen :)
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Sun Sep 05, 2004 3:36 pm    Post subject: Reply with quote

pablo_supertux wrote:
ralph wrote:
Ja, du musst das kernel image schon auch nach boot kopieren


Eigentlich muss man nicht (sollte man aber), nur der Pfad in grub.lst muss stimmen :)


Pah, Besserwisser. :wink:

Aber recht hast du wohl!
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Sun Sep 05, 2004 3:37 pm    Post subject: Reply with quote

:D
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Sun Sep 05, 2004 4:24 pm    Post subject: Reply with quote

obmib wrote:
in dem Verzeichniss /boot ist bei mir nichts enhalten...


Das scheint mir wohl eher das eigentliche Problem zu sein ...
Back to top
View user's profile Send private message
obmib
n00b
n00b


Joined: 05 Sep 2004
Posts: 62

PostPosted: Sun Sep 05, 2004 4:46 pm    Post subject: Reply with quote

Hallo,

danke für eure Hilfe! Ich hatte das /boot vergessen. Jetzt bootet gentoo ohne Probleme.

Schönen Gruß
obmib
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