*BSD News Article 66949


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!arclight.uoregon.edu!usenet.eel.ufl.edu!newsfeed.internetmci.com!home.ifx.net!usenet
From: "Robert L. Hatch" <rlhatch@home.ifx.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to restore /dev from single-user mode
Date: Sat, 27 Apr 1996 10:21:41 +0000
Organization: Internet Effects
Lines: 39
Message-ID: <3181F535.167EB0E7@home.ifx.net>
References: <nC4933694@longacre.demon.co.uk>
NNTP-Posting-Host: hatchman.ifx.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386)

Michael Searle wrote:
> 
> When booting on sd0, after the kernel boot I got these messages:
> 
> swapon: /dev/sd0s2b: No such file or directory
> Automatic reboot in progress...
> /dev/rsd0a: clean, 9251 free (5 frags, 2379 blocks, 0.0% fragmentation)
> /dev/sd0s2g: No such file or directory
> Can't stat /dev/sd0s2g
> Automatic file system check failed ... help!
> Enter pathname of shell or RETURN for sh:
> 
> After which, I was put into a shell with only the root partition available,
> that read-only, and not all commands in that working (such as
> /stand/sysinstall. Maybe because they were trying to use other partitions,
> or use temporary space.)
> 
> I had been installing some devices for a sound card using /dev/MAKEDEV, and
> I think I must have deleted some devices for the HD. So what I want to know,
> is how can I make these devices, and what can I do to be able to make the
> devices on a read-only filesystem. I would RTFM, but man isn't in the root
> partition. I have a list of the contents of /dev:
> 
> MAKEDEV MAKEDEV.local audio audio0 bpf0 cd0a cd0c ch0 console cuaa0 cuaa1
> <clip>
> 
> Thanks!
> 
> --
> Michael Searle - searle@longacre.demon.co.uk

The system has booted in single user mode.  Type "fsck" and then try
rebooting.  You can also mount your filesystems with the "mount"
command. 
-- 
+++++++++++++++++++++++++++++++++++++++++++++++++
Robert L. Hatch
E-Mail: rlhatch@home.ifx.net
Internet Effects.... Your Gateway To The World