If you need to use pygrub, an alternative is to convert 2008.05 to UFS:
1. create installed 2008.05 ZFS VM with additional device
2. newfs and mount this device on /ufs
3. /usr/bin/find -H . -depth -mount -print | /usr/bin/cpio -pdmPu /ufs
note: this only takes stuff mounted on /
4. mount -F lofs -o nosub / /mnt
(cd /mnt; tar cvf - devices dev ) | (cd /ufs; tar xvf -)
umount /mnt
5. fix the device names in /ufs/dev/dsk and /ufs/dev/rdsk:
for i in *; do mv "$i" "`echo $i | sed -e 's/c4/c0/'`"; done
6. make the missing dirs w/correct perms (/ufs/tmp, /ufs/proc, etc - there is
a script for this here:
http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/create_dirs/)
7. edit /etc/vfstab to use /dev/dsk/c0d0s0 for / and swap for /tmp
8. bootadm update-archive -R /ufs
9. umount /ufs
Shutdown and it's ready to go
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]