# mount /dev/ad4s1a /root/target/boot
You must create an intermediate slave PFS in order to restore / mount. PFS#0 cannot be downgraded to slave, so you have no choice here.
-We create all the PFSs as slaves, and mount_null them.
- # hammer pfs-slave /root/target/var
- [....]
- # hammer pfs-slave /root/target/usr
- [....]
- # hammer pfs-slave /root/target/tmp
- [....]
- # hammer pfs-slave /root/target/home
- [....]
- # cd /root/target && mv var usr tmp home pfs
- # mkdir var usr tmp home
+# Restoring the data
- # hammer pfs-slave /root/target/var/tmp
- [....]
- # hammer pfs-slave /root/target/var/crash
- [....]
- # hammer pfs-slave /root/target/usr/obj
- [....]
- # hammer pfs-slave /root/target/rootcopy
+Let's start recovering our data into the physical media:
+
+ # gunzip -c /root/pfs/usr.gz | hammer mirror-write /root/target/pfs/usr
+ PFS slave /root/target/pfs/usr does not exist.
+ Do you want to create a new slave PFS? (yes|no) y
Creating PFS #1 succeeded!
- /root/target/rootcopy
[....]
+ # gunzip -c /root/pfs/var.gz | hammer mirror-write /root/target/pfs/var
+ PFS slave /root/target/pfs/var does not exist.
+ Do you want to create a new slave PFS? (yes|no) yes
+ Creating PFS #2 succeeded!
+ And so on with all the PFSs we backed up.
+ [....]
+Now we need to restore our **/** in the intermediate PFS, then cpdup it into our target dir:
-
-
-# Restoring the data
# Fixing the configuration
# Booting