vault backup: 2025-03-08 16:56:29

This commit is contained in:
Jerry Jacobs 2025-03-08 16:56:29 +01:00
parent a8c6a41d72
commit 15d6ef9b6a
1 changed files with 8 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Setup NAT on the Linux host by creating a tap interface
ip tuntap add tap0 mode tap
ip addr add 192.168.100.1/24 dev tap0
sysctl net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
iptables -t nat -A POSTROUTING -o enp0s20 -j MASQUERADE
```
Start the FreeBSD installer through Qemu, attached to the physical server disk, with the curses UI:
@ -55,6 +55,13 @@ Start the FreeBSD installer through Qemu, attached to the physical server disk,
# qemu-system-x86_64 -hda /dev/sda -cdrom FreeBSD-14.2-RELEASE-amd64-bootonly.iso -netdev tap,id=nd0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=nd0 -curses -boot d
```
Configure IPv4 static IP (as there is no DHCP server on the Linux host)
- IP Address: `192.168.100.2`
- Subnet Mask: `255.255.255.0`
- default router: `192.168.100.1`
- IPv4 DNS #1: `8.8.8.8` ([Googles public DNS](https://developers.google.com/speed/public-dns), you can check yours in `/etc/resolv.conf`)
Then
- On the **partitioning** dialog, choose **Auto (ZFS) Guided Root-on-ZFS**
- Follow installer up to the end, and when asked for **Manual Configuration**, choose **yes** to open a shell before exiting the installer.
- Configure the network, modify the files accordingly to your network setup/nic driver: