I have installed Solaris 11 Express on my computer and set up a script to make daily snapshots of all filesystems and send them to a backup disc.
Now I'm trying to replace the system disc using a set of captured snapshots. I have found an article on that topic on the internet and have been experimenting with the recomended procedure for a while.
Here is a list of exactly the steps I take (c8d0 is the identifier of the new hard disc):
1.
I boot from the USB Install image downloaded from Oracle
I type
fdisk -B /dev/rdsk/c8d0p0
to relabel the new disc to a Solaris2 partition
2.
I import the backup disc:
zpool import -f backup
3.
I create the root pool:
zpool create -f -o failmode=continue -R /a -m legacy rpool c8d0p0
4.
I install the grub and the MBR:
installgrub -fm /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c8d0s0
5.
I import the rpool, rpool/ROOT, rpool/ROOT/solaris, rpool/export and rpool/export/home filesystems this way:
zfs send backup/rpool@[timestamp] | zfs receive –F rpool
6.
I set the boot property for the root partition:
zpool set bootfs=rpool/ROOT/solaris rpool
7.
I create the dump and swap fs:
zfs create -V 2G rpool/dump\n
zfs create -V 2G -b 4k rpool/swap
8.
Finally I reboot the system:
init 6
But then, when the pc reboots, the boot process stops on this message:
Verifying DMI Pool Data ..................
GRUB _
What am I doing wrong?
Thanks for your answers, Dusan