diff --git a/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md b/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md index 2b09240..8cfefe3 100644 --- a/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md +++ b/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md @@ -40,7 +40,7 @@ For the post-install network configuration step _(`/etc/rc.conf`)_, try to figu Subsystem: Intel Corporation Ethernet Connection I354 2.5 GbE Backplane ``` -Setup NAT +Setup NAT on the Linux host by creating a tap interface ``` ip tuntap add tap0 mode tap @@ -49,8 +49,27 @@ sysctl net.ipv4.ip_forward=1 iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE ``` +Start the FreeBSD installer through Qemu, attached to the physical server disk, with the curses UI: +``` +# 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 +``` -Original: +- 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: -https://loicpefferkorn.net/2015/10/freebsd-10.2-release-on-a-dedibox-xc-server-online.net-with-root-on-zfs/ \ No newline at end of file +``` +# /etc/rc.conf + +ifconfig_igb0="inet x.x.x.x netmask 255.255.255.0" +defaultrouter='x.x.x.x' + +# /etc/resolv.conf +nameserver x.x.x.x +``` + +## See also + +* https://loicpefferkorn.net/2015/10/freebsd-10.2-release-on-a-dedibox-xc-server-online.net-with-root-on-zfs/ +* https://wiki.qemu.org/Documentation/Networking \ No newline at end of file