Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 22:43:04 -0700
From:      Darryl Okahata <darrylo@soco.agilent.com>
To:        Lamont Granquist <lamont@scriptkiddie.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Recovering from clobbered boot manager? 
Message-ID:  <200110190543.WAA03350@mina.soco.agilent.com>
In-Reply-To: Your message of "Thu, 18 Oct 2001 22:21:44 PDT." <20011018221549.C407-100000@coredump.scriptkiddie.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Lamont Granquist <lamont@scriptkiddie.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110190543.WAA03350>