Date: Fri, 28 Jul 2006 07:53:20 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Marwan Sultan <dead_line@hotmail.com>, freebsd-questions@freebsd.org Subject: Re: cant get to my shell! Message-ID: <44vepit07j.fsf@be-well.ilk.org> In-Reply-To: <20060728005010.GA4394@bluefir.org> (David Wilhelm's message of "Thu, 27 Jul 2006 17:50:10 -0700") References: <BAY20-F2FEFF9FF577BDCAC168369A580@phx.gbl> <20060728005010.GA4394@bluefir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David Wilhelm <dave@bluefir.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44vepit07j.fsf>
