mtab is being populated by calling mount -f. Root is set to LABEL=/ in
/etc/fstab, if I change it to /dev/hda1 I get stopped during boot up
because fsck tries to run and determines that the partition isn't ext2.
I went into the single user shell it gave me there and df/mount are
still disagreeing with rdev so that broke something and didn't solve the
problem. Any other ideas?
-----Original Message-----
From: Nathan Straz [mailto:nstraz@xxxxxxx]
Sent: Tuesday, September 04, 2001 11:22 AM
To: Joseph Southwell
Subject: Re: root mount mislabled..
On Tue, Sep 04, 2001 at 11:09:07AM -0500, Joseph Southwell wrote:
> /proc/mounts says /dev/root
> rdev says /dev/hda1. which is what I expected because I can tell that
> one is mounted.
> root=/dev/hda1 in the lilo.conf file for this boot image.
> I tried correcting the mtab as you suggested, that change does not
> survive a boot. Any other thoughts?
Update your /etc/fstab to use /dev/hda1 as your root since that's what
you're doing anyway. I think most of the rc.sysinit scripts I've seen
rewrite /etc/mtab using /etc/fstab during boot. It has to do with
mount wanting to update /etc/mtab while / is still read-only, so
rc.sysinit fakes it after / is mounted read-write.
--
Nate Straz nstraz@xxxxxxx
sgi, inc http://www.sgi.com/
Linux Test Project http://ltp.sf.net/
|