X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/blobdiff_plain/834c7b7c7a7a67bfae468b6a1d555150c49fa900..HEAD:/docs/howtos/howto_reinstall_hammer/index.mdwn diff --git a/docs/howtos/howto_reinstall_hammer/index.mdwn b/docs/howtos/howto_reinstall_hammer/index.mdwn index 44168b50..5f73f84c 100644 --- a/docs/howtos/howto_reinstall_hammer/index.mdwn +++ b/docs/howtos/howto_reinstall_hammer/index.mdwn @@ -201,9 +201,49 @@ Let's start recovering our data into the physical media: [....] Now we need to restore our **/** in the intermediate PFS, then cpdup it into our target dir: + + # gunzip -c /root/pfs/root.gz | hammer mirror-write /root/target/pfs/rootcopy + PFS slave /root/target/pfs/rootcopy does not exist. + Do you want to create a new slave PFS? (yes|no) y + Creating PFS #6 succeeded! + [....] + # cpdup -vv -I /root/target/pfs/rootcopy/ /root/target/ + # cd /root/target/pfs/rootcopy/boot && cpdup . /root/target/boot # Fixing the configuration + +Our next step is to make all our slave PFS to master and wipe out rootcopy, which is temporary. + +Also we will create /usr/obj, /var/tmp and /var/crash PFSs. + + # hammer pfs-destroy /root/target/pfs/rootcopy/ + You have requested that PFS#6 () be destroyed + This will irrevocably destroy all data on this PFS!!!!! + [....] + # rm /root/target/pfs/rootcopy + + # hammer pfs-upgrade /root/target/pfs/usr + pfs-upgrade of PFS#3 () succeeded + # hammer pfs-upgrade /root/target/pfs/tmp + pfs-upgrade of PFS#2 () succeeded + # hammer pfs-upgrade /root/target/pfs/home + pfs-upgrade of PFS#4 () succeeded + # hammer pfs-upgrade /root/target/pfs/var + pfs-upgrade of PFS#1 () succeeded + # hammer pfs-master /root/target/pfs/var.tmp + Creating PFS #7 succeeded! + # hammer pfs-master /root/target/pfs/var.crash + Creating PFS #8 succeeded! + # hammer pfs-master /root/target/pfs/usr.obj + Creating PFS #9 succeeded! + +Finally fix your /etc/fstab to match your new slice entries! + + # Booting +Problems after the new installation. + +