bhyve and freebsd memstick installer
Rodney W. Grimes
freebsd-rwg at pdx.rh.CN85.dnsmgr.net
Fri Jul 6 17:32:45 UTC 2018
> Hello,
>
> context: freebsd-12-current server, amd64
>
> I usually install a freebsd guest like this:
>
> sh /usr/share/examples/bhyve/vmrun.sh -c 2 -m 4096M -t tap0 -d guest.img
> -i -I FreeBSD-installation-dvd1.iso guestname
>
> I only have memstick.img - how do I either:
>
> 1. convert the memstick to dvd1.iso
> 2. make bhyve use the memstick installation iso (I don't think it can do
> this as the option to do so isn't in vmrun.sh)
Untested, but since memstick is actually a "disk" image and not
a "cdrom" image you should be able to do something like
vmrun.sh -c 2 -m 4096M -t tap0 -d memstick.img -d guest.img guestname
Your memstick should show up as ada0,
and your guest.img should be ada1.
--
Rod Grimes rgrimes at freebsd.org
More information about the freebsd-virtualization
mailing list