Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo auf externer Platte / 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
curator
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 193

PostPosted: Thu Jan 03, 2008 1:17 am    Post subject: Gentoo auf externer Platte / Problem mit Grub Reply with quote

Hallo,
ich habe auf meiner externen Festplatte das neueste entoo installiert, und scheitere leider daran, dass ich dieses System nicht booten kann.
Ich bin nach der "Anleitung" vorgegangen, und kann auch jederzeit vom der boot CD rein ins System.
Ich habe grub-install auf sda installiert. sda ist dabei die externe festplatte, die interne nett sich hda
im bios ist selbstverständlich boot-usb-hdd eingeschaltet und eingerichtet, man kann auch externe windows booten
die grub.conf ist noch relativ basic, aber ich fürchrte, die braucht das System noch nicht.

grub-install meldet hda als hd0 und sda als hd1

Was kann ich vergessen haben?

Grüße,
Alex
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Thu Jan 03, 2008 2:27 am    Post subject: Reply with quote

ohne den Symlink menu.lst (Lst kleingeschrieben) auf grub.conf kann grub nicht starten, allerdings, um die Fehlersuche zu erleichtern wäre es nett wenn du noch zusätzlich eInfo gibst, wie z.B. grub.conf
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Jan 03, 2008 7:00 am    Post subject: Reply with quote

Ich hatte zudem bei mir das Problem, dass mein Bios sehr lange braucht, bis er den Bootloader von meinem 2Gb-Usbstick gefunden hat.
Bis dahin hat sich immer Windows schon gebootet gehabt.
Ich musste also die Bootreihenfolge dahingegend abändern, dass zwischen usb (1.Stelle) und Windows (letzte Stelle) noch genügend andere Devices sind.
Um herauszufinden woran es nun liegt würde ich die Hda erstmal komplett abschalten.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Thu Jan 03, 2008 7:51 am    Post subject: Reply with quote

Ich denke, ich hatte mal ein ähnliches Problem. Hatte eine IDE und eine SATA Platte im System. Und was da gerade hd0 und hd1 war, war immer unterschiedlich. Wenn ich mir Ubuntu installiert habe, fand der automatisch installierte Grub auch nie die Platte zum booten. Probier mal die Variante ohne grub-install, also die mit grub: root: ssetup: quit.
Back to top
View user's profile Send private message
curator
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 193

PostPosted: Thu Jan 03, 2008 1:50 pm    Post subject: Reply with quote

Hallo,
also, wenn ich die intere aus dem boot rausnehme bzw. sie in der bootreihenfolge explizit auswähle, dann startet der so etwas ähnliches wie grub. Es kommt ein Startbildschirm mit rub 1.5 und so.

nach den ersten beiden zeilen kommt jedoch jetzt ein schwarzer bildschirm. also, da scheint ja also schonmal irgendwo ein grub zu existieren.

Die grub.conf ist minimal ausgestattet:
title=gentoo
root (hd1,0)
*die nächsten beiden zeilen sind abgeschrieben aus der anleitung, klar versionen angepasst

Die menu.lst ist korrekt verlinkt.
Danke schonmal für den ersten Hint, war schonmal super.
Was kann nun noch nicht stimmen?
Back to top
View user's profile Send private message
curator
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 193

PostPosted: Thu Jan 03, 2008 2:14 pm    Post subject: Reply with quote

Oho,
also der Punkt ist folgender. Wenn ich von der Install CD boote, dann ist die Reihenfolge, wie beschrieben.
Boote ich direkt von der Festplatte, die extern ist, dann wird diese hd0.

Das macht mir Kopfschmerzen^^.
Also, hab ich die grub.conf entsprechend angepasst. Und jippie, der Kernel bootet......zum Teil.

Er findet nach dem Kernel leider kein root device, ich schaue jedoch vorher mal nach, ob ich mich irgendwo vertippt habe.
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2236
Location: My own world! I and Gentoo!

PostPosted: Thu Jan 03, 2008 3:20 pm    Post subject: Reply with quote

als Kernelparameter muss du noch root=/dev/hda1 oder ähnliches, es muss eben auf die rootPartition zeigen.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
curator
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 193

PostPosted: Thu Jan 03, 2008 10:28 pm    Post subject: Reply with quote

Klar hab ich auch mal so probiert, in der Vorschrift steht etwas:
root=/dev/ram0 real_boot=/dev/sda3 (bei mir)

Aber auch die vorgeschlagene Version geht nicht.
Das erstaunliche ist: Er meldet den Fehler (in etwa)
/dev/sda3 kann nicht als Partition gefunden werden. Bin geben sie den root Partition an oder bash für shell

Naja, wenn ich nun /dev/sda3 eingebe, wo ja die root partition steckt, gehts auf einmal wieder?
Seltsam.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5206

PostPosted: Fri Jan 04, 2008 7:32 am    Post subject: Reply with quote

curator wrote:
Klar hab ich auch mal so probiert, in der Vorschrift steht etwas:
root=/dev/ram0 real_boot=/dev/sda3 (bei mir)

Aber auch die vorgeschlagene Version geht nicht.
Das erstaunliche ist: Er meldet den Fehler (in etwa)
/dev/sda3 kann nicht als Partition gefunden werden. Bin geben sie den root Partition an oder bash für shell

Naja, wenn ich nun /dev/sda3 eingebe, wo ja die root partition steckt, gehts auf einmal wieder?
Seltsam.

es heißt nicht real_boot sonder real_root ;)
"real_root=" brauchst du nur, wenn du z.b. einen mit genkernel erzeugten kernel verwendest.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
curator
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 193

PostPosted: Fri Jan 04, 2008 3:04 pm    Post subject: Reply with quote

Hi, ja ich nutze genkernel, und der syntax fehler ist mir in der tat unterlaufen.

Nach dem nächsten Neustart wissen wir mehr........
Back to top
View user's profile Send private message
curator
Apprentice
Apprentice


Joined: 10 Apr 2007
Posts: 193

PostPosted: Fri Jan 04, 2008 6:02 pm    Post subject: Reply with quote

hat nicht geholfen, poste mal die grub.conf

GNU nano 2.0.2 File: grub.conf

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

title=gentoo hd0
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.23-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd /boot/initramfs-genkernel-x86-2.6.23-gentoo-r3

Hm, das doch richtig oda?

hier mal die fstab zur erklärung
/dev/sda1 /boot ext2 auto 0 0
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda4 /daten ntfs auto 0 0

HILFE!!

Danke
Alex
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