Date: Wed, 05 Jul 2000 22:27:53 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.ORG> To: Andrew Brown <dru_brown@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Boot questions Message-ID: <200007060527.WAA44967@john.baldwin.cx> In-Reply-To: <20000706050225.52853.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06-Jul-00 Andrew Brown wrote: > I have been looking around now and i have not been able to find a clear > answer to the following problem. I need to reinstall windows but i know that > when i do it will erase my MBR where the BSD ( version 4.0 by the way) boot > loader is. So how do i > a.) make a bsd boot disk so that i can boot back into BSD when i reinstall > windows? Use the details in the handbook to make a kern.flp floppy. Boot the floppy, when it prompts for the MFS root floppy, just leave the floppy in, press Enter and ignore the error. When it starts to countdown, hit space. You will now have a loader prompt. Type lsdev which should display the devices on the system. One of the disks will have your BSD slice in it, and the root partition will have a name like disk1s2a (the root partition ends in 'a'). Type 'set currdev=disk1s2a' or whatever the proper partition name is. Then type 'unload' to unload the kernel from the floppy, type 'load /kernel' to load the kernel from the hard drive and then type 'boot' to boot. > b.) after using the boot disk to get back into bsd, how do i reinstall the > BSD boot loader? Once you are booted into FreeBSD, you can use boot0cfg to install the boot manager onto your hard drive. Read the manpage for more details. HTH. > Thank you very much > Dru Brown -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ 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?200007060527.WAA44967>