hello ovinet - i boot on usb drives exclusively. my system is a lenovo t530. my bios settings will likely differ from yours, but you might get some additional insight:
in bios i have: bios -> config -> usb
- “usb uefi bios support” : enabled
- “always on usb” " enabled
- “usb 3.0 mode”: auto
then for bios -> security -> secure boot
next for bios -> startup
- “uefi/legacy boot” : both
- “uefi/legacy boot priority”: uefi first
getting started with usb booting, i had to do this:
- download the iso (example trident.iso)
- prepare a usb “stick” drive that i will use to install trident:
- insert the stick into a working bsd system
- check dmesg to determine the device id for that stick (usually da0, but may be different on your system.) you must know the correct device id for the usb “stick”
- prepare the usb “stick”. make sure you have the correct device id!
gpart destroy -F da0
gpart create -s GPT da0
gpart add -t freebsd da0
now, copy the downloaded iso as follows:
dd if=trident.iso of=/dev/da0 bs=4m
the dd command will do a byte for byte copy of the iso onto the usb “stick”. note that this command only copies the exact iso, which may be a different, smaller size than the usb “stick”. if you do a
gpart show da0 command immediately, the
gpart command will complain that the partition is corrupt. it is not corrupt.
gpart by default puts a copy of the partition table in the last sector of the physical device, which will likely be different from the size of the iso you just copied onto the usb “stick”. since it can’t find that copy at the end of the iso file, it thinks it is not there. don’t worry about it.
you now can use the usb “stick” drive to boot the trident os. in my case i use another usb drive - a 500gb hard drive - as my root disk (i’ll call this usb “hdd”).
For an initial (bare metal) install, i have to select F12 to enter the boot menu and select the usb “stick” drive, not the usb “hdd”.
once i boot up, and begin the installation, i will see the usb “hdd” on the screen for disk selection. i select to use the entire disk for the install. i let the install complete and power down the system once it is finished. i then remove the usb “stick” drive, leaving the udb “hdd” plugged in. this will be my root drive.
i power back up, and normally, my system will recognize the usb “hdd” as a bootable root drive and boot trident.
hope this helps!