FreeBSD 10 on Dedibox SC gen 2 or any remote server with a rescue shell

- freebsd dedibox

FreeBSD 10 is out and it’s time to replace your Linux boxes ![cheeky](http://k

SC gen 2 is a VIA U2250 with 2Gb memory.

Start the rescue shell in amd64 12.04 Ubuntu, connect to the box via SSH with the temporary password

sudo -s
cd /tmp
apt-get update
apt-get install qemu-kvm

sudo qemu-system-x86_64 -no-kvm -hda /dev/sda -cdrom ./FreeBSD-10.0-STABLE-
amd64-20140216-r261948-disc1.iso -net nic,model=e1000 -vnc :1,yourpassword
-boot d

This install qemu and run the FreeBSD installer from the downloaded CD.

Run a VNC client on your computer and connect to your dedibox ip, you should watch FreeBSD boot from the CDROM.

Complete a normal installation, at the end it will ask if you want to run a shell **answer is YES **and then type this to reinstall the bootloader.

If you are using UFS (default)

fdisk -B -b /boot/boot0 /dev/ada0

If you are using ZFS:

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0

Type exit and reboot to the normal mode.

Happy FreeBSD !

Further notes: