Date: Fri, 6 May 2011 22:36:54 -0400 From: Henry Olyer <henry.olyer@gmail.com> To: Ryan Coleman <editor@d3photography.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: i messed up, need to do fsck and also uncomment the /usr line if /etc/fstab Message-ID: <BANLkTim9m8iQfhwa=ELiDhUHWGqzciAW7A@mail.gmail.com> In-Reply-To: <A485835D-3D1C-4E4F-857E-69D0FFEF7037@d3photography.com> References: <BANLkTi=97m3HH64=7zCejCnOcUQ_Tv4A3Q@mail.gmail.com> <A485835D-3D1C-4E4F-857E-69D0FFEF7037@d3photography.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@d3photography.com>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.
>
> Save.
>
> Quit.
>
> Reboot.
>
> 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
> > files.
> >
> > 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@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?BANLkTim9m8iQfhwa=ELiDhUHWGqzciAW7A>
