If you have a fresh new server, it is quite easy to get into a FreeBSD rescue system, here are the steps:
If you are using a newer dedicated server that supports booting from UEFI, you can create an UEFI partition for booting and install and actually do a complete FreeBSD installation from the Linux rescue system.
More advanced users can setup grub to boot FreeBSD from ZFS, but there are many limitations to supported pool features and the user may require two ZFS pools. I personally recommend sticking to the FreeBSD boot loader.
reference material:
- boot the Linux rescue system
- download a recent mfsBSD image (.img not .iso)
wget https://mfsbsd.vx.sk/files/images/13/amd64/mfsbsd-13.1-RELEASE-amd64.img - write the image to the first drive
- if it is a SATA or SAS drive
dd if=mfsbsd-13.1-RELEASE-amd64.img of=/dev/sda bs=1m - if it is a NVMe drive
dd if=mfsbsd-13.1-RELEASE-amd64.img of=/dev/nvme0n1 bs=1m
- if it is a SATA or SAS drive
- reboot the system
- now you can login via SSH with the password “mfsroot”
- if you want a secure password or an authorized key, you need to build your own mfsBSD image
If you are using a newer dedicated server that supports booting from UEFI, you can create an UEFI partition for booting and install and actually do a complete FreeBSD installation from the Linux rescue system.
More advanced users can setup grub to boot FreeBSD from ZFS, but there are many limitations to supported pool features and the user may require two ZFS pools. I personally recommend sticking to the FreeBSD boot loader.
reference material: