On Sat, Apr 28, 2007 at 11:00:50PM -0300, Paulo wrote:
> Ken Moffat wrote:
> > Before trashing it all, can you try
> >
> >ls -li /etc
> >  
> >
> 
> Lot's of things, but still "permission denied" for mtab :(
> 
 But, you aren't willing to tell us what it shows, which makes it
*difficult* to make suggestions ;-)  It would also be interesting to
mount it from the host system and try ls -li /mnt/lfs/etc.
> > (I'm wondering if mtab got created as a symlink, or /etc otherwise
> >has something weird)
> >
> >  
> >
> Not sure...
> 
> >mount
> > (ditto)
> >  
> >
> show me the mounted units...

 And is anything read-only in the output ?  It will be marked as
'(ro)' instead of '(rw)'.
> 
> Yep, it would be better. But I must have done something wrong
> this time, because I have already built it in this same comp.
> I wonder what I may have done different.
> 
 Already built LFS, or already built this version of LFS ?  As you
say, if you can identify what changed, you should be closer to
solving it.
> > 
> > At the moment, I think the most likely reason not to be able to
> >open /etc/mtab for writing would be because the filesystem is
> >read-only.
> >
> That is a good point. I actually had thought about it. But how can
> I check if the system is read-only? Can you give me any tip on this?
 see above
> 
> I'm using reiserfs (I have always built it with reiserfs, but this is the
> first time I get this problem).
 
 Ah, that explains the unusual number for the directory size in ls
-ld /etc.

 You might also try looking in the system log, just in case something
bad was logged.  In fact, I almost wonder if it's a reiserfs problem
(perhaps, reiserfs got miscompiled, for example if you used
optimisations).  I can't find any similar reports anywhere, so the
problem seems to be unique [ or alternatively, you are just the
first person to report it ].

 If it was mounted read-only, and you can fsck it from the host
system, you could try that (my experience with reiserfs was not good,
but I think it now has a working fsck).

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to