DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th June 2011
bashrules bashrules is offline
Port Guard
 
Join Date: Mar 2010
Location: Here
Posts: 16
Thanked 0 Times in 0 Posts
Post Virtualbox

Hi,

In the future, I'll often need to run several VMs. I don't have any experience with virtualization, yet. With this posting, I want to investigate if FreeBSD can be used for this.

FreeBSD would run as 64bit OS on a multicore AMD machine (which I haven't bought yet).

It looks like virtualbox is my only (reasonable) choice on FreeBSD.


- Does everything work out of the box, e.g. usb, sound, networking, drag and drop?

- What is the performance loss? Can I watch youtube videos on a somewhat modern computer?

- It is my limited understanding that virtual box can use VMWARE images as well. Is this correct?

- Can I create images from an installation iso with virtual box?

- Can I use virtualbox images under VMWARE as well?


Is there a reason why I shouldn't run Virtual box on FreeBSD?
Reply With Quote
  #2   (View Single Post)  
Old 5th June 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,140
Thanked 182 Times in 149 Posts
Default

Have you seen/read http://www.freebsd.org/doc/handbook/jails.html ? In many cases that is a suitable alternative to running VMs.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 5th June 2011
bashrules bashrules is offline
Port Guard
 
Join Date: Mar 2010
Location: Here
Posts: 16
Thanked 0 Times in 0 Posts
Default

Hello J65nko, I'm required to use windows (and perhaps linux) VMs. Unfortunately, this rules out jails.
Reply With Quote
  #4   (View Single Post)  
Old 6th June 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

usb passthrough won't work on VirtualBox on a FreeBSD host. video and sound will work fine. Not sure about drag and drop.

VirtualBox can use vmware vmdk images, bu vmware can't use VirtualBox VDI images. You can install to a disk image in virtualbox from an ISO.
Reply With Quote
  #5   (View Single Post)  
Old 6th June 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by adamk View Post
usb passthrough won't work on VirtualBox on a FreeBSD host.
From: http://wiki.freebsd.org/VirtualBox#head-6da12b755a43469f5f155f372201f5bdfe713c04

Quote:
USB support

This requires at least VirtualBox 4.0.0
... and just follow the rest of the instructions.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #6   (View Single Post)  
Old 6th June 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Hey, thanks for that vermaden! I never knew it was possible :-)

Adam
Reply With Quote
  #7   (View Single Post)  
Old 6th June 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Welcome mate.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #8   (View Single Post)  
Old 6th June 2011
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Thanked 0 Times in 0 Posts
Default

For FreeBSD if you want to run virtualbox-ose-4.0.8, netbeans-6.9.1 and anything else of 2011 you are force to use perl-5.12.3 and python27-2.7.1_1 and perl needs libutil.so.9 which comes in FBSD-9.0 .. so basically GNOME is being murderized and left behind with FBSD-8.2. So J65nko is right, jail is the only way or a darn good hack... Since we have no choices, I rather hack and I think I'm learning how to build a jail from ground up.

Heres a brand new manual and is very good. Fifteen chapters ... a page for BSD and the rest for Windows and LINUX, as usual. FreeBSD is building a new manual too.

http://www.virtualbox.org/manual/ch04.html#idp11332240
....
Reply With Quote
  #9   (View Single Post)  
Old 6th June 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by sharris View Post
For FreeBSD if you want to run virtualbox-ose-4.0.8, netbeans-6.9.1 and anything else of 2011 you are force to use perl-5.12.3 and python27-2.7.1_1 and perl needs libutil.so.9 (...)
That depends, You can always do 'things' like that to omit additional perl package:

Code:
~ % cd /var/db/pkg 
/var/db/pkg % ls -l | grep perl
drwxr-xr-x  2 root  wheel  10 2011.06.03 09:04 perl-5.10.1_3/
lrwxr-xr-x  1 root  wheel  13 2011.05.23 10:24 perl-5.12.3 -> perl-5.10.1_3
If You use STABLE, then packages are (re)build every 2 weeks, so new packages should be already available on the FTP.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 29th September 2011
raindog308 raindog308 is offline
Port Guard
 
Join Date: Sep 2011
Posts: 28
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bashrules View Post
It looks like virtualbox is my only (reasonable) choice on FreeBSD.
You could also investigate qemu.
Reply With Quote
Old 29th September 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Quote:
Originally Posted by raindog308 View Post
You could also investigate qemu.
He used 'reasonable' word
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 29th September 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
Default

I thought you liked qemu Vermaden? I remember you using it a lot anyway ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 29th September 2011
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

I was in FreeBSD 5.x and 6.x times when VirtualBox was not available on FreeBSD

I generally still like that project, its great when You need to *emulate* other architecture, but if you want to run x86 on x86, then its pointless to struggle with QEMU slowness.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Other VirtualBox 4.0.0 Beta 1 released vermaden News 2 7th December 2010 11:07 AM
VirtualBox late info sharris FreeBSD General 4 31st October 2010 09:15 PM
Virtualbox with Windows tetrodozombie OpenBSD General 2 15th August 2010 04:51 AM
FreeBSD 7.2 and VirtualBox DNAeon FreeBSD Ports and Packages 12 6th July 2009 02:33 PM
VirtualBox DrJ FreeBSD Ports and Packages 6 18th May 2009 03:46 AM


All times are GMT. The time now is 05:00 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick