Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2000 19:51:29 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Ruslan Ermilov <ru@sunbay.com>
Cc:        questions@FreeBSD.ORG, Shawn Ramsey <shawn@megadeth.org>
Subject:   Re: reinstalling boot blocks...
Message-ID:  <200006180251.TAA04351@john.baldwin.cx>
In-Reply-To: <20000617121157.A71747@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17-Jun-00 Ruslan Ermilov wrote:
> 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 <your_disk>'.
> Here <your_disk> 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 <your_disk>'.
> 
> To install FreeBSD boot manager which allows you to choose the disk/slice
> to boot from, use `fdisk -B -b /boot/boot0 <your_disk>'.

or `boot0cfg -B <your_disk>'.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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?200006180251.TAA04351>