From b7bb66ff25a6a19eac97340a8f5b662b8d7c6dde Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Sat, 8 Mar 2025 17:06:52 +0100 Subject: [PATCH] vault backup: 2025-03-08 17:06:52 --- ...ox server (Online.net) with root on ZFS.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) 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 15c46e4..d339f1d 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 @@ -24,12 +24,10 @@ Fetch a FreeBSD Installer ISO image: ```shell # cd /tmp -# wget https://download.freebsd.org/releases/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-amd64-bootonly.iso +# wget https://download.freebsd.org/releases/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-amd64-disc1.iso # wget https://download.freebsd.org/releases/ISO-IMAGES/14.2/CHECKSUM.SHA256-FreeBSD-14.2-RELEASE-amd64 -# sha256sum FreeBSD-14.2-RELEASE-amd64-bootonly.iso -d063e48b81b99005c8097e60377c23fb07e4116c5f0c0b41a5dc368fc4df6bf9 FreeBSD-14.2-RELEASE-amd64-bootonly.iso -# cat CHECKSUM.SHA256-FreeBSD-14.2-RELEASE-amd64 | grep FreeBSD-14.2-RELEASE-amd64-bootonly.iso -SHA256 (FreeBSD-14.2-RELEASE-amd64-bootonly.iso) = d063e48b81b99005c8097e60377c23fb07e4116c5f0c0b41a5dc368fc4df6bf9 +# sha256sum FreeBSD-14.2-RELEASE-amd64-disc1.iso +# cat CHECKSUM.SHA256-FreeBSD-14.2-RELEASE-amd64 | grep FreeBSD-14.2-RELEASE-amd64-disc1.iso ``` For the post-install network configuration stepĀ _(`/etc/rc.conf`)_, try to figure out now what is your NIC model ([Handbook: Locating the correct driver](https://www.freebsd.org/doc/handbook/config-network-setup.html)) @@ -40,19 +38,10 @@ 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 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 enp0s20 -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 +# qemu-system-x86_64 -hda /dev/sda -cdrom FreeBSD-14.2-RELEASE-amd64-bootonly.iso -net none -curses -boot d ``` Configure IPv4 static IP (as there is no DHCP server on the Linux host)