LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   list of Virtualization software slackware 14.1 64 bit (official and non official)? (https://www.linuxquestions.org/questions/slackware-14/list-of-virtualization-software-slackware-14-1-64-bit-official-and-non-official-4175500846/)

rubankumars 04-07-2014 07:34 AM

list of Virtualization software slackware 14.1 64 bit (official and non official)?
 
I want to install os within slackware 14.1 64 bit.

What are the virtaulization softwares available for this purpose in slackware (full install) official?

And what are good softwares for virtualization?

Do full install of slackware has any software for virtualization?

Didier Spaier 04-07-2014 07:55 AM

Most people use VirtualBox or Qemu, see here.
There is also VmPlayer, which is not open source.

The kvm kernel modules shipped with Slackware allow near native speed in Qemu's VM.

PS See also this page in SlackDocs.

hitest 04-07-2014 07:57 AM

I use Virtualbox on Slackware64. It does the job for me.

PrinceCruise 04-07-2014 08:52 AM

Virtualbox FTW and Bob's your uncle.

Regards.

TobiSGD 04-07-2014 10:34 AM

Quote:

Originally Posted by rubankumars (Post 5148095)
I want to install os within slackware 14.1 64 bit.

What are the virtaulization softwares available for this purpose in slackware (full install) official?

And what are good softwares for virtualization?

Do full install of slackware has any software for virtualization?

A default install of Slackware does not come with virtualization software (besides the kvm kernel module needed for hardware virtualization support).
You can choose between several third party solutions, as already mentioned, like Virtualbox, VMware Player (or its bigger, but commercial, brother VMware Workstation) and Qemu. Which one to use is mostly depended on your needs.
For example, if you need as fast as possible 3D acceleration in the VM your best bet will be on of the VMware products, while Qemu does (currently) not support 3D acceleration. When you want to build virtual networks of several VMs then VMware Player is not the way to go, that will be easier with Virtualbox or Qemu.
I personally use (mostly) Qemu together with VirtManager (for easy creation and management of VMs over the network), but that is a whole bunch of software to compile (anything needed is present at Slackbuilds.org).
For small and easy projects possibly Virtualbox is the easiest way to go, if you use the installer form their website you don't even need to convert your system to multilib.

In any way, keep in mind that your CPU should support hardware virtualization to get reasonable speed from the OS in a VM.

AlleyTrotter 04-07-2014 10:38 AM

I've been using qemu /w kvm to run a single windowsXP vm to access my wife's bank account for a number of years with excellent success.
If you decide to go the libvirt route this domain file works quite good with virsh.

Code:

<domain type='kvm'>
  <name>baseXP</name>
  <uuid>270d943b-d5b6-47f5-b9f9-1f789cc7eab5</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-1.6'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/vm/baseXP'/>
      <target dev='hda' bus='ide'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='block' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/sr0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <interface type='user'>
      <mac address='52:54:00:99:73:d4'/>
      <model type='pcnet'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='sdl' display=':0.0' xauth='/home/john/.Xauthority'/>
    <sound model='es1370'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x03f0'/>
        <product id='0x5711'/>
      </source>
    </hostdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

Its pretty basic one item to note of interest may be the usb pass through of my Hp printer
Just my 2 cents
John

glorsplitz 04-07-2014 02:46 PM

+1 to PrinceCruise

tronayne 04-07-2014 04:09 PM

I've been using 64-bit VirtualBox for some years, happily. It currently has one virtual machine, 64-bit Win7, used for Stamps.com and Turbotax (oh, yeah, monthly Critical Updates).

It has had 32-bit Slackware, a brief installation of Ubuntu just to see what was what (took about a day to figure out Ubuntu was not welcome), an evaluation of Qimo for Kids (I'm a board member of the public library -- we did install it at all four branches for kids, they love it). Had XP, gone to the great byte bucket in the sky, good riddance.

I have always downloaded the *.run file from Sun and now Oracle (there is an OpenSource version and a SlackBuild from SalckBuilds.org for it). Never had any problem with installing VirtualBox with the "binary version" (you go to https://www.virtualbox.org/wiki/Downloads, get the Extension Pack for the current version, then click the link VirtualBox for Linux Hosts, All Distributions and AMD64).

Install by executing
Code:

sh VirtualBox-4.3.10-93012-Linux_amd64.run
That installs in /opt/VirtualBox by default.

Before you install any virtual machines, give some thought to where you're going to install them; the default is in your home directory. If you have a spare partition (or a second drive) it might be a good idea to chose to install your virtual machines there (keep in mind that you're installing a full-boat operating systems and it'll need disk space).

In my own environment, I set aside a 92 GB partition that is mounted to /var/lib/virtual for virtual machines and VirtualBox has no problem dealing with that. I would do this regardless of which virtual software you may chose (they pretty much all default to your home directory if I remember correctly).

In any even, when VirutalBox is installed, the manual is installed with it (in /opt/VirtualBox/UserManual.pdf) -- that contains instructions for installing the Extension Pack (you want that), installing an operating system and installing Guest Additions (you want those). The Guest Additions appear as a disk drive (in a Windows installation) and need to be installed from within the guest operating system of support of USB, graphcs and sound (plus some other handy-dandy stuff). The Extension Pack is installed once after VirtualBox is installed and covers all virtual machines you may create (the Guest Additions are installed in each virtual machine).

Anyway, I don't have problems with VirutalBox, it works.

Hope this helps some.

brianL 04-08-2014 04:43 AM

VirtualBox is OK for x86 and x86_64 VMs, qemu for other architectures such as ARM.

digimaus 04-08-2014 06:43 PM

I use VMware Player 6.01 quite nicely under Slackware 64 14.1. I used VMware's migration tool and converted the Windows 7 Professional installation I had on this system for college (I recently graduated) and the tool turned it into a virtual machine for VMware. No real problems here so far but then again, I haven't tried to install VMware Tools. :)

--D

rubankumars 04-08-2014 07:17 PM

Thanks I am trying qemu now.Can you please tell me what -cdrom option and -hda option in
the following command means:
Quote:

qemu -m 256 -hda winxp.img -cdrom /dev/cdrom -boot d

genss 04-08-2014 08:57 PM

Quote:

Originally Posted by rubankumars (Post 5149093)
Thanks I am trying qemu now.Can you please tell me what -cdrom option and -hda option in
the following command means:

try
man qemu


-hda file
-hdb file
-hdc file
-hdd file
Use file as hard disk 0, 1, 2 or 3 image.

-cdrom file
Use file as CD-ROM image (you cannot use -hdc and -cdrom at the same time). You can use the host CD-ROM by using
/dev/cdrom as filename.


there is also aqemu as a gui for qemu


All times are GMT -5. The time now is 04:07 PM.