2.2 KiB
2.2 KiB
Online.net account
On your Online.net account via console.online.net, go to:
- “Server” dropdown menu, then “Servers list”.
- Click on “Manage” on the right.
- “Rescue” button.
- As operating system select “Ubuntu 20.04 amd64”.
- Then start the operation, you server will boot on the Ubuntu live CD.
Dedibox server
- Log in the rescue live system through ssh with the provided ip/credentials.
- The provided Ubuntu version is outdated (Ubuntu Saucy), so the apt repositories have to be modified before Qemu could be installed:
$ sudo -s
# apt update
# apt install qemu-kvm
Fetch a FreeBSD Installer ISO image:
# cd /tmp
# 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-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)
# lspci -v | grep Ethernet
00:14.0 Ethernet controller: Intel Corporation Ethernet Connection I354 2.5 GbE Backplane (rev 03)
Subsystem: Intel Corporation Ethernet Connection I354 2.5 GbE Backplane
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-disc1.iso -net none -curses -boot d
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:
# /etc/rc.conf
ifconfig_igb0="DHCP"