From owner-freebsd-questions Sat Jun 17 6: 7:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id DEBE837B879 for ; Sat, 17 Jun 2000 06:07:43 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (ppp1.patr.hellasnet.gr [212.54.197.16]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id PAA15930; Sat, 17 Jun 2000 15:06:33 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.10.2/8.10.2) id e5I1El100647; Sun, 18 Jun 2000 04:14:47 +0300 (EEST) Date: Sun, 18 Jun 2000 04:14:47 +0300 From: Giorgos Keramidas To: Shawn Ramsey Cc: questions@FreeBSD.ORG Subject: Re: reinstalling boot blocks... Message-ID: <20000618041447.A631@hades.hell.gr> References: <4.3.0.20000616173934.0200a358@mail.cpl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <4.3.0.20000616173934.0200a358@mail.cpl.net>; from shawn@megadeth.org on Fri, Jun 16, 2000 at 05:41:16PM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 16, 2000 at 05:41:16PM -0700, Shawn Ramsey wrote: > What is the easiest/safest way to re install the boot blocks on a > 3.4-RELEASE machine? Can I just use the boot disks, and write out the > changes in fdisk? (being sure the newfs flag is N! ) ? What you want is boot0cfg. Just run on the disks you want to install the boot loader the command 'boot0cfg -B' and according to the manpage of boot0cfg the MBR will be replaced by a new boot block, without affecting the existing slice table. -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public key: finger keramida@ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message