I realize that I have asked a question that isn't artful. I'm trying to learn a bit more about how things work, so I may not have asked this correctly. Help me out. What I think I want to do is something along the lines of:
1. In a VM running 12.1 w/root on ZFS (or alternatively w/UFS)
2. Add a drive to the system and put a filesystem on it
3. Install just enough FreeBSD to the new drive to boot off it
How I'm thinking this might work is that no installer is involved and 1 is already running and 2 is straightforward, but 3 is where the work comes in. I have two scenarios in mind, one is to copy a bootloader file onto the bootsector of the drive and unpack the kernel and userland onto it (how do I boot it?), and the second is to put the bootloader where it belongs and then cross-compile basic programs (bash, cc, and so on) in some mysterious order so that the system is useable when I boot into it. Option two, seems uber-challenging, but option one seems challenging but doable.
What do y'all think? Has manual installs using the tarballs and bootloader stuff been written up somewhere?
1. In a VM running 12.1 w/root on ZFS (or alternatively w/UFS)
2. Add a drive to the system and put a filesystem on it
3. Install just enough FreeBSD to the new drive to boot off it
How I'm thinking this might work is that no installer is involved and 1 is already running and 2 is straightforward, but 3 is where the work comes in. I have two scenarios in mind, one is to copy a bootloader file onto the bootsector of the drive and unpack the kernel and userland onto it (how do I boot it?), and the second is to put the bootloader where it belongs and then cross-compile basic programs (bash, cc, and so on) in some mysterious order so that the system is useable when I boot into it. Option two, seems uber-challenging, but option one seems challenging but doable.
What do y'all think? Has manual installs using the tarballs and bootloader stuff been written up somewhere?