DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th January 2010
gpatrick gpatrick is offline
Spam Deminer
 
Join Date: Nov 2009
Posts: 245
Default OpenBSD as host for VirtualBox

I was using OpenSolaris as a host, but am switching to FreeBSD as a host and then I wondered about OpenBSD. I've successfully ran OpenBSD as a guest in VirtualBox, but has anyone tried and/or succeeded running OpenBSD as a host for VirtualBox?
Reply With Quote
  #2   (View Single Post)  
Old 27th January 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

I believe OpenBSD only barely runs on VirtualBox as a guest.

The OpenBSD developers have little love for visualization in general and VirtualBox in particular. A quick search on these forums and/or the OpenBSD will give you more details on the subject.

I would not expect VirtualBox to run on OpenBSD in the next 10 years orso ... (And I'm being optimistic)
Reply With Quote
  #3   (View Single Post)  
Old 27th January 2010
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

@gpatrick

In OpenBSD land, you are limited to QEMU only (but with kqemu at least).
__________________
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
  #4   (View Single Post)  
Old 27th January 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

Warning: kqemu requires a uniprocessor kernel (GENERIC, rather than GENERIC.MP), and for -current users, must be synced -exactly- to the kernel in use, as it is a kernel module.

Qemu is not the only emulator, there are others, such as bochs and dosbox. Peruse emulators/* in the ports tree.
Reply With Quote
  #5   (View Single Post)  
Old 6th February 2010
tetrodozombie tetrodozombie is offline
Real Name: bill slusser
Banned
 
Join Date: Dec 2009
Location: atlanta, ga
Posts: 82
Default

I ran OpenBSD 4.5 on my Quad Core Mac Pro 266Ghz with VirtualBox. It didn't work right and I couldn't do things like download from the ports collection and there were just too many issues popping up like moles everywhere. I suggest you try a commercial version of VMWare's Fusion, which I also set up after the VirtualBox fiasco. This did work, but it was too slow and I mean on a computer with 4 cores running VMWare Fusion with OpenBSD, it was not worth installing anything from the ports collection at all. Simple things like installing Vim would take all day. If you go this route, I suggest using packages exclusively unless you like to waste time. And the, it'll still take too long. You're prolly better off getting a used laptop i386 or a second hand desktop system somewhere and installing OpenBSD on it.
Reply With Quote
  #6   (View Single Post)  
Old 6th February 2010
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

@tetrodozombie

Strange ... I used OpenBSD 4.6 under VirtualBox (with and without x11) and it worked like a charm (along with ports/packages downloading/installing).
__________________
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
  #7   (View Single Post)  
Old 6th February 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

This is as a -host-, not a -guest-, if I read the thread title properly
Reply With Quote
  #8   (View Single Post)  
Old 6th February 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

OpenBSD as a VirtualBox -guest- only works if the host supports the new Intel/AMD virtualization instructions.. but many of the developers have communicated their dislike for VirtualBox in either roles.
Reply With Quote
  #9   (View Single Post)  
Old 8th August 2011
kolaloka kolaloka is offline
New User
 
Join Date: Nov 2008
Posts: 8
Default OpenBSD runs both with and without the vm extension !

I would like to correct what BSDfan666 stated here. Officially, it seems so, but there if your processor does not support virtualization (as mine does not), you can successfully run OpenBSD or NetBSD in Virtualbox if you run it from command line like this:


$ VBoxSDL --norawr0 --startvm openbsd.img

for openbsd.img supply of course your VM name.
Don't believe? Try it yourself, I simulate my whole company network like this. :-D
Kolaloka
Reply With Quote
Old 8th August 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

There are several issues, Theo has posted a lengthily mail about VirtualBox trashing registers in userland causing subtle bugs.

http://marc.info/?l=openbsd-misc&m=120492689515501&w=2

It's still not a bright idea to use virtualization in a production environment, it's disgusting how many people do that these days.

Just use real hardware, not pseudo-hardware with a boat load of potential emulation bugs.. it's real simple.
Reply With Quote
Old 4th September 2011
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

Quote:
Originally Posted by BSDfan666 View Post
It's still not a bright idea to use virtualization in a production environment, it's disgusting how many people do that these days.

Just use real hardware, not pseudo-hardware with a boat load of potential emulation bugs.. it's real simple.
I can partly agree and partly disagree with that statement- when done properly, tested, and monitored for expected performance benchmarks, virtualization is financial windfall. But most internal IT departments will "mess around with virtualization", which loosely translates to slapping a hypervisor onto an inappropriate system (usually an old one).

VirtualBox is actually my application of choice when running virtualization on my Win7 desktops at home and work. It's just to mess around with, and is easy to configure and run.

It's true, you don't want to place production operations into an environment like that... but if you have an enterprise-grade virtualization installation, you can reap many rewards with few issues. However, I must stress, I likely wouldn't choose VirtualBox itself as the hypervisor platform for production hosting operations.
__________________
Network Firefighter
Reply With Quote
Old 8th May 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

If openbsd can run wine or virtualbox, i basically donot need to reboot to Windows/FreeBSD. Up to now, i know it is impossible for openbsd to run those two software.

Regards!
Reply With Quote
Old 8th May 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by sw2wolf View Post
If openbsd can run wine or virtualbox...
  • OpenBSD can no longer run wine.
  • OpenBSD cannot run VirtualBox as a host.
Reply With Quote
Old 8th May 2012
RalphEllis RalphEllis is offline
New User
 
Join Date: May 2012
Location: Toronto, Canada
Posts: 9
Default

If people need or want access to other operating systems for particular tasks, I find that the simplest and cheapest way is to to buy a usb external hard drive. Install the new OS to the usb hard drive and choose which OS you want to boot into from your Bios based boot menu. I run OpenBSD on a 300G usb hard drive. Windows 7 and OpenSuse are on the main hard drive in my system. I have a 1 Terabyte usb hard drive where I can put files that want any of the OS systems can access.
My Windows installation usually only sees the light of day when I want to do updates on my Samsung cell phone. OpenSuse handles most of the multimedia tasks that I do and OpenBSD is now my everyday desktop. Hardware is pretty cheap these days and it certainly gives people a speed jump over virtualization. The only virtual system that I have seen that does not consume a ton of resources is Solaris zones.
Reply With Quote
Old 8th May 2012
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by RalphEllis View Post
The only virtual system that I have seen that does not consume a ton of resources is Solaris zones.
The other one is FreeBSD Jails.
__________________
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 9th May 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

Quote:
Originally Posted by RalphEllis View Post
If people need or want access to other operating systems for particular tasks, I find that the simplest and cheapest way is to to buy a usb external hard drive.
It is a solution but not VERY convenient as virtualization. Now freebsd is my everyday desktop in which i use VBOX to run windows applications and wine to run some Games. The VBox is very fast !

In such a way I donot need to reboot to another OS. Is it hard technically for OB to run VBOX as host ?

Last edited by sw2wolf; 26th January 2013 at 06:17 AM.
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
FreeBSD 7.2 and VirtualBox DNAeon FreeBSD Ports and Packages 12 6th July 2009 02:33 PM
openBSD 4.5: success w/virtualbox 2.2.4 s2scott OpenBSD Installation and Upgrading 18 1st July 2009 02:45 PM
VirtualBox DrJ FreeBSD Ports and Packages 6 18th May 2009 03:46 AM
ssh/rdesktop into host behind NAT JMJ_coder General software and network 18 13th January 2009 08:19 PM
Print on remote WinXP from web host drhowarddrfine General software and network 5 13th October 2008 05:41 PM


All times are GMT. The time now is 11:38 AM.


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