From owner-freebsd-questions Sun May 5 17:34:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA21790 for questions-outgoing; Sun, 5 May 1996 17:34:02 -0700 (PDT) Received: from vent.pipex.net (root@vent.pipex.net [158.43.128.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA21783 for ; Sun, 5 May 1996 17:34:00 -0700 (PDT) Received: from dial.pipex.com by vent.pipex.net (8.6.12/PIPEX simple 1.20) id BAA23824; Mon, 6 May 1996 01:33:52 +0100 Received: (from jraynard@localhost) by dial.pipex.com (8.6.12/8.6.12) id XAA08392; Sun, 5 May 1996 23:57:42 GMT Date: Sun, 5 May 1996 23:57:42 GMT From: James Raynard Message-Id: <199605052357.XAA08392@dial.pipex.com> To: valtech@caribnet.net CC: questions@freebsd.org In-reply-to: (valtech@caribnet.net) Subject: Re: Urgent Help Required Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> valtech@caribnet.net (Sean Batson) writes: > > Yesterday I was creating some virtual terminals and did a MAKEDEV all > and accidently destroyed my drivers which load my system. When it boots > It's unable to read the partition wd0s2f, wd0s2b and how the the filesystem > is readonly. How can I mount the root filesystem as read and write and rebuild > those two files? 1. At the boot prompt, type -s to boot in single-user mode. 2. When asked which shell to use, hit return. 3. At this point, the root filesystem will be read-only. 'mount -uw /' to re-mount it read and writable. 4. cd /dev 5 ./MAKEDEV wd0s2f wd0s2b to re-make the devices. -- James Raynard, Edinburgh, Scotland