iohyve: Install hangs when install ubuntu 15.10
Hi,
I’m on newly updated stable FreeNAS 9.10, and I’m trying to run ubuntu 15.10 server edition in a bhyve.
$ iohyve version
iohyve v0.7.3 2016/01/08 Bear in a Datacenter Edition
After some basic setup:
$ kldload vmm
$ kldload ndm
$ iohyve cpiso path/to/ubuntu-15.10-server-amd64.iso
$ iohyve setup pool=NAS
$ ln -s /mnt/iohyve /iohyve
I now have:
$ zfs list | grep -i iohyve
NAS/iohyve 622M 1.02T 96K /mnt/iohyve
NAS/iohyve/Firmware 96K 1.02T 96K /mnt/iohyve/Firmware
NAS/iohyve/ISO 621M 1.02T 621M /mnt/iohyve/ISO
NAS/iohyve/ISO/ubuntu-15.10-server-amd64.iso 96K 1.02T 96K /mnt/iohyve/ISO/ubuntu-15.10-server-amd64.iso
Then to create a guest:
$ iohyve create devbox 50G
$ iohyve set devbox loader=grub-bhyve os=debian ram=2048M cpu=2
$ iohyve getall devbox
Getting devbox props...
os debian
boot 0
ram 2048M
name devbox
cpu 2
loader grub-bhyve
tap tap0
con nmdm0
description Sun
bargs -A_-H_-P
autogrub \n
persist 1
size 50G
At this point, I try to run the install command, and it never exits:
$ iohyve install devbox ubuntu-15.10-server-amd64.iso
Installing devbox...
I can see some processes running, which never exit:
3785 0 S+ 0:00.01 /bin/sh /usr/local/sbin/iohyve install devbox ubuntu-15.10-server-amd64.iso
13829 0 R+ 0:10.83 grub-bhyve -m /iohyve/devbox/device.map -r cd0 -M 2048M ioh-devbox
Am I doing something wrong?
For comparison, if I use ubuntu-14.04-server-amd.iso, it seems to work.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 23 (12 by maintainers)
Well done! There would be no war in the world if all GitHub issues where opened with this verbosity. Thank you.
Above you used
kldload ndmwhen the command iskldload nmdm, might explain why the console is empty. Although it does sound like you are getting part way through the installer.I ran the same config as you mentioned above with success. Installed on a traditional partition scheme (no LVM), booted 2nd and 3rd time without issue. That said I did have to run
iohyve destroy devboxafter the installer finished and attempted to reboot. This deletes the VMM instance.Also there is a new version of iohyve, 0.7.5.