[indiana-discuss] Create empty boot environment
Fajar A. Nugraha
fajar at fajar.net
Tue May 26 22:09:04 PDT 2009
On Wed, May 27, 2009 at 11:51 AM, Bernd Schemmer <Bernd.Schemmer at gmx.de> wrote:
>>>What's the actual problem you are trying to solve? Where are you
>>>planning to get the bits from that you plan to put in that empty
>>>boot environment?
>
> Installing other distributions in parallel to OpenSolaris in the same pool,
> e.g. Milax. Belenix, etc.
>
> Also I would like this feature to reinstall for example a snapshot of the
> rootfs which I saved on another medium.
>
>>>Short answer: Right now there is no interface in beadm to allow
>>>creating an empty boot environment.
>
Seriously? Can't this do the same thing?
# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris-6 - - 12.85M static 2009-04-08 09:34
opensolaris-7 NR / 7.44G static 2009-04-24 10:22
opensolaris-8 - - 222.0K static 2009-05-20 12:00
# zfs create rpool/ROOT/opensolaris-9
# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris-6 - - 12.85M static 2009-04-08 09:34
opensolaris-7 NR / 7.44G static 2009-04-24 10:22
opensolaris-8 - - 222.0K static 2009-05-20 12:00
opensolaris-9 - - 19.0K static 2009-05-27 12:04
If we adjust "mountpoint" and "canmount" property (using exsisting BE
as reference), import the content of another BE that supports the same
version of zpool/zfs (possibly from backup, or from a different
system), and edit grub menu, it should work, right?
--
Fajar
More information about the indiana-discuss
mailing list