Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2016 18:49:33 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-virtualization@freebsd.org
Subject:   ubuntu 14.04 guest problem on freebsd 10 host
Message-ID:  <b78e7106-53d9-6708-d3ac-4f7554c93358@zyxst.net>

next in thread | raw e-mail | index | archive | help
Hello list,

I have a number of ubuntu guests on this freebsd host, and I start them 
more or less the same way, but with one of them, the login prompt never 
arrives. To restart, I do this:

1. (each of them runs in screen, so I resume the screen, and from 
elsewhere, I log in via ssh and run shutdown -r now as root. So in the 
screen now, the vm has exited and I'm now at the freebsd server prompt.)

2. bhyvectl --destroy --vm=ubuntu0

3. grub-bhyve -m device.map -r hd0,msdos1 -M 4096M ubuntu0

4. bhyve -AI -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap3 
-s 3:0,virtio-blk,./ubuntu0.img -l com1,stdio -c 2 -m 4096M ubuntu0

The VM gets as far as this:

  * Starting web server apache2 [OK]
  * Starting authentication failure monitor fail2ban [ OK ]

...and nothing else. web everything in the vm is working. I'm just not 
getting the login prompt.

How can I fix this?

Also is there a way of taking the VM image, mounting it on some 
mountpoint on the freebsd host and directly editing the files within it?

Alternatively, is there a way of making grub boot the image into 
single-user-mode like one can with freebsd?

Many thanks,
-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b78e7106-53d9-6708-d3ac-4f7554c93358>