From owner-freebsd-stable Sat Nov 25 13:58: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id E2BB037B479 for ; Sat, 25 Nov 2000 13:57:58 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 25 Nov 2000 13:56:24 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eAPLvmY95909; Sat, 25 Nov 2000 13:57:48 -0800 (PST) (envelope-from cjc) Date: Sat, 25 Nov 2000 13:57:48 -0800 From: "Crist J . Clark" To: Rod Taylor Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Fstab issues... Message-ID: <20001125135748.Y12190@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <007e01c05766$8b5b48b0$6500000a@jester> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <007e01c05766$8b5b48b0$6500000a@jester>; from rbt@zort.on.ca on Sat, Nov 25, 2000 at 09:05:50PM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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