*BSD News Article 67208


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!inquo!in-news.erinet.com!en.com!uunet!in1.uu.net!news.vader.org!news.demon.co.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to restore /dev from single-user mode
Date: 30 Apr 1996 03:57:23 +0100
Organization: Coverform Ltd.
Lines: 47
Message-ID: <4m3vij$ks@anorak.coverform.lan>
References: <nC4933694@longacre.demon.co.uk> <3181F535.167EB0E7@home.ifx.net>
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Robert L. Hatch (rlhatch@home.ifx.net) wrote:
: 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

If you wish to change the root filesystem from read-only, run "mount -u /".
You could also try 'cd /dev; sh ./MAKEDEV std'

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....