Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2000 13:57:48 -0800
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Rod Taylor <rbt@zort.on.ca>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Fstab issues...
Message-ID:  <20001125135748.Y12190@149.211.6.64.reflexcom.com>
In-Reply-To: <007e01c05766$8b5b48b0$6500000a@jester>; from rbt@zort.on.ca on Sat, Nov 25, 2000 at 09:05:50PM -0800
References:  <007e01c05766$8b5b48b0$6500000a@jester>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 25, 2000 at 09:05:50PM -0800, Rod Taylor wrote:
> While playing around I managed to fully erase /etc/fstab (on purpose actually :).
> 
> Anyhow, on a reboot something rather mistifying happened.  It was obvious that it wouldn't be able to find any devices to mount, and mounted the / partition read only.  Now, the strange thing is that I was unable to mount / for write (mount /dev/ad0s1a /) without first creating an fstab file with a fixit disk.

I just tried the same thing twice and had to resort to fixit.flp the
first one.

On the first try, I mv'ed fstab out of the way and rebooted. I got
dropped to single-user mode as expected. I tried to mount the root
file system, but could not. The reason I couldn't was because the
kernel mounted the root filesystem as /dev/wd0s1a. I don't have any
wd(4) devices since I thought they were depricated and converted
everything to ad(4). I guess not.

I fixed things with the fixit.flp and went in to build a set of wd0s1
partitions. I tried the disappearing fstab again. It booted into
single-user and I just did,

  # mount /dev/wd0s1a /

And it worked fine. I fixed the fstab and continued the boot into
multi-user.

Were you trying to mount the correct device?

It is annoying that the kernel automatically mounts a wd(4)
device. Those are supposed to be depricated, no?
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001125135748.Y12190>