Hi,

The following two commands worked yesterday, but stop working today.
Does anyone have the latest instructions for mounting and updating
the GRUB?


First, mount the clone under the /mnt directory
        # pfexec mount -F zfs rpool/ROOT/opensolaris-1 /mnt

Next, update the GRUB configuration on your ZFS boot device(s) using
        # pfexec /mnt/boot/solaris/bin/update_grub -R /mnt

When you're ready to boot into the updated boot environment, you can
reboot(1M) or init(1M) as usual.



This is what I did:

# pkg set-authority -O http://osol-re.sfbay:10900/ opensolaris.org
# pfexec pkg refresh
# pfexec pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                579/579 26906/26906 670.41/670.41

PHASE                                        ACTIONS
Removal Phase                              8008/8008
Install Phase                              9457/9457
Update Phase                             37382/37382
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                            579/579

A clone of opensolaris exists and has been updated and activated.
On the next boot the Boot Environment opensolaris-2 will be mounted on '/'.
Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
   http://opensolaris.org/os/project/indiana/resources/relnotes/200811/x86/
---------------------------------------------------------------------------

# beadm list
BE            Active Mountpoint Space  Policy Created
--            ------ ---------- -----  ------ -------
opensolaris   N      /          20.57M static 2008-11-21 10:42
opensolaris-1 -      -          1.61G  static 2009-03-25 16:37
opensolaris-2 R      -          7.14G  static 2009-03-25 17:02

# umount /mnt
umount: warning: /mnt not in mnttab
umount: /mnt not mounted

# pfexec mount -F zfs rpool/ROOT/opensolaris-2 /mnt
filesystem 'rpool/ROOT/opensolaris-2' cannot be mounted using 'mount -F zfs'
Use 'zfs set mountpoint=/mnt' instead.
If you must use 'mount -F zfs' or /etc/vfstab, use 'zfs set mountpoint=legacy'.
See zfs(1M) for more information.

# pfexec zfs set mountpoint=/mnt rpool/ROOT/opensolaris-2  <<== no complaints ??

# pfexec /mnt/boot/solaris/bin/update_grub -R /mnt   <<== does not work
pfexec: can't get real path of ``/mnt/boot/solaris/bin/update_grub''

# ls /mnt


Thanks,
Julie
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to