linux user group brescia

immagine del castello

Archivio della mailing list

R: File system check all'avvio

Andrea Occhi a.occhi a tiscali.it
Mar 19 Ago 2003 09:21:23 UTC
forcefsck non lo trova, ho provato sia cercandolo con la shell che mi
da, che con init=/bin/sh.
il messaggio esatto è:

Setting hostname desktop	[  OK  ]
modprobe: Can't open dependecies file
/lib/modules/2.4.18-24.8.0/modules.dep (No such file or directory)
Checking root file system
fsck.ext3: Is a directory/:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid end 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 8139 <device>

while trying to open /
                            [FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D for normal startup):


Se faccio Control-D mi si riavvia e mi si ferma ancora tale e quale.

Analizzando il messaggio il primo problema è la fantomatica assenza del
file modules.dep, ma
(Repair filesystem) # ls -l /lib/modules/2.4.18-24.8.0/
...
-rw-r--r-- 1 root root 101165 dic 7 2002 modules.dep
...

Altro problema è che fsck.ext3 è una directory. Ma a me non sembra visto
che
(Repair filesystem) # ls -l /sbin
...
-rwxr-xr-x 3 root root 534400 ago 11 2002 fsck.ext2
-rwxr-xr-x 3 root root 534400 ago 11 2002 fsck.ext3
...

Inoltre 
(Repair filesystem) # fsck /dev/hda2 (che è la partizione di root)
fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Maar-2002)
/: clean, 100402/624000 files, 873625/1247045 blocks



Spero di essere stato abbastanza completo nella descrizione dei miei
tentativi.
Se qualcuno ha una idea...

Ciao
Andrea

PS. Il file system l'avevo formattato come ext3




Maggiori informazioni sulla lista Lug