Hello all,
I use Debian 1.2/Linux 2.0.29.
I have three partitions on my hard disk :
/dev/hda1 : linux
/dev/hda2 : linux swap
/dev/hda3 : ms-dos 6.22
And I have a problem with the mount command :
nathalie# mount /hda3/
can't lock lock file /etc/mtab~: timed out
So, I delete /etc/mtab~ and it
This is what I have in my /etc/init.d/boot, version
@(#)boot 2.10 26-Apr-1997 [EMAIL PROTECTED]
[cut]
#
# Remount rootfs rw (default), but do not try to change mtab because it
# is on a ro fs until the remount succeeded. Then clean up old mtabs and
# finally write the new mtab.
[Charset iso-8859-1 unsupported, filtering to ASCII...]
This is what I have in my /etc/init.d/boot, version
[..]
rm -f /etc/mtab~ /etc/nologin
[..]
So according to this, /etc/init.d/boot should take care of removing
/etc/mtab~ during the boot.
That'll solve the problem, but not the cause.
Hello joost,
nathalie# mount /hda3/
can't lock lock file /etc/mtab~: timed out
Apparently your mount eigher doesn't exit properly (maybe it's trying
to mount nfs volumes in the background?), or it's killed for
some other reason.
What does:
$ ps -ax|grep [m]ount
output on your system
Hello Heikki,
[cut]
#
# Remount rootfs rw (default), but do not try to change mtab because it
# is on a ro fs until the remount succeeded. Then clean up old mtabs and
# finally write the new mtab.
#
mount -n -o remount,rw /
rm -f /etc/mtab~ /etc/nologin
: /etc/mtab
5 matches
Mail list logo