|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD in virtualized environment
Hello to all,
I am new on this forum and to OpenBSD. After spending some time on the openbsd.org website, and reading other material, I would like to start experimenting with openbsd. I am currently running ubuntu 14.04 on an Acer S3 series laptop. I would like to install vmware on this machine and install openbsd on it, before I do a permanent install. What I really want to know is, if running openbsd in a virtual environment is a good way to test for hardware compatibility (e.g. processor, wlan, graphics, etc...)l? Are there any pitfalls of learning openbsd in a virtual environment VS doing a direct install? Any information would be greatly appreciated. |
|
|||
At this moment I have a HP Proliant server with Linux Mint 17 (Xfce) and I am playing with KVM.
I never used Vmware, but KVM emulates, or whatever you want to call, for example a Cirrus Logic VGA adapter which does not exist natively on the HP host. So with my limited experience it does not look like a virtualized environment is a good way to test hardware compatibility. For getting acquainted with OpenBSD and the way it does things it seems to be a good environment. You can make snapshots and clone a host before you start modifying the configuration, so you always can go back to a working system when you happen to mess it up beyond repair A few days ago I installed an OpenBSD amd64-current snapshot, X Window worked out of the box. So I installed firefox 33 and I could even watch youtube movies. Although without sound because the HP box does not have any sound capabilities. If you want to use it to experiment, go for it
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump Last edited by J65nko; 11th November 2014 at 05:21 AM. Reason: typo ;) |
|
|||
I run OpenBSD in several KVMs (by which I mean, at several hosting providers). In fact just set one up tonight :-)
FYI, some settings I use: - Intel/AMD CPU for the CPU Model (instead of qemu) - VIRTIO for Ethernet - VIRTIO for Hard Drive - APIC off (get a kernel panic on boot in 5.6 if this is on) - ACPI on - PAE on |
|
|||
Thanks everyone for your input. I will try to see if I can find a manual or tutorial for kvm.
|
|
|||
To test hardware compatibility you could install OpenBSD on an USB stick. See http://www.openbsd.org/faq/faq14.html#flashmemLive
For KVM docs see https://help.ubuntu.com/community/KVM
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
thanks for the info.
Last edited by jjstorm; 12th November 2014 at 05:07 AM. |
|
|||
As an addendum, I checked and some of the KVM instances I run have both ACPI and APIC turned off. If you run into boot issues, turning both off is a good place to start.
(PAE is usually irrelevant since my OpenBSD VMs are small.) |
|
|||
I have successfully installed Openbsd 5.6 release in a virtual environment and using virtual machine manager. I am interested in creating a clone of the image as I progress just in case i muck the original install up, but I have some questions.
What is the difference between sharing an existing image with both new and original machine, and cloning, which creates a new independent copy of the original disk? I am concerned because the HD in this laptop is not that large. thanks in advance. Last edited by jjstorm; 23rd November 2014 at 10:49 PM. |
|
|||
Because I have disk space enough, I only have used cloning. I have no idea how sharing would protect you from messing up a cloned install. Maybe some disk snapshot feature?
If you want to save disk space you could compress the original image with xz. Code:
# ls -lh total 149G -rw------- 1 root root 20G nov 15 05:47 FreeBSD-10.1-release.img -rw------- 1 root root 8,1G nov 7 05:11 FreeBSD-amd64-9.3-clone.img -rw------- 1 root root 8,0G nov 12 01:18 FreeBSD-amd64-9.3.img -rw------- 1 root root 8,0G nov 12 07:52 NetBSD-6.1.5.img -rw------- 1 root root 8,0G nov 18 03:27 OBSD-linuxtype-current-nov-3.img -rw------- 1 root root 10G nov 22 02:20 OpenBSD56-current.img -rw------- 1 root root 15G nov 22 02:26 OpenBSD56-current-nov18a.img -rw------- 1 root root 152M nov 20 00:30 OpenBSD56-current-nov18a.img.xz -rw------- 1 root root 15G nov 19 05:40 OpenBSD56-current-nov18.img -rw------- 1 root root 4,0G nov 15 23:41 OpenBSD-current-nov11.img -rw------- 1 root root 16G nov 16 02:32 OpenBSD-current-nov15.img -rw------- 1 root root 12G nov 19 05:33 OpenBSD-current-nov17.img -rw------- 1 root root 8,0G nov 22 04:24 OpenBSD-current-nov-3.img -rw------- 1 root root 15G nov 21 04:58 OpenBSD-release-5.6.img -rw------- 1 libvirt-qemu kvm 20G nov 24 01:01 OpenBSD-test.img
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
If your version of Virtual Machine Manager does not provide a method to make a snapshot of the VM disk image, you could check if you have virsh installed. I did not play with it yet, but the man page for virsh(1) explains how to create such a snapshot.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
|
|
|||
looks like I do have virsh installed. I will check it out, thanks.
|
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create a partition for OpenBSD in a multi-boot OS environment | cravuhaw2C | OpenBSD Installation and Upgrading | 9 | 14th July 2014 09:16 AM |
Simple Desktop Environment for OpenBSD 5.4 | shep | Guides | 4 | 27th January 2014 06:47 PM |
Xfce 4.8.0 desktop environment released | J65nko | News | 4 | 18th January 2011 05:23 PM |
I. Treating 'iso-itis' in an OpenBSD environment with USBmediazine® | J65nko | Guides | 3 | 31st July 2008 01:51 AM |
How to duplicate an installed Operating Environment | dk_netsvil | General software and network | 0 | 22nd July 2008 03:01 PM |