need help repairing this system... mount issues
Joshua Oreman
oremanj at webserver.get-linux.org
Sun May 18 18:25:55 PDT 2003
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 at speednet.com.au
>
> Andy Farkas
> System Administrator
> Speednet Communications
> http://www.speednet.com.au/
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list