From owner-freebsd-questions Thu Oct 30 14:49:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA17460 for questions-outgoing; Thu, 30 Oct 1997 14:49:55 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from rvc1.informatik.ba-stuttgart.de (rvc1.informatik.ba-stuttgart.de [141.31.112.22]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA17452 for ; Thu, 30 Oct 1997 14:49:48 -0800 (PST) (envelope-from helbig@Informatik.BA-Stuttgart.DE) Received: (from helbig@localhost) by rvc1.informatik.ba-stuttgart.de (8.8.7/8.8.5) id XAA25713; Thu, 30 Oct 1997 23:49:24 +0100 (MET) From: Wolfgang Helbig Message-Id: <199710302249.XAA25713@rvc1.informatik.ba-stuttgart.de> Subject: Re: Can't boot anymore :( In-Reply-To: <199710302052.VAA13605@friko.onet.pl> from Mariusz Potocki at "Oct 30, 97 09:53:34 pm" To: potok@friko.onet.pl (Mariusz Potocki) Date: Thu, 30 Oct 1997 23:49:23 +0100 (MET) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > When I turn my computer on, FreeBSD doesn't want to start. > Kernel boots but when system try to mount filesystems I have error > messages: > swapon: /dev/wd0s3b: No such file or directory. Somehow you managed to delete the special file. To recreate it do cd /dev sh MAKEDEV wd0s3 > Automatic reboot in progress... > /dev/rwd0a: clean, 67912 free (384 frags, 8441 blocks, 0,4% > fragmentation) > /dev/wd0s3f: No such file or directory. > Can't stat /dev/wd0s3f. Same cause as above, /dev/wd0s3f is missing. > Automatic file system check failed... help! > > I run 2.2.1R, have Conner CFS1275A with OS/2 boot manager, DOS > and FBSD partitions on it. > In /etc/fstab I mount wd0s3f as /usr and wd0s3e as /var. > Until today it was no problem at all with this configuration. > What happened and how can I fix it ? /dev/wd0s3a, /dev/wd0s3b ... were deleted and now are missing. > ps. In shell at startup I can mount my slices, but using > mount /dev/wd0f /usr instead wd0s3f as is in fstab (what's a > difference between both of them ?). /dev/wd0f is the partition f on the first FreeBSD slice on disk 0, /dev/wd0s3f is the partition f on the third slice on disk 0. (slice numbering starts with one, not zero, as opposed to disk numbering and Unix convention.) So, if you have only one FreeBSD slice on a disk, /dev/wd0f and /dev/wd0s3f are device files for the same slice and I recommend to forget about slices for BSD filesystems at all in this case. Just change the "wd0s3?"-entries to "wd0?"-entries in your /etc/fstab and it should work fine. Wolfgang