Date: Wed, 28 Mar 2018 10:39:17 +0000 From: Moheed Ahmad <moheed.ms@gmail.com> To: Victor Sudakov <vas@mpeks.tomsk.su> Cc: freebsd-questions@freebsd.org Subject: Re: How to make default root as partition-d (ada0s1d) Message-ID: <CADR6yDHHTgCzyruxO4a1ycuOLwo==ZqY85ic%2BtcD8TRcYaUpvQ@mail.gmail.com> In-Reply-To: <20180325155149.GA494@admin.sibptus.transneft.ru> References: <CADR6yDEviHgGSZ7QFXYQQvfvGyfe5yBZAeZQ7qO9-814csdZxg@mail.gmail.com> <20180325155149.GA494@admin.sibptus.transneft.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Victor. Do you mean echo "0:ad(1,d)/boot/loader" > part-a:/boot.config Or 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 part-a. 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. Moheed On Mon, Mar 26, 2018, 7:01 AM Victor Sudakov <vas@mpeks.tomsk.su> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADR6yDHHTgCzyruxO4a1ycuOLwo==ZqY85ic%2BtcD8TRcYaUpvQ>