From owner-freebsd-questions@FreeBSD.ORG Sat May 7 02:36:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E5E106566B for ; Sat, 7 May 2011 02:36:55 +0000 (UTC) (envelope-from henry.olyer@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2BF458FC12 for ; Sat, 7 May 2011 02:36:54 +0000 (UTC) Received: by iwn33 with SMTP id 33so4370762iwn.13 for ; Fri, 06 May 2011 19:36:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=zqJGX8kL1fwyxE/1gSv1frp+fW8mZW5xnb3vnMKjPLk=; b=otsxE2BeaVSIYrqDpknXlSkobeC/F2oUvqsfqQ0EbQfizEMqLgdBqrrsOL4Hx+Wpv7 Y30GeBGj5B99ZqQIkwSTg9RX1TSQo8Y5jE39R5PPOUryKsAifHPNq4phG2iuP++aBrcr Ojkyqji31lXe29j8WAE69iElgcVDwWIh5XSek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=j9PPWtp52irsQX/YoGbzeogD2dhUjdiEBRwCKmgVLo0Lp2Ylin58p9VtfEEd/8xcHg c+OwrjAqbx4gxFpGKATY137InYcJbe6lIO8SvcXgYRNQJALEJE57XlwdMZ/9f9/CrLAm /1lyYEr+UlmVn89GtvlgVNbZBhSqnehfr8Oyo= MIME-Version: 1.0 Received: by 10.231.68.202 with SMTP id w10mr2785953ibi.63.1304735814601; Fri, 06 May 2011 19:36:54 -0700 (PDT) Received: by 10.231.145.9 with HTTP; Fri, 6 May 2011 19:36:54 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 May 2011 22:36:54 -0400 Message-ID: From: Henry Olyer To: Ryan Coleman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: i messed up, need to do fsck and also uncomment the /usr line if /etc/fstab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2011 02:36:55 -0000 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 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" > >