How to make default root as partition-d (ada0s1d)

Victor Sudakov vas at
Mon Mar 26 01:31:45 UTC 2018

Moheed Ahmad wrote:
> Hello there,
> I am trying to have two different version of bsd on a single slice.
> I've an MBR partitioned 2T disk with single slice.
> I've divided disk to 4 slices.
> ada0s1a [9.x bsd here]
> ada0s1b [swap]
> ada0s1d  [want 11.x bsd here]
> ada0s1e  [data partition]
> Installation goes fine and things boot fine.
> However, everytime I boot, default boot happens from 0:ad(1,a)/boot/loader.
> How can this default be changed so that default boot happens from ):ad(1,d).

If you try 

echo "0:ad(1,d)/boot/loader" > /boot.config

Is it ignored?

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN

More information about the freebsd-questions mailing list