From owner-freebsd-questions Sat Jun 17 2:12:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 6164F37B98D for ; Sat, 17 Jun 2000 02:12:15 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id MAA71947; Sat, 17 Jun 2000 12:11:57 +0300 (EEST) Date: Sat, 17 Jun 2000 12:11:57 +0300 From: Ruslan Ermilov To: Shawn Ramsey Cc: questions@freebsd.org Subject: Re: reinstalling boot blocks... Message-ID: <20000617121157.A71747@sunbay.com> Mail-Followup-To: Shawn Ramsey , questions@freebsd.org 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 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! ) ? > To install boot blocks (/boot/boot[12]) use `disklabel -B '. Here could either be just disk name, e.g. wd0, if you use it in dedicated mode, or there is a single FreeBSD slice on it, or particular slice name, e.g. wd0s2 (if you have multiple FreeBSD slices). To install the standard boot manager (/boot/mbr), use `fdisk -B '. To install FreeBSD boot manager which allows you to choose the disk/slice to boot from, use `fdisk -B -b /boot/boot0 '. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message