5/31/2023 0 Comments Freebsd copy log# zpool create -f -o altroot=/mnt -O canmount=off -m none zroot /dev/gpt/disk0.nop # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 vtbd0 # gpart add -a 4k -t freebsd-zfs -l disk0 vtbd0 # gpart add -s 8g -a 4k -t freebsd-swap -l swap0 vtbd0 # gpart add -s 222 -a 4k -t freebsd-boot -l boot0 vtbd0 The original install was scripted, which saves me the trouble of copying the partitioning from the original machine. I format this disk exactly like the original server. The live CD can’t configure nf out of the box because the directory /tmp/bsdinstall_etc isn’t present and /etc/nf is a symlink to /tmp/bsdinstall_etc/nf. Log in as root (no password).įor FreeBSD 9.2 or earlier, take care of bug 168314. I provision a new virtual machine with exactly the same amount of disk, memory, and processor as the original.īoot the install disk. I also need a web server, to store a user’s SSH public key file. ![]() But if I have any errors, the first thing to try will be the correct installation media. (Could I use a different release? Perhaps. While we back it up regularly, having a “known good” base system with all the software installed, where we can restore the mail spools and account information, would be good.Īs it runs ZFS, let’s send the filesystems across the network to a blank machine.įirst I need an installation ISO for the same release and architecture of FreeBSD. We want to be able to restore it quickly and easily. The mail server is important to the company. My employer’s mail server runs DirectAdmin on FreeBSD, with ZFS.
0 Comments
Leave a Reply. |