Alexander Vlasov wrote:
> Danek Duvall wrote:
>> On Wed, Jul 16, 2008 at 06:11:44PM +0200, Alexander Vlasov wrote:
>>
>>   
>>> I installed opensolaris with 2008.05 release and I'm trying to follow 
>>> updates more or less frequently; but today my attempt to update image 
>>> failed with quite strange message,
>>> ~# pkg image-update
>>> pkg: attempt to mount update-2008.06.23 failed.
>>>     
>> There's something wrong with the BE code.  You'll need to do the BE steps
>> from image-update manually:
>>
>>   - beadm create update-2008.06.23-1 (or whatever)
>>   - beadm mount update-2008.06.23-1
>>   - pkg -R <mountpoint> image-update
>>   - beadm umount update-2008.06.23-1
>>   - beadm activate update-2008.06.23-1
>>   
> Failed at second step:
> ~# /sbin/beadm create update-2008.07.16
> ~# echo $?
> 0
> ~# /sbin/beadm mount update-2008.07.16
> beadm: Unable to mount update-2008.07.16

You have to give it a mountpoint, e.g.

/sbin/beadm mount update-2008.07.16 /mnt


> 
> zfs filesystems, however, were created:
> rpool/ROOT/[EMAIL PROTECTED]                   
> 39K      -  2.95G  -
> rpool/ROOT/update-2008.06.23/[EMAIL PROTECTED]                 
> 0      -   604M  -
> rpool/ROOT/update-2008.07.16                                   46.5K  
> 59.4G  2.95G  legacy
> rpool/ROOT/update-2008.07.16/opt                                   0  
> 59.4G   604M  /opt
> 
>> (I'm not sure if create automatically mounts it for you, or whether
>> activate can work on a mounted BE.)  Also be careful not to activate the BE
>> if the update fails.  :)
>>
>> Don't forget to run grub_update from the new BE, too, or when you try to
>> boot it, it'll reboot all by itself.
>>
>> Danek
>>   
> 
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to