Having problems with fixit floppy mounting filesystems

Greg 'groggy' Lehey grog at FreeBSD.org
Thu May 29 23:35:37 PDT 2003


On Thursday, 29 May 2003 at 21:30:37 -0400, Tom Parquette wrote:
> I was installing an additional hard disk and I believe I commented out
> the wrong line in fstab or typo'ed something.  The /usr filesystem is
> not mounted.  The machine will not boot to a command prompt so I can
> repair it.  It complains bitterly at boot time about not finding things
> in the /usr/...... directories.
>
> I have never broken a system this badly before so this is the first time
> I have had to use a fixit floppy.
> If I can get the root and usr filesystems mounted r/w I should be able
> to "ee" fstab and get myself going.
>
> I can get to the fixit command prompt but when I issue mount /dev/ad0s1a
> /mnt to get the root filesystem mounted all I get is "operation not
> permitted".

That's because your root file system is dirty (which is normal after a
crash).  You can fix that with:

  # fsck -y /

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030530/6301604a/attachment.bin


More information about the freebsd-questions mailing list