I'm trying to come up with a quick install of FreeBSD on a blank disk and have got so far:-
The system is installed, but it doesn't load. What am I missing?
I thought the
Code:
gpart show da0
gpart destroy -F da0
gpart create -s gpt da0
gpart add -t freebsd-boot -l gpboot -b 40 -s 512K da0
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0
gpart add -t freebsd-ufs -l gprootfs da0
mount /dev/da0p2 /mnt
cd /mnt
fetch -o - ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/11.1-RELEASE/base.txz | tar xSf - fetch -o - ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/11.1-RELEASE/kernel.txz | tar xSf -
The system is installed, but it doesn't load. What am I missing?
I thought the
gpart bootcode
would be sufficient..