Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2018 22:51:49 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Moheed Ahmad <moheed.ms@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to make default root as partition-d (ada0s1d)
Message-ID:  <20180325155149.GA494@admin.sibptus.transneft.ru>
In-Reply-To: <CADR6yDEviHgGSZ7QFXYQQvfvGyfe5yBZAeZQ7qO9-814csdZxg@mail.gmail.com>
References:  <CADR6yDEviHgGSZ7QFXYQQvfvGyfe5yBZAeZQ7qO9-814csdZxg@mail.gmail.com>

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



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