From owner-freebsd-questions Mon Dec 24 0:30:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 2D38E37B41D for ; Mon, 24 Dec 2001 00:30:06 -0800 (PST) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id AAA54221; Mon, 24 Dec 2001 00:29:38 -0800 (PST) Date: Mon, 24 Dec 2001 00:29:38 -0800 (PST) From: Annelise Anderson To: Ron Hensley Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Emergency Boot Disk In-Reply-To: <001401c18c16$d692ab30$0273150a@woodstock.lanalyse.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Dec 2001, Ron Hensley wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > How do I make an emergency boot disk, that will load the current > kernel/drive? > I know I can use the rescue image and the 2nd CD to do a resuce repair, but > that will load the file system off the CD/Floppy, not the one off my current > hard drive. > > Is there a way to make a boot disk, like rathern then using the MBR to load > up? > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.8 for non-commercial use > > iQA/AwUBPCZ+61Fb04N5DzUjEQJRFgCgoe+B1Sj6njoiFc1Qj7G3sgjHV8MAnjAu > Q1QEsanVpeZNO89PKX675VOQ > =P8Kb > -----END PGP SIGNATURE----- > I use a fixit.flp, created just as you create kern.flp and msfroot.flp. It is not itself bootable, but at the boot prompt you can type (instead of the default, which won't work with just a fixit.flp) 0:ad(1,a)/boot/loader The first number is the hard drive number; the second is the slice. You can experiment to find what works, then mount the floppy and put a file in its root directory called kernel.conf with the text: boot: 0:ad(1,a)/boot/loader The fixit.flp will no longer work (unless you delete this file) as a typical fixit.flp, which is usually used after you boot kern.flp and mfsroot.flp to repair a damaged system. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message