24ecc Why would anyone want to run FreeBSD in a virtual machine? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Miscellaneous > Off-Topic

Off-Topic Have some non-FreeBSD related questions, or want just to chit-chat about anything that is not related to FreeBSD? This is the forum for you.

Reply
 
Thread Tools Display Modes
  #1  
Old August 3rd, 2012, 23:23
neilms's Avatar
neilms neilms is offline
Member
 
Join Date: Jun 2010
Location: Cydonia
Posts: 123
Thanks: 17
Thanked 2 Times in 2 Posts
Default Why would anyone want to run FreeBSD in a virtual machine?

From browsing the forum, it seems that a lot of people run their FreeBSD using Bochs, Virtualbox and similar software. I was just wondering why someone would want to do this, rather than install it on the 'bare metal'?

I would like to learn why people choose to do this.
Reply With Quote
  #2  
Old August 3rd, 2012, 23:55
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

I don't believe anyone is running it in Bochs. It's the slowest Virtual Machine
Reply With Quote
  #3  
Old August 4th, 2012, 00:12
joel@'s Avatar
joel@ joel@ is offline
Administrator
 
Join Date: Sep 2007
Location: Arentorp, Sweden
Posts: 240
Thanks: 2
Thanked 37 Times in 30 Posts
Default

Using VMware allows me to run several different (i386/amd64, 7/8/9/10) instances of FreeBSD on my Mac, which is what I primarily use for work. Using VMware also allows me to run a wide range of different operating systems at the same time on the same server, which is a much more efficient use of hardware resources. Not to mention all the great benefits you get with virtualization, like using templates for instant deployment of new servers, migration of running machines between physical servers without any downtime, high availability etc.
Reply With Quote
  #4  
Old August 4th, 2012, 00:49
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,713
Thanks: 432
Thanked 1,757 Times in 1,456 Posts
Default

Running FreeBSD in a VM on a notebook lets the native OS handle all the hardware and power management. It also makes both systems accessible at the same time.
Reply With Quote
  #5  
Old August 4th, 2012, 02:41
zhoopin zhoopin is offline
Junior Member
 
Join Date: Nov 2011
Posts: 60
Thanks: 5
Thanked 14 Times in 14 Posts
Default

It's better to ask "Why would anyone want to use virtual machine?"
The great concept from IBM CP-40(1967) till now. there's more resource out there on the web.
Personally, why I am using vms? Two thumbs up: ++(joel@) & ++(wblock@)
__________________
Zhoopin (ʒuːpiːn) - Meri - Mehrshad Moslehi
Reply With Quote
  #6  
Old August 4th, 2012, 06:10
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by wblock@ View Post
Running FreeBSD in a VM on a notebook lets the native OS handle all the hardware and power management.
+1. I'm considering going back to this arrangement myself on my notebook. Power management on Windows has, in my experience at least, been much better. I've also found that wireless performance has been more reliable on my X220 Thinkpad on Windows than with FreeBSD or Debian.

Another reason someone would run FreeBSD or Linux as a guest OS under Windows is to get access to a Unix-like operating environment without having to use something like cygwin. More to the point, some of the development tools I use only run on BSD/Linux/*nix operating systems, not on Windows - cygwin isn't an option in that case.
Reply With Quote
  #7  
Old August 4th, 2012, 15:28
tingo tingo is offline
Member
 
Join Date: Nov 2008
Location: Oslo, Norway
Posts: 825
Thanks: 134
Thanked 82 Times in 68 Posts
Default

In my case, it cuts down on the number of physical machines that I need to have around. I recently moved my Squeezebox server from a physical machine to a VirtualBox vm, and I have a few test machines also as VirtualBox vm's.
Of course, the VirtualBox host machine also runs FreeBSD.
Some things are hard to test in virtual machines, that is why I still have a number of physical machines in my apartment.

One last thing: my main workstation is a physical desktop machine, running FreeBSD.
__________________
Torfinn

Last edited by tingo; August 4th, 2012 at 15:29. Reason: added workstation info.
Reply With Quote
  #8  
Old August 4th, 2012, 19:46
neilms's Avatar
neilms neilms is offline
Member
 
Join Date: Jun 2010
Location: Cydonia
Posts: 123
Thanks: 17
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by tingo View Post
In my case, it cuts down on the number of physical machines that I need to have around. I recently moved my Squeezebox server from a physical machine to a VirtualBox vm, and I have a few test machines also as VirtualBox vm's.
Of course, the VirtualBox host machine also runs FreeBSD.
Some things are hard to test in virtual machines, that is why I still have a number of physical machines in my apartment.

One last thing: my main workstation is a physical desktop machine, running FreeBSD.
Is there a FreeBSD version of Squeezebox server? I thought linux and windows only were supported?
Reply With Quote
  #9  
Old August 5th, 2012, 02:24
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

Slimserver / Squeezebox server has been in ports for quite some time. The version there at present isn't completely up to date with Logitech Media Server but that may not matter to you. I have rarely kept pace with current, in recent years, and am not missing out on anything personally.

See audio/squeezeboxserver
Reply With Quote
  #10  
Old August 5th, 2012, 06:17
kr651129 kr651129 is offline
Member
 
Join Date: Feb 2012
Posts: 290
Thanks: 19
Thanked 3 Times in 3 Posts
Default

I run FreeBSD as my host OS and I also run FreeBSD in VirtualBox as a test bed when I try new things/tutorials that differ from person to person/shaky advice from unknown sources.
Reply With Quote
  #11  
Old August 6th, 2012, 03:04
FIlIPy65's Avatar
FIlIPy65 FIlIPy65 is offline
Junior Member
 
Join Date: Jun 2012
Location: João Pessoa, Paraíba, Brazil
Posts: 25
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kr651129 View Post
I run FreeBSD as my host OS and I also run FreeBSD in VirtualBox as a test bed when I try new things/tutorials that differ from person to person/shaky advice from unknown sources.
I'm acquiring some disk space to do the same. =)
Reply With Quote
  #12  
Old August 6th, 2012, 08:05
shitson's Avatar
shitson shitson is offline
Member
 
Join Date: Aug 2010
Location: Australia, Wollongong
Posts: 180
Thanks: 11
Thanked 32 Times in 26 Posts
Default

No one mentioned snapshots yet?
__________________
"Virtually everything worth doing has a learning curve associated with it", anomie.
Reply With Quote
  #13  
Old August 6th, 2012, 12:56
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,713
Thanks: 432
Thanked 1,757 Times in 1,456 Posts
Default

And immutable disk images, and differencing images.
Reply With Quote
  #14  
Old August 8th, 2012, 21:22
dalecosp dalecosp is offline
Junior Member
 
Join Date: Nov 2010
Location: Joplin, MO
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by neilms
Why would anyone want to run FreeBSD in a virtual machine?
A: Can you think of something better to run on it? </rimshot>

A: What better use of Windows 7 than to run FreeBSD? </buckshot>

But, seriously ... they gave me a Windows box. They don't want it reformatted. What am I to do?
__________________
Search before posting: google.com/search?q=searchterm * R.T.F(riendly!).M: freebsd.org/handbook *
Reply With Quote
  #15  
Old August 18th, 2012, 15:28
Pushrod's Avatar
Pushrod Pushrod is offline
Member
 
Join Date: Dec 2008
Posts: 257
Thanks: 5
Thanked 19 Times in 16 Posts
Default

Imaging and less physical hardware are probably the "best" reasons.
Reply With Quote
  #16  
Old August 18th, 2012, 16:25
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,192
Thanks: 59
Thanked 633 Times in 349 Posts
Default

Quote:
Originally Posted by dalecosp View Post
But, seriously ... they gave me a Windows box. They don't want it reformatted. What am I to do?
Create image of that hard drive, wipe the Windows, install Your OS, do the work.

When You will be asked to return it, restore that image and give it back.

I can not think of a situation, when someone FORCES me to use other OS then I want.

I do not go to the CEO office and say, get rid of that Macbook, from now on You work on Windows and I require the same thing.
__________________
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
http://vermaden.blogspot.com
Reply With Quote
  #17  
Old August 18th, 2012, 16:49
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by vermaden View Post
I can not think of a situation, when someone FORCES me to use other OS then I want.
I can think of dozens of my clients where you'd be forced to use their choice, not your choice, of OS. Many, if not most, medium to large corporations dictate IT policy to a degree where the OS and application software an employee may use is simply not up for debate. There may be some exceptions made for specific job descriptions or the anointed few.

Some organizations exercise sufficient control over their Windows installations that employees may not even install software on their own, meaning no VirtualBox and no FreeBSD under these oppressive regimes.

Free the computers!
Reply With Quote
  #18  
Old August 18th, 2012, 17:41
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,192
Thanks: 59
Thanked 633 Times in 349 Posts
Default

Quote:
Originally Posted by mwatkins View Post
I can think of dozens of my clients where you'd be forced to use their choice, not your choice, of OS. Many, if not most, medium to large corporations dictate IT policy to a degree where the OS and application software an employee may use is simply not up for debate. There may be some exceptions made for specific job descriptions or the anointed few.

Some organizations exercise sufficient control over their Windows installations that employees may not even install software on their own, meaning no VirtualBox and no FreeBSD under these oppressive regimes.

Free the computers!
I currently work for a corporation that has a lot more then 20 000 employees (I do not want to go into details) and I agree that random John Doe can (and in some cases should be) forced to use a standardized platform, that corporation has chosen.

But this is not the case for administrators. We need to get sh!t done and its our responsibility for what and how we use. Of course most of the administrators use Windows with several OSX exceptions (I also tired to use OSX for a year but failed to find it more productive then FreeBSD), some use Linux (Ubuntu or Fedora mostly) and I use FreeBSD. Before I joined that coporopation, there also was an OpenBSD maniac, but surprisingly, he used OSX for workstation
__________________
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
http://vermaden.blogspot.com
Reply With Quote
  #19  
Old August 18th, 2012, 18:27
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

vermaden, it is good to be one of the anointed few, isn't it?
Reply With Quote
  #20  
Old August 18th, 2012, 19:22
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,192
Thanks: 59
Thanked 633 Times in 349 Posts
Default

@mwatkins

What do You mean by that?
__________________
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
http://vermaden.blogspot.com
Reply With Quote
  #21  
Old August 18th, 2012, 23:54
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

vermaden, only that I'm glad your job puts you in the group of employees who get to circumvent rules made for most users. Freedom is nice.

Or maybe I meant that it is good to be one of the anointed few who enjoy FreeBSD.

Either way... dzień dobry!

(Sorry that's close to my limit for Polish; my mother speaks the language but I didn't learn much more than pass-the-potatoes, I-like-beer, thank-you, good-bye, good-night and of course good day. Oh and some swear words from the Polish raised kids on our old farm.)
Reply With Quote
  #22  
Old August 19th, 2012, 03:21
Pushrod's Avatar
Pushrod Pushrod is offline
Member
 
Join Date: Dec 2008
Posts: 257
Thanks: 5
Thanked 19 Times in 16 Posts
Default

I work at a company where people are free to use whatever software they wish. Much time is wasted by people using certain OSes (Linux primarily) and for some reason, it's tolerated.

I don't take issue with IT policies within organizations, when they are reasonable. Forcing the use of specific OSes falls within reason if you ask me. It simplifies supporting the systems, and keeps people using the same software when it counts (MS Word for example).
Reply With Quote
  #23  
Old August 19th, 2012, 11:42
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,192
Thanks: 59
Thanked 633 Times in 349 Posts
Default

Quote:
Originally Posted by mwatkins View Post
vermaden, only that I'm glad your job puts you in the group of employees who get to circumvent rules made for most users. Freedom is nice.

Or maybe I meant that it is good to be one of the anointed few who enjoy FreeBSD.
Ok

To be precise about FreeBSD, I am the only one who uses it. Others often confuse it with Linux which is very annoying, but I was charismatic enough to put several or more FreeBSD into the very important servers out there and they work great.

Quote:
Originally Posted by mwatkins View Post
Either way... dzień dobry!

(Sorry that's close to my limit for Polish; my mother speaks the language but I didn't learn much more than pass-the-potatoes, I-like-beer, thank-you, good-bye, good-night and of course good day. Oh and some swear words from the Polish raised kids on our old farm.)
Heh, dzień dobry mwatkins

Polish people often go to other countries (immigration) where life is not that fsckud up as in Poland or it is just more simple to do the living without being afraid that You run out of money for living. Good to know that Your mother found a new (for sure better) home.

Polish swears are great, I just them all the time and a lot of people here do, its one of our ways to cope with this fsckud up country

Tell You mom: Dobrze zrobilaś, ze opusciłas ten chory kraj, nie wracaj tutaj, nie ma do czego, jak brakuje rodziny to po prostu ją tam sciągnij.
__________________
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
http://vermaden.blogspot.com
Reply With Quote
  #24  
Old August 19th, 2012, 17:24
drhowarddrfine drhowarddrfine is offline
Member
 
Join Date: Nov 2008
Location: St. Louis, Missouri
Posts: 640
Thanks: 30
Thanked 124 Times in 72 Posts
Default

Quote:
Originally Posted by vermaden View Post
But this is not the case for administrators. We need to get sh!t done and its our responsibility for what and how we use.
So, too, said Dennis Ritchie as to why he immediately installed cygwin, at least, on any Windows computer anyone would give him.
Reply With Quote
  #25  
Old August 25th, 2012, 05:07
kr651129 kr651129 is offline
Member
 
Join Date: Feb 2012
Posts: 290
Thanks: 19
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by mwatkins View Post
Slimserver / Squeezebox server has been in ports for quite some time. The version there at present isn't completely up to date with Logitech Media Server but that may not matter to you. I have rarely kept pace with current, in recent years, and am not missing out on anything personally.

See audio/squeezeboxserver


does this have an HTML5 front end?
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
[Solved] which Virtual machine do I use in Linux to try FreeBSD? Shadowmeph Installing & Upgrading 28 March 22nd, 2011 16:12
Installing FreeBSD 2.2.9-RELEASE on a virtual machine ernie Installing & Upgrading 3 August 9th, 2010 06:01
FreeBSD 7.2 on Macbook 4, 1 Virtual Machine, finstall primatephreak Installing & Upgrading 5 June 26th, 2009 14:25
FreeBSD v4.11: Converting physical to virtual machine jamm62 General 1 February 12th, 2009 09:32
FreeBSD as a Virtual Machine Stra Installing & Upgrading 9 November 25th, 2008 17:23


All times are GMT +1. The time now is 16:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0