Another zroot install

I just converted another server from UFS to ZFS.

I used this script as my starting point.

I dropped to a shell as soon as I booted from the live CD.

Then I fetch my script:

fetch --no-verify-peer
mv 1MvhRXH

I didn’t run the script. I modified it to suite my new conditions. The install files were not available. I put and exit around line 84. Then I ran my script:

sh ./

I manually fetched the files:

cd /mnt/tmp

I ran sha256 on each of them and eyeballed the MANIFEST to see if they vaguely resembled the expected results.

Then I ran this:

export DESTDIR=/mnt
for file in base.txz kernel.txz doc.txz;
do (cat $file | tar --unlink -xpJf - -C ${DESTDIR:-/}); done

I then wanted to run the rest of my script, so I


Then I deleted everything before and including the “do the install” around line 84, because I’d just done everything up to that point.

Then I ran and rebooted.

All is well.

Website Pin Facebook Twitter Myspace Friendfeed Technorati Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top