Date: Sat, 7 May 2011 07:30:31 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: Henry Olyer <henry.olyer@gmail.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: <20110507033031.GD1222@procyon.xvoid.org> In-Reply-To: <BANLkTi=97m3HH64=7zCejCnOcUQ_Tv4A3Q@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Fri, May 06, 2011 at 10:06:31PM -0400, 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!
Boot to single user mode (4 in the boot menu), remount / read-write -
mount -u -o rw /, edit /etc/fstab (you'll probably need to mount /usr
manually if what's in /rescue doesn't work for you), reboot.
You can run fsck from single user mode, as well.
HTH,
Yuri
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110507033031.GD1222>
