Date: Sun, 18 May 2003 18:26:55 -0700 From: Joshua Oreman <oremanj@webserver.get-linux.org> To: Andy Farkas <andyf@speednet.com.au> Cc: questions@freebsd.org Subject: Re: need help repairing this system... mount issues Message-ID: <20030519012655.GA19365@webserver.get-linux.org> In-Reply-To: <20030519111444.G93323-100000@hewey.af.speednet.com.au> References: <20030519010439.71133.qmail@web20101.mail.yahoo.com> <20030519111444.G93323-100000@hewey.af.speednet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030519012655.GA19365>
