From owner-freebsd-questions@FreeBSD.ORG Tue Oct 25 23:41:48 2005 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 3B17316A41F for ; Tue, 25 Oct 2005 23:41:48 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D80B943D45 for ; Tue, 25 Oct 2005 23:41:47 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id j9PNeiBn000686; Tue, 25 Oct 2005 19:40:44 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id j9PNeiBt000685; Tue, 25 Oct 2005 19:40:44 -0400 (EDT) From: Jerry McAllister Message-Id: <200510252340.j9PNeiBt000685@clunix.cl.msu.edu> To: chowse@charter.net (Charles Howse) Date: Tue, 25 Oct 2005 19:40:44 -0400 (EDT) In-Reply-To: X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Need to boot from CD and delete a file on the hard drive 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: Tue, 25 Oct 2005 23:41:48 -0000 > > > Hello All -- > > Nuked a lot here. > > SUMMARY: > > > > After booting from the CD, I found a command in the install program to enter > > an "emergency > > shell" and accessed this shell by hitting ALT-F4 -- but if I do an "rm" > > command in this > > emergency shell, it doesn't apply to the filesystem on the hard drive -- it > > applies to the CD. I > > need to delete the file /boot/loader.conf while booting from the CD. > > > > Is there any way to fix this without installing FreeBSD all over again? > > OK, I'm going to try one more time, and then leave it to the pro's. :-) > You will need Disc 2 of your install CD's, that contains the live file > system. > Boot with the install cd (1), choose 'Fixit' from the install menu, insert > disc 2 when prompted for the fixit disc, then... > I found this link explaining the process: > http://www.freebsd-corp-net-guide.com/technotes/fixit.html Good, but I think it depends on the FreeBSD version. I think, starting with 5.xx the fixit is all on disk one and you don't need disk 2, but for 4.xxx and earlier you do. ////jerry