*BSD News Article 64580


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!newsxfer.itd.umich.edu!news.eecs.umich.edu!newshub.tc.umn.edu!umn.edu!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: help /var and /user no longer found
Date: 19 Mar 1996 00:06:25 GMT
Organization: Private BSD site, Dresden
Lines: 29
Message-ID: <4iktq1$sl4@uriah.heep.sax.de>
References: <crb-1803960124300001@128.8.21.94>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

crb@eng.umd.edu (Christopher R. Bowman) writes:

>   I go and run pspice in
> windows for a while, and later when I reboot to run freebsd again, the
> kernal can't seem to find any partitions/slices other than the root. 
> The machine boot the kernal and then when it goes to swap on either
> drive it says no such file or device, same for mounting /usr and /var. 

Have you trashed your fdisk table?

Boot into single user (-s at the boot prompt), and try to look around.
fdisk is on the root partition, as well as a very simple editor (ed).

In order to mount the root file system writeable, first fsck it:

	fsck /dev/rwd0a

then mount it r/w:

	mount -u /dev/wd0a /

(assuming an IDE drive).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)