Date: Mon, 24 Dec 2001 00:29:38 -0800 (PST) From: Annelise Anderson <andrsn@ANDRSN.STANFORD.EDU> To: Ron Hensley <ronh@intercom.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Emergency Boot Disk Message-ID: <Pine.BSF.4.10.10112240023360.54198-100000@andrsn.stanford.edu> In-Reply-To: <001401c18c16$d692ab30$0273150a@woodstock.lanalyse.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://www.pgp.com> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10112240023360.54198-100000>