Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"root=" boot option fehlerhaft?
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
Blaster
n00b
n00b


Joined: 07 Jun 2005
Posts: 5

PostPosted: Tue Jun 07, 2005 6:22 pm    Post subject: "root=" boot option fehlerhaft? Reply with quote

Hallo ihr Lieben,

habe gerade mit Hilfe der Dokumentation auf meinem Toshiba Satellite M40X-129 Gentoo aufgesetzt.
Nach dem reboot mag ich über GRUB booten, bekomme dann aber folgende Meldung:
VFS: Cannot open root device "<NULL>" or unknow-block(8,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block (8,3)

Worum es geht mag ich selbst vermuten können, aber WIE kann ich jetzt bitte die grub.conf editieren? In Gentoo komme ich ja leider nicht rein!
Als Kernel verwende ich den 2.6.11-gentoo-r9 und kompiliert habe ich ihn mit genkernel.

Wer was weiß, bitte helfen, das wäre super.

Dankeschön!

Gruß
Blaster
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jun 07, 2005 6:26 pm    Post subject: Reply with quote

LiveCD booten, Partition mounten und ran an den grub!

Willkommen im Forum! :D
Back to top
View user's profile Send private message
Blaster
n00b
n00b


Joined: 07 Jun 2005
Posts: 5

PostPosted: Tue Jun 07, 2005 6:28 pm    Post subject: Reply with quote

Das heißt, CD rein, davon booten und dann?

Etwas folgendes:
# mount /dev/cdroms/cdrom0 /mnt/cdrom
# ls /mnt/cdrom/stages
# cd /mnt/gentoo

?

Danke für die schnelle Antwort. :)
Echt top!
:D


//EDIT:
Habe nun die grub.conf editieren können, aber der Fehler bleibt LEIDER der gleiche. :(
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jun 07, 2005 6:42 pm    Post subject: Reply with quote

Code:
mount /dev/hda1 /mnt/gentoo
vim /mnt/gentoo/boot/grub/grub.conf
Partition und Editor darfst Du Dir natürlich selber aussuchen. :P
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Tue Jun 07, 2005 6:42 pm    Post subject: Reply with quote

1. "grub.conf" posten
2. Ausgabe von "fdisk -l /dev/hda" posten

Mfg

Sino
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jun 07, 2005 6:46 pm    Post subject: Reply with quote

Schreib auch gleich die Dateisysteme dazu und überleg Dir, ob die auch im Kernel sind.
Back to top
View user's profile Send private message
Blaster
n00b
n00b


Joined: 07 Jun 2005
Posts: 5

PostPosted: Tue Jun 07, 2005 6:53 pm    Post subject: Reply with quote

Hallo, danke euch beiden!

Hier mal meine grub.conf:

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

titel=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel (hd0,0)/kernel-2.6.11-gentoo-r9 root=/dev/sda3 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd (hd0,0)/initrd-2.6.11-gentoo-r9


Und die Ausgabe von fdisk:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks ID System
/dev/sda1 1 5 40131 83 Linux (habe ext2 gewählt)
/dev/sda2 6 68 506047+ 82 Linux swap / Solaris
/dev/sda3 69 9729 77601982+ 83 Linux (habe ext3 gewählt)


//EDIT:
ist nen bissel unübersichtlich, deshalb hier:
www.patrick-imo.de/gentoo.jpg
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jun 07, 2005 7:02 pm    Post subject: Reply with quote

Oh, genkernel. Hab ich leider keine Ahnung von, aber müßte "root=" nicht auf die initrd zeigen?
Back to top
View user's profile Send private message
Blaster
n00b
n00b


Joined: 07 Jun 2005
Posts: 5

PostPosted: Tue Jun 07, 2005 7:07 pm    Post subject: Reply with quote

Also so:

...
kernel (hd0,0)/kernel-2.6.11-gentoo-r9 root=/initrd-2.6.11-gentoo-r9 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd (hd0,0)/initrd-2.6.11-gentoo-r9

Oder habe ich dich jetzt falsch verstanden?
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jun 07, 2005 7:14 pm    Post subject: Reply with quote

Ist nur geraten, ich hab genkernel noch nie benutzt. Das Handbuch sagt
Code:
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initrd-2.6.11-gentoo-r3
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Jun 07, 2005 7:53 pm    Post subject: Reply with quote

Hi Blaster, dir fehlt die Unterstützung für deinen IDE/SCSI/SATA-Controller im Kernel. Siehe https://forums.gentoo.org/viewtopic-p-2411700.html#2411700
_________________
KDE
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Tue Jun 07, 2005 7:54 pm    Post subject: Reply with quote

Blaster wrote:

[...]
titel=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel (hd0,0)/kernel-2.6.11-gentoo-r9 root=/dev/sda3 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd (hd0,0)/initrd-2.6.11-gentoo-r9
[...]

Muss das "hd0,0" nicht eher durch "sd0,0" ersetzt werden ? Also ich würde sagen das ganze muss so aussehen:
Code:

default 0
timeout 30
splashimage=(sd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r3
root (sd0,0)
kernel /kernel-2.6.11-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd /initrd-2.6.11-gentoo-r9


Mfg

Sino
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Tue Jun 07, 2005 8:17 pm    Post subject: Reply with quote

SinoTech wrote:
Blaster wrote:

[...]
titel=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel (hd0,0)/kernel-2.6.11-gentoo-r9 root=/dev/sda3 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd (hd0,0)/initrd-2.6.11-gentoo-r9
[...]

Muss das "hd0,0" nicht eher durch "sd0,0" ersetzt werden ? Also ich würde sagen das ganze muss so aussehen:
[/code]

Nein, sdax ist der Device-Name. Grub hat seine eigene Bezeichnug und spricht (korrigiert mich bitte, wenn ich dalsch liege) die Platten mit "hd" an.

Der Fehler, den du bekommst, kommt vom Grub. Der Kernel ist an dieser Stelle noch nicht gemountet (oder?). Die Aktivierung im Kernel sollte also nicht das Problem sein.

Hat jemand eine Lösung?
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jun 07, 2005 8:34 pm    Post subject: Reply with quote

franzf wrote:
Der Fehler, den du bekommst, kommt vom Grub.
Da liegst Du dalsch! :P Der Kernel ist geladen und läuft ins Leere.
Back to top
View user's profile Send private message
djcrackman
n00b
n00b


Joined: 06 Jun 2005
Posts: 6

PostPosted: Tue Jun 07, 2005 9:07 pm    Post subject: Reply with quote

Blaster wrote:
kernel (hd0,0)/kernel-2.6.11-gentoo-r9 root=/dev/sda3 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev


da du genkernel verwendet hast, MUSS das ganze wie folgt aussehen:

Code:
kernel (hd0,0)/kernel-2.6.11-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev


hier stehts auch wunderschön beschrieben ;))
Back to top
View user's profile Send private message
Blaster
n00b
n00b


Joined: 07 Jun 2005
Posts: 5

PostPosted: Wed Jun 08, 2005 2:26 pm    Post subject: Reply with quote

Habe das jetzt mal so gemacht die es im Handbuch steht aber es geht auch nicht, genau der gleiche Fehler.
Wenn ich in der grub.conf "hd" durch "sd" ersetze startet nicht mal GRUB.

Was nun? :cry:
Back to top
View user's profile Send private message
djcrackman
n00b
n00b


Joined: 06 Jun 2005
Posts: 6

PostPosted: Wed Jun 08, 2005 7:08 pm    Post subject: Reply with quote

im man steht für user mit genkernel und grub folgendes:

Code:
default 0
timeout 30

...

title=Gentoo Linux 2.6.11-r3
root (hd0,0)
kernel (hd0,0)/kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd (hd0,0)/initrd-2.6.11-gentoo-r3
...


deine grub.conf sollte also folgendes beinhalten:

Code:
default 0
timeout 30

title=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel (hd0,0)/kernel-2.6.11-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd (hd0,0)/initrd-2.6.11-gentoo-r9


wobei mir folgendes aufgefallen ist (vl hast du dich da aber nur beim abschreiben vertan: du hattest titel anstant title geschrieben => währe in dem fall natürlich auch ein fehler ....

sicherheitshalber nochmal folgendes machen:

mit livecd booten, danach alle platten dorthin mounten wo sie hingehören (SOLLTE bei dir so aussehen):

Code:
mount -t ext3 /dev/sda3 /mnt/gentoo && mount /dev/sda1 /mnt/gentoo/boot


danach liest du das verzeichnis /mnt/gentoo/boot nochmal aus: sind die files kernel-2.6.11-gentoo-r9 und initrd-2.6.11-gentoo-r9 existent? wenn ja, dann kannst du das file /mnt/gentoo/boot/grub/grub.conf so editieren, dass es so aussieht, wie ich hier (dieses posting ;)) oben gepostet habe ...
Back to top
View user's profile Send private message
Xiller
n00b
n00b


Joined: 14 Mar 2004
Posts: 33

PostPosted: Tue Aug 02, 2005 8:41 pm    Post subject: Reply with quote

Hallo ihr,
ich hab exakt das selbe Problem. Hat noch jemand eine Idee?

Danke und Gruß,
Xiller
Back to top
View user's profile Send private message
XMath
Guru
Guru


Joined: 14 Aug 2004
Posts: 435
Location: Germany, Gaimersheim

PostPosted: Wed Aug 03, 2005 6:16 am    Post subject: Reply with quote

Moin,
habt ihr auch einfach mal kontrolliert, dass der entsprechende SATA Treiber mit im Kernel eingebunden wurde?

Sollte doch auch, trotz genkernel, in der /usr/src/linux/.config einzusehen sein.

MfG
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Wed Aug 03, 2005 11:29 am    Post subject: Reply with quote

Ich kann XMath nur zustimmen!

Habe gestern auf meinem Pentium 4 Gentoo draufgeklatscht und den 2.6.12-gentoo-r6 Kernel neu kompiliert. Danach hatte ich auch diesen Fehler. Bei mir lag es daran, dass dieser verbaute onboard RAID Controler nicht erkannt wurde und dadurch auch die SATA Disks nicht laufen konnten (Nicht dass ich das RAID benutzen würde.).
Code:

Location:
   -> Device Drivers
      -> SCSI device support
         -> SCSI device support (SCSI [=y])
            -> SCSI low-level drivers
Intel/ICP (former GDT SCSI Disk Array) RAID Controller support


Allerdings frage ich mich, wie Ihr alle darauf kommt, dass das Gerät SCSI oder SATA verwendet??? Ist schliesslich nur ein Notebook und wenn ich mir die Daten von der Toshiba Website so anschaue, wird da wohl nur ne gewöhnliche IDE Disk drinn sein. Oder werden diese Disks nun auch schon über sdxx angesprochen?

Ein sich fragender STiGMaTa

#Edit
Aha, ich sehe gerade, dass der Intel 915PM Chipsatz die neue ICH6-M-Southbridge (wie in meinem Pentium 4) beinhaltet. Das unterstützt Features wie Serial ATA und ATA/100. Dann würde ich versuchen folgendes anzuwählen:

Code:
-> Device Drivers
   -> SCSI device support
      -> SCSI device support (SCSI [=y])
         -> SCSI low-level drivers
            -> Serial ATA (SATA) support (SCSI_SATA [=y])

dort
< > AHCI SATA support (NEW)
oder
< > Intel PIIX/ICH SATA support (NEW)
auswählen
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