[TriLUG] filesystem error on upgrade to RH 7.2

Tanner Lovelace lovelace at wayfarer.org
Sat Mar 23 22:42:47 EST 2002


On Sat, 2002-03-23 at 21:37, Richard O. Hammer wrote:

> Tonight I'm poking at it.  My root filesystem is supposed to
> be on /dev/hda6.  But I'm getting different results from fsck
> when I call it on the root two different ways.
> 
> Contrast this:
> (Repair Filesystem) 8 # fsck.ext2 /
> e2fsck 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
> fsck.ext2: Is a directory while trying to open /
> 
> 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>
>
> With this:
> (Repair Filesystem) 9 # fsck.ext2 /dev/hda6
> e2fsck 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
> /: clean, 35647/626496 files, 88716/1251054 blocks
> 
> Can you help me understand that?  Or anything else here?
> 

Do you use initrd?  If so, then when you
first boot up, your root directory is probably
mounted somewhere else to begin with and your
bootstrap system is on a ram disk, which obviously
wouldn't be ext2.  However, when you specify the
partition directly, of course it works.

Tanner
-- 
Tanner Lovelace | lovelace at wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
         http://www.petitiononline.com/SSSCA/petition.html
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
 Those who are willing to sacrifice essential liberties for a little 
 order, will lose both and deserve neither.  --  Benjamin Franklin 

 History teaches that grave threats to liberty often come in times
 of urgency, when constitutional rights seem too extravagant to 
 endure.  --  Justice Thurgood Marshall, 1989 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020323/011203ef/attachment.pgp>


More information about the TriLUG mailing list