[indiana-discuss] beadm activate issue while upgrade to snv_94

Dave Miner Dave.Miner at Sun.COM
Wed Jul 30 08:22:54 PDT 2008


Praveen Kumar wrote:
> I am running snv_93. I tried upgrading to snv_94. Even though I can use 
> 'pkg image-update' on the image, I did the following so that I can 
> choose the name of the BE instead of getting some arbitrary number suffix.
> 
> $ pfexec beadm create opensolaris-snv_94
> $ pfexec beadm mount opensolaris-snv_94 /mnt
> $ pfexec pkg -R /mnt image-update -v
> $ pfexec beadm unmount opensolaris-snv_94
> $ pfexec beadm activate opensolaris-snv_94
> beadm: Unable to activate opensolaris-snv_94
> 

A simpler method, which I use, is:

pkg image-update
beadm activate (old be)
beadm rename (old be-1) (desired-be-name)
beadm activate (desired-be-name)

(The above activate dance is a bug in renaming, IMHO).

Bug 1900 is the RFE for image-update to take a desired BE name as an 
optional argument.

Dave



More information about the indiana-discuss mailing list