On 31/08/2009, at 11:01 AM, Steven Acres wrote:

Just to save you and everyone some time, you might want to update this post with what we went over on IRC yesterday.

"beadm mount osol-b118-yge /mnt" works fine

zpool version 16 and zfs version 4 — latest versions as at b118.

Here is some output demonstrating what works and what does not:

r...@zeki:~# bootadm list-menu
the location for the active GRUB menu is: /rpool/boot/grub/menu.lst
default 1
timeout 5
0 OpenSolaris 2009.06 b118
1 OpenSolaris 2009.06 b118 with yge driver from gdamore

r...@zeki:~# beadm list
BE            Active Mountpoint Space   Policy Created
-- ------ ---------- ----- ------ ——— osol-b118 N / 104.41M static 2009-08-02 17:22
osol-b118-yge R      -          7.59G   static 2009-08-08 13:13

r...@zeki:~# beadm activate osol-b118
Unable to activate osol-b118.
ZFS returned an error.

r...@zeki:~# beadm list
BE            Active Mountpoint Space   Policy Created
-- ------ ---------- ----- ------ ——— osol-b118 NR / 104.41M static 2009-08-02 17:22
osol-b118-yge -      -          7.59G   static 2009-08-08 13:13

r...@zeki:~# bootadm list-menu
the location for the active GRUB menu is: /rpool/boot/grub/menu.lst
default 0
timeout 5
0 OpenSolaris 2009.06 b118
1 OpenSolaris 2009.06 b118 with yge driver from gdamore

"zpool status -v rpool" reports no errors.

As a thought: you could also try this: beadm create osol118 ; beadm mount osol118 /mnt ; pkg -R /mnt install [email protected] ; /mnt/ boot/solaris/bin/update_grub -R /mnt
Might give you a working, bootable BE.

r...@zeki:~# beadm mount osol-b118-yge /mnt

r...@zeki:~# /mnt/boot/solaris/bin/update_grub -R /mnt
Creating GRUB menu in /mnt
Installing grub on /dev/rdsk/c9t2d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 272 sectors starting at 50 (abs 16115)
Creating GRUB menu in /mnt
Installing grub on /dev/rdsk/c9t0d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 272 sectors starting at 50 (abs 16115)

r...@zeki:~# beadm umount osol-b118-yge

r...@zeki:~# beadm activate osol-b118-yge
Unable to activate osol-b118-yge.
ZFS returned an error.

r...@zeki:~# beadm list
BE            Active Mountpoint Space   Policy Created
-- ------ ---------- ----- ------ ——— osol-b118 N / 104.41M static 2009-08-02 17:22
osol-b118-yge R      -          7.59G   static 2009-08-08 13:13

r...@zeki:~# bootadm list-menu
the location for the active GRUB menu is: /rpool/boot/grub/menu.lst
default 1
timeout 5
0 OpenSolaris 2009.06 b118
1 OpenSolaris 2009.06 b118 with yge driver from gdamore
2 Solaris Development snv_118 X86

New BE entry in menu, menu.lst info seems consistent with the other entries.

James

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to