SOLVED 9.10.2-U3 bhyve / iohyve not booting / reading iso

Status
Not open for further replies.

Dobbie

Dabbler
Joined
May 1, 2017
Messages
24
So I setup and tried to create a VM but it would appear like iohyve is not linking the iso to the VM. Below is what I've ran for commands and to provide some basic info. The basic specs for this system are;
CPU: i3-3220
Mobo: Asus P8B75-M/CSM
RAM: 16GB
HDDs: 3 x 3TB RaidZ

iohyve version
iohyve v0.7.7 2016/11/10 I Think I'll Go for a Walk Edition

iohyve setup pool=black kmod=1 net=re0

* Added the following to /conf/base/etc/rc.conf;
#bhyve enabling
iohyve_enable="YES"
iohyve_flags="kmod=1 net=re0 pool=black"

* Checking kernal mods;
kldstat|grep vm
34 1 0xffffffff821dc000 1b1421 vmm.ko
kldstat | grep nm
35 1 0xffffffff8238e000 2edb nmdm.ko

* Ensuring VT-x is enabled showing EPT and UG;
grep VT-x /var/run/dmesg.boot
VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID

iohyve fetchiso http://cdimage.debian.org/debian-cd/current/i386/iso-dvd/debian-8.8.0-i386-DVD-1.iso

iohyve renameiso debian-8.8.0-i386-DVD-1.iso deb.iso
iohyve create deb 10G
iohyve set deb ram=512M cpu=1 leader=grub-bhyve
iohyve install deb deb.iso

* open a new putty session to run console
iohyve console deb
Starting console on deb...
~~. to escape console [uses cu(1) for console]
Connected
* I hit enter and get a OK;
OK

* At this point I don't know what to do since every guide I've read / watched would have the VM booting into the install iso at this point. I don't want to but for the mean time I'm rolling a ESXI server to run my needs of VM that aren't working in FN 9.10.
 

Dobbie

Dabbler
Joined
May 1, 2017
Messages
24
Why on earth are you modifying system files?! Tunables exist for this very reason.

I also provide a video how-to guide in the resources section.

I tried that at first and it wasn't loading the kernel modules. I can edit it out and try the tunables again.

** Edit

Removed the edit from rc.conf, added the tunables in like before, rebooted and it loaded the modules this time. Still have the same issue though.
 
Last edited:

melbournemac

Dabbler
Joined
Jan 21, 2017
Messages
20
Hi - not sure if a typo in the post or on the command issued in iohyve

iohyve set deb ram=512M cpu=1 leader=grub-bhyve

"leader" should be "loader"

Also post the output for iohyve getall deb
 

Dobbie

Dabbler
Joined
May 1, 2017
Messages
24
Hi - not sure if a typo in the post or on the command issued in iohyve

iohyve set deb ram=512M cpu=1 leader=grub-bhyve

"leader" should be "loader"

Also post the output for iohyve getall deb
Thanks, good catch, that was a typo in the command. I found in the getall I had "leader" and "loader". I deleted that VM and recreated it and the console is show the install. Thanks for the your input. I first had an issue with the kernel modules not loading so I created and delete VMs so many times. I guess this serves as a good reminder to check getall to ensure all is the way it should be.
 
Status
Not open for further replies.
Top