Re: moving from virtualbox to bhyve - SOLVED

2014-10-21 Thread John
On Tue, Oct 21, 2014 at 02:02:17PM +0100, John wrote:
 Hi,
 
 On Tue, Oct 21, 2014 at 05:11:07AM -0400, Cory Smelosky wrote:
  
  You can convert the image without data loss. Qemu-img and 
  VBoxManage provide a means to do as such.
 
 I know, I had already converted it to raw. The question was,
 how do I launch it, but after some experimentation and reading, 
 I *think* I may have sussed it out. So far, the instance boots
 and loads its services (it's a web server) but it's hanging halfway
 through the loading process, and I can't make it abort loading them
 with ctrl-c for example.

I was so busy waiting for the login screen from the console that I'd failed
to notice it *HAD* actually booted. I found this out by trying
to ssh to it for the hell of it. dmesg showed things were normal.
My console, though, looks like this: http://tinyurl.com/q4a3t4e
The ubuntu is 13.10 with security patches.

cheers
-- 
John 
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: moving from virtualbox to bhyve - SOLVED

2014-10-21 Thread John
On Tue, Oct 21, 2014 at 01:55:26PM -0700, Neel Natu wrote:

 If you are comfortable sharing your disk image then I can try to
 reproduce locally and hopefully get a better grip on what's happening.

That's very nice of you to offer, but I have to decline as I don't own
the data. I think I might have sorted it in any case. I was thrown by 
the login prompt not appearing in the console. 

Really pleased with the performance of ubuntu on bhyve. It doesn't impact
much on the host either. 
-- 
John 
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: moving from virtualbox to bhyve - SOLVED

2014-10-21 Thread Cory Smelosky

On Wed, 22 Oct 2014, John wrote:


with ctrl-c for example.


I was so busy waiting for the login screen from the console that I'd failed
to notice it *HAD* actually booted. I found this out by trying
to ssh to it for the hell of it. dmesg showed things were normal.
My console, though, looks like this: http://tinyurl.com/q4a3t4e
The ubuntu is 13.10 with security patches.



I am unsure as to what the console device should be for bhyve, but that's 
likely what your problem is.  Getty or systemd or whatever it is now is 
probably not launching a console on the correct device?



cheers



--
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: moving from virtualbox to bhyve - SOLVED

2014-10-21 Thread Manas
I have experienced something similar on a Gentoo guest. It boots fine but I 
don't get a login prompt at the end of the boot process. I am interested in 
learning a solution to this. I have a 14.04.1 Ubuntu guest‎ and a Debian guest 
(latest version) that work fine and present me with a login prompt.

Manas
On BlackBerry
  Original Message  
From: Cory Smelosky
Sent: Tuesday, October 21, 2014 8:21 PM
To: freebsd-virtualization@freebsd.org
Subject: Re: moving from virtualbox to bhyve - SOLVED

On Wed, 22 Oct 2014, John wrote:

 with ctrl-c for example.

 I was so busy waiting for the login screen from the console that I'd failed
 to notice it *HAD* actually booted. I found this out by trying
 to ssh to it for the hell of it. dmesg showed things were normal.
 My console, though, looks like this: http://tinyurl.com/q4a3t4e
 The ubuntu is 13.10 with security patches.


I am unsure as to what the console device should be for bhyve, but that's 
likely what your problem is. Getty or systemd or whatever it is now is 
probably not launching a console on the correct device?

 cheers


-- 
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org

Re: moving from virtualbox to bhyve - SOLVED

2014-10-21 Thread Peter Grehan

Hi John,


I was so busy waiting for the login screen from the console that I'd failed
to notice it *HAD* actually booted. I found this out by trying
to ssh to it for the hell of it. dmesg showed things were normal.
My console, though, looks like this: http://tinyurl.com/q4a3t4e
The ubuntu is 13.10 with security patches.


 I think what happened is that the grub config file was setting up 
Ubuntu for a graphical console on the original VBox VM.


 grub-bhyve will auto-insert a console=ttyS0 at the start of the 
kernel command-line, but any loater console= option will override this.


 You may have to edit your grub.conf and remove any console= options. 
There may be some additional steps that are required to enable a getty 
on the serial port - that tends to be distro-specific and I'm not sure 
what is required (if anything) for Ubuntu.


later,

Peter.
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org