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.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to