Re: i messed up, need to do fsck and also uncomment the /usr line if /etc/fstab

I had an old FBSD 7.2 CD. good enough for this I thought.

I booted from that but now I need to mount the file systems on my hard
drive. How do I do that?

I agree,, once I get the /etc file system mounted I can edit the file.

Okay, next..

How do I do an fsck on the /usr file system when coming up?

On Fri, May 6, 2011 at 10:32 PM, Ryan Coleman <editor@xxxxxxxxxxxxxxxxx>wrote:

Boot to a boot disk.. anything... CD, DVD, USB

Load up vi - you can probably do this from a live linux distro.

Unedit the line.




You're golden.

On May 6, 2011, at 9:06 PM, Henry Olyer wrote:

Woe is me.

First, I simply messed up, happens to us all from time to time. I lost
power on an laptop running 8.2.

Restarted it but for some reason the fsck didn't run and I lost some /usr

I tried to do an fsck manually but because it's mounted I got nowhere.
So I
put a comment ("#") in front of the /usr line for the /etc/fstab file.

Now, I can't boot.

I need what's on my disk -- of course!
freebsd-questions@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "

freebsd-questions@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • Re: mounting msdosfs
    ... > I got two msdosfspartitions on my machine. ... > I can mount them without any problems, but fsck wont work. ... determine the order in which file system checks are done at reboot time. ...
  • RE: serioup problem after running fsck
    ... I'm not an expert in recovery and I'm not sure you could recover at ... > The easiest and first thing is to run fsck again (although I ... Running it once is no guarantee that the file system ... > shutdown command from the command line or the shutdown menu ...
  • fstab entries for external USB hard drives led to fsck.ext3 failure on boot, bug?
    ... 'F!3@$%ing fsck! ... Please repair the file system manually. ... CONTROL-D will terminate this shell and resume system boot. ... were to allow me to quickly mount an external hard drive ...
  • Re: Early access to a console (during runlevel 1)
    ... Why are you erasing error output? ... for hours fsck to complete" IS NOT a good excuse). ... repair the file systems without asking for permission. ... -p Automatically repair the file system. ...
  • Re: fsck - how to use?
    ... I got some lost files and some other file system ... > that there aren't any problems with the files on the disk as a result of the ... > that it is dangerous to run fsck on a mounted partition. ...