Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 17:42:47 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Wayne Cuddy <wayne@crb-web.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: update boot block after 'make buildworld'
Message-ID:  <19990517174247.D3078@relay.ucb.crimea.ua>
In-Reply-To: <Pine.LNX.3.95.990517094712.23801A-100000@crb.crb-web.com>; from Wayne Cuddy on Mon, May 17, 1999 at 09:53:46AM -0400
References:  <19990517110551.D14592@relay.ucb.crimea.ua> <Pine.LNX.3.95.990517094712.23801A-100000@crb.crb-web.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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