From owner-freebsd-questions Mon Jul 27 05:24:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA07133 for freebsd-questions-outgoing; Mon, 27 Jul 1998 05:24:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailhost.criterion.canon.co.uk (cruella.criterion.canon.co.uk [194.223.249.254]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA07123 for ; Mon, 27 Jul 1998 05:24:38 -0700 (PDT) (envelope-from adamn@criterion.canon.co.uk) Received: from csl.com (hermes.criterion.canon.co.uk [194.223.249.13]) by mailhost.criterion.canon.co.uk (8.8.8/8.7.3) with ESMTP id NAA19096 for ; Mon, 27 Jul 1998 13:19:02 +0100 (BST) Message-ID: <35BC709B.1E0AEAEB@csl.com> Date: Mon, 27 Jul 1998 13:20:43 +0100 From: Adam Nealis Organization: Criterion Software, Ltd. X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i686) MIME-Version: 1.0 To: freebsd-questions Subject: Re: MAKEDEV on ro wd References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Sascha Schumann wrote:[snip] > o I forgot to change /etc/fstab (still pointing to wd2*) > o /dev/wd1s1[a-f] does not exists (and I cannot get rw access to the > system to use MAKEDEV) > > So, when booting in FreeBSD, I get this kind of rescue shell where the > root fs /dev/wd1s1 is mounted read only. How do I get around this? mount > doesn't know a "-o remount" option and a "mount root_device /" bumps on me > with a "cannot remount read-writable...run fsck manually". > > Is there any way I can avoid playing with the hds again? I ran into a similar problem last week. It was, in effect, that I had updated my kernel sauce to 2.2.6 and there was a difference in the format of /etc/fstab between 2.2.5 and 2.2.6 that caused me to get a recue shell as well. Where my root partition was /dev/wd0sa / ufs rw #2.2.5 /etc/fstab entry I had to change it to /dev/wd0s1a / ufs rw #2.2.6 version To check the partition is OK, try this mkdir /mnt/bootdisk mount /mnt/bootdisk /dev/wd01s1a (you might have to fsck it first!). If it mounts, you know the disk is fine (Phew!), and it could be your /etc/fstab. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message