need help repairing this system... mount issues

Joshua Oreman oremanj at webserver.get-linux.org
Sun May 18 18:40:31 PDT 2003


On Sun, May 18, 2003 at 06:30:58PM -0700 or thereabouts, Bsd Neophyte seemed to write:
> 
> --- Ian Dowse <iedowse at maths.tcd.ie> wrote:
> 
> > Try the following MFS trick:
> > 
> > 	mount_mfs -T fd1440 none /mnt
> > 	cd /mnt
> > 	sh /dev/MAKEDEV ad4s1a
> 
> was able to do these 3 w/o any issues.
> 
> > 	mount -u /mnt/ad4s1a /
> 
> however, it fell appart here.  this is the error message i received:
> 
> WARNING: R/W mount of / denied.  Filesystem is not clean - run fsck
> mount: /mnt/ad4s1a: Operation not permitted

I guess you need to fsck the fs first.
Do:
	fsck /mnt/ad4s1a
before the mount command.

> 
> > 	cd /dev
> > 	sh MAKEDEV ad4s1a
> 
> the same error appears as before:
> 
> mknod: ad4s1a: Read-only file system
> /sbin/mknod ad4s1

Direct consequence of the above.

-- Josh

> 
> > 
> > The usual way of getting out of this situation is to use a fixit
> > CD/floppy to create the device nodes, but the above should work
> > without the need for that.
> 
> i have to say this was extremely helpful.  i was able to mount /dev/ad4s1e
> under /usr.
> 
> however, i'm still stuck.  i was hoping i'd be able to create the device
> nodes and then change the values under /etc/fstab so that things would
> work without any issues.  but i'm still having a problem with sorting out
> the device nodes.
> 
> any other advice on this one?
> 
> thanks again for this pretty sweet trick. :)
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> _______________________________________________
> 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