From owner-freebsd-stable Thu Oct 18 22:43: 9 2001 Delivered-To: freebsd-stable@freebsd.org Received: from msgbas1.cos.agilent.com (msgbas1x.cos.agilent.com [192.25.240.36]) by hub.freebsd.org (Postfix) with ESMTP id 45C7337B403 for ; Thu, 18 Oct 2001 22:43:06 -0700 (PDT) Received: from msgrel1.cos.agilent.com (msgrel1.cos.agilent.com [130.29.152.77]) by msgbas1.cos.agilent.com (Postfix) with ESMTP id D5D652FB9; Thu, 18 Oct 2001 23:43:05 -0600 (MDT) Received: from mina.soco.agilent.com (mina.soco.agilent.com [141.121.54.157]) by msgrel1.cos.agilent.com (Postfix) with ESMTP id 66AD24F4; Thu, 18 Oct 2001 23:43:05 -0600 (MDT) Received: from mina.soco.agilent.com (darrylo@localhost [127.0.0.1]) by mina.soco.agilent.com (8.9.3 (PHNE_22672)/8.9.3 SMKit7.1.1_Agilent) with ESMTP id WAA03350; Thu, 18 Oct 2001 22:43:04 -0700 (PDT) Message-Id: <200110190543.WAA03350@mina.soco.agilent.com> To: Lamont Granquist Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Recovering from clobbered boot manager? Reply-To: Darryl Okahata In-Reply-To: Your message of "Thu, 18 Oct 2001 22:21:44 PDT." <20011018221549.C407-100000@coredump.scriptkiddie.org> Mime-Version: 1.0 (generated by tm-edit 1.7) Content-Type: text/plain; charset=US-ASCII Date: Thu, 18 Oct 2001 22:43:04 -0700 From: Darryl Okahata Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lamont Granquist wrote: > Okay, the difficulty though is that I had clobbered my boot manager with a > Win2K install (dual-booting) and the CDROM doesn't give you the boot0cfg > command. I had to install onto a 2nd hard drive and then boot into that > instance of FreeBSD and use boot0cfg from there. It'd be nice to have the > option of doing that from the CDROM. Uh, I did just that (blew away my dual-boot FreeBSD/Win2K boot sector by reinstalling win2k after being an Uber-Idiot), which is how I painfully discovered the lack of pointers to boot0cfg. [ I actually hex dumped the boot sector, read the boot0 asm code, and binary-edited the boot sector to enable LBA, before I discovered the existence of boot0cfg, which would have made my life MUCH easier .... ;-( ] The easiest solution is to boot the live filesystem CDROM (you did *buy* the four-disk set, right?), use fdisk to restore the boot sector, and then run boot0cfg. Everything you need is on the bootable live filesystem CDROM. Just make sure you use /boot/boot0 as the boot sector, and not /boot/mbr (the default). -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message