Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2018 10:32:42 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-virtualization@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: bhyve and freebsd memstick installer
Message-ID:  <201807061732.w66HWgJF053394@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <7fdf88da-7692-8cfa-a42b-19314866977d@zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807061732.w66HWgJF053394>