From owner-freebsd-questions@FreeBSD.ORG Sun May 18 18:25:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A69EE37B401 for ; Sun, 18 May 2003 18:25:54 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id D3ECE43F3F for ; Sun, 18 May 2003 18:25:53 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 19446 invoked by uid 1001); 19 May 2003 01:26:55 -0000 Date: Sun, 18 May 2003 18:26:55 -0700 From: Joshua Oreman To: Andy Farkas Message-ID: <20030519012655.GA19365@webserver.get-linux.org> References: <20030519010439.71133.qmail@web20101.mail.yahoo.com> <20030519111444.G93323-100000@hewey.af.speednet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030519111444.G93323-100000@hewey.af.speednet.com.au> User-Agent: Mutt/1.4i cc: questions@freebsd.org Subject: Re: need help repairing this system... mount issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 01:25:55 -0000 On Mon, May 19, 2003 at 11:20:36AM +1000 or thereabouts, Andy Farkas seemed to write: > > > > > > boot -s > > > > after this i need to tell it where to find the filesystem > > so, like in the previous messages, > > > > mountroot> ufs:/dev/ad4s1a > > > > > fsck -p > > > > when i try this, i get the following: > > > > Can't open /dev/ad0s1a: Device not configured > > /dev/ad0s1a: CAN'T CHECK FILE SYSTEM. > > /dev/ad0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > > > > in past i've tried to run fsck on ad4s1a, but it gave the error: > > > > Can't stat /dev/ad4s1a: No such file of directory > > > > Mmmm. I think you've got two options: either move the disk onto the > motherboard controller so it becomes ad0 again (or stick it in another > machine) or boot the install disk (either floppy or cd) and go into the > Fixit shell to create an ad4 device node (this can be fairly complicated > to do...) Before you do that, why not try this? Booting [kernel] in 9 seconds... [space] ok boot -s [snip] mountroot> ufs:/dev/ad4s1a [snip] # mount -uw / # cd /dev && sh MAKEDEV ad4 # mount -a The key command is 'mount -uw /'. This tells the system to remount / read-write. It does not need the device file used to mount the partition. HTH, -- Josh > > -- > > :{ andyf@speednet.com.au > > Andy Farkas > System Administrator > Speednet Communications > http://www.speednet.com.au/ > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"