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

Moheed Ahmad at
Wed Mar 28 10:39:30 UTC 2018

Thanks Victor.

Do you mean

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

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

Putting boot.config in part-a makes it working. However that is not what
I'm looking for.

I've Bsd installation on both a and d. However, if for some reason I wipe
out part-a.. (say for example installing another version or I want to use
this part for some other purpose )I can't rely on storing /boot.config in

What I am looking is, if there is a way to specify label(or part) to boot1
during its installation. [I'm ready to spend time on boot1 code if it's not
supported already].
Specifying it in a boot.config in part-a defeats the very idea of  booting
from another partition independent of part-a.

Thank you.

On Mon, Mar 26, 2018, 7:01 AM Victor Sudakov <vas at> wrote:

> 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
> AS43859

More information about the freebsd-questions mailing list