Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2018 18:41:04 +0530
From:      Moheed Ahmad <moheed.ms@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to make default root as partition-d (ada0s1d)
Message-ID:  <CADR6yDEviHgGSZ7QFXYQQvfvGyfe5yBZAeZQ7qO9-814csdZxg@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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).

I went through the boot-mgr, boot0, bootcfg, nextboot docs
It says 'a' is treated as traditional root. and /boot/boot code always
tries to load loader from 'a'.

For the gpt-scheme there are attributes bootme/bootonce etc that can mark a
partition to be booted by default everytime.
However for MBR(with disklabels), I don't see any option available. [Other
than possibly modify boot/boot code to treat 'd' as default /.




-- 
-Moheed
"I am who I am, no matter where I am or who I am with."



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CADR6yDEviHgGSZ7QFXYQQvfvGyfe5yBZAeZQ7qO9-814csdZxg>