From owner-freebsd-questions Mon May 17 7:45:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 26CAF14F34 for ; Mon, 17 May 1999 07:44:03 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id RAA31686; Mon, 17 May 1999 17:42:47 +0300 (EEST) (envelope-from ru) Date: Mon, 17 May 1999 17:42:47 +0300 From: Ruslan Ermilov To: Wayne Cuddy Cc: FreeBSD Questions Subject: Re: update boot block after 'make buildworld' Message-ID: <19990517174247.D3078@relay.ucb.crimea.ua> Mail-Followup-To: Wayne Cuddy , FreeBSD Questions References: <19990517110551.D14592@relay.ucb.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Wayne Cuddy on Mon, May 17, 1999 at 09:53:46AM -0400 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 17, 1999 at 09:53:46AM -0400, Wayne Cuddy wrote: > Yes, you are correct I will do this after installworld. I am using the NT > boot manager to read a file I created with 'dd' that consists of the first 512 > bytes of the root partition. I don't want to write of the master bootblock of > the first disks as to leave the NT boot manager accessible. Does the below > command change in this situation? > > Thanks for your input, > Wayne 1. disklabel -B will install new bootblocks (/boot/boot1 and /boot/boo2). 2. disklabel -B will not overwrite an existing boot manager. 3. /boot/boot1 is a 512-byte image of the boot block #1 (aka boot-sector), and it's exactly what you want for the NT loader to eat. 4. There are 3 ways to overwrite an existing boot manager in FreeBSD: 1) `sysinstall' can install the FreeBSD boot manager, which will allow you to choose the partition to boot from. It is hardcoded into `sysinstall' at the compile time from /boot/boot0 image. 2) `sysinstall' can install the standard MBR (no boot manager), which is built into it; 3) `fdisk -b' command will install _another_ standard MBR, which is built into `fdisk'. P.S. Why we need two different `standard' MBRs? -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 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