how to mark a slice bootable using command line

Alejandro Pulver alejandro at varnet.biz
Mon Apr 25 12:18:37 PDT 2005


On Mon, 25 Apr 2005 18:15:11 +0200
jonas <jonas at schiebtsich.net> wrote:

> On Monday 25 April 2005 18:01, Don Brearley wrote:
> > What about "boot0cfg -s 2 da0" ?
> 
> This sets the second slice to be the default entry in the bootmanager
> on next startup. Usefull, but it does not set the bootable flag to the
> slice.
> 
> So... negative.. but thanks anyway.
> 
> -- 
> br.
> j.

Hello,

This is from fdisk(8):

CONFIGURATION FILE

[...]

a slice

Make slice the active slice.  Can occur anywhere in the config file, but
only one must be present.

Example: to make slice 1 the active slice:

a 1

Best Regards,
Ale


More information about the freebsd-questions mailing list