From owner-freebsd-questions@FreeBSD.ORG Fri Jul 28 11:53:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6AEC16A4DA for ; Fri, 28 Jul 2006 11:53:33 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80A3243D72 for ; Fri, 28 Jul 2006 11:53:23 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 2931 invoked from network); 28 Jul 2006 11:53:21 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 28 Jul 2006 11:53:21 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 81DB928449; Fri, 28 Jul 2006 07:53:20 -0400 (EDT) To: Marwan Sultan , freebsd-questions@freebsd.org References: <20060728005010.GA4394@bluefir.org> From: Lowell Gilbert Date: Fri, 28 Jul 2006 07:53:20 -0400 In-Reply-To: <20060728005010.GA4394@bluefir.org> (David Wilhelm's message of "Thu, 27 Jul 2006 17:50:10 -0700") Message-ID: <44vepit07j.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: cant get to my shell! 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: Fri, 28 Jul 2006 11:53:34 -0000 David Wilhelm writes: > On Thu, 27 Jul 2006, at 09:03:41 +0000, Marwan Sultan wrote: >> i tried to use "fixit" from sysinstall by using the emergency shell, to >> delete libmap.conf >> (asuming its cuzing the problem) but from the emergency shell u cannot see >> that file, > > In order to edit libmap.conf, the partition where it lives needs to be > mounted. If you booted from a CD, you'll need to mount the hard drive > partition by hand. > > My /etc/libmap.conf is located in the root partition, my hard drive is > ad0, and FreeBSD is on the first slice, so the device I needed is > /dev/ad0s1a. Of course, yours may be different. > > From the emergency shell, mount your partition to some convenient directory, > say it's /mnt: > > # mount /dev/ad0s1a /mnt > > Then you can edit your libmap.conf at it's current, temporary location: > # vi /mnt/etc/libmap.conf > > Reboot after it's fixed. Before changing any files, though, make sure the root filesystem passes an fsck.