Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 18:41:32 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Bsd Neophyte <bsdneophyte@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: need help repairing this system... mount issues
Message-ID:  <20030519014132.GB19365@webserver.get-linux.org>
In-Reply-To: <20030519013058.99111.qmail@web20102.mail.yahoo.com>
References:  <200305190117.aa67893@salmon.maths.tcd.ie> <20030519013058.99111.qmail@web20102.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 18, 2003 at 06:30:58PM -0700 or thereabouts, Bsd Neophyte seemed to write:
> 
> --- Ian Dowse <iedowse@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@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?20030519014132.GB19365>