View previous topic :: View next topic |
Author |
Message |
nes Apprentice
Joined: 10 Aug 2004 Posts: 155 Location: Vienna/Austria
|
Posted: Wed Jan 14, 2009 8:11 pm Post subject: Probs mit filesystem beim booten |
|
|
Hallo allseits,
ich habe auf einem neuem Rechner gentoo aufgesetzt. Dabei bin ich streng nach Handbuch (http://www.gentoo.de/doc/de/handbook/handbook-x86.xml) vorgegangen, sah auch soweit alles ganz gut aus, keinerlei Troubles bis zum ersten Booten ins neue System. Als Filesystem habe ich fuer alle Partitionen (/, /boot und /home) ext3 gewaehlt.
Beim ersten booten ins neue System kommt nun folgende Meldung
Code: |
...
" checking root filesystem ...
ext2fs_check_if_mount: No such file or directory while determining wheter /dev/ROOT is mounted.
fsck.ext3: No such file or directory while trying to open /dev/ROOT
/dev/ROOT:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
filesystem couldn`t be fixed :(
Give root password for maintenance
(or type Control-D to continue):
|
/dev/ROOT hab ich nicht, warum er versucht ein ext2 filesystem (welches ich nicht habe) zu checken ist mir unklar.
Muss ich da erst udev konfigurieren? Oder was fehlt mir?
lg., nes |
|
Back to top |
|
|
py-ro Veteran
Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
|
Back to top |
|
|
Max Steel Advocate
Joined: 12 Feb 2007 Posts: 2246 Location: My own world! I and Gentoo!
|
Posted: Wed Jan 14, 2009 8:39 pm Post subject: |
|
|
Du hast vermutlich vergessen die /etc/fstab zu konfigurieren
Als template-Einstellungen sind dort /dev/ROOT (was man auf /dev/root/ stellen kann), /dev/BOOT und /dev/SWAP oder so verwendet, statt wie im How-To /dev/sda1, /dev/sda2 und /dev/sda3.
Die root-Parition wird per udev auf /dev/root gesymlinked:
cat /etc/fstab
Code: |
[...]
/dev/root / ext3 defaults 0 2
[...] |
ls -l /dev/root
Code: |
lrwxrwxrwx 1 root root 4 14. Jan 17:34 /dev/root -> sda2 |
Der Link wird anhand der root Variable (bzw. real_root bei einem genkernel-kernel) gesetzt, der zu den Boot-parameter gehört.
Man kann außerdem noch die UUID verwenden:
cat /etc/fstab
Code: | UUID=47c51ec7-29db-445f-9a3b-5233c39419eb none swap sw 0 0 |
Was man dort eintragen muss ist unter /dev/disk/by-uuid/ zu finden:
ls -l /dev/disk/by-uuid
Code: | [...]
lrwxrwxrwx root root 14. Jan 17:34 47c51ec7-29db-445f-9a3b-5233c39419eb -> ../../sda5
[...] |
(Die UUID wird bei jeder formatierung geändert)
Edith: Mischt, zu langsam xD _________________ 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 |
|
|
|
|
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
|
|