LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-07-2014, 07:34 AM   #1
rubankumars
Member
 
Registered: Oct 2010
Distribution: Slackware 14.1,debian 7
Posts: 111

Rep: Reputation: 11
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?
 
Old 04-07-2014, 07:55 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,391

Rep: Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091Reputation: 1091
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.

Last edited by Didier Spaier; 04-07-2014 at 08:59 AM.
 
Old 04-07-2014, 07:57 AM   #3
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,195

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
I use Virtualbox on Slackware64. It does the job for me.
 
Old 04-07-2014, 08:52 AM   #4
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 774

Rep: Reputation: Disabled
Virtualbox FTW and Bob's your uncle.

Regards.
 
Old 04-07-2014, 10:34 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047
Quote:
Originally Posted by rubankumars View Post
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.
 
Old 04-07-2014, 10:38 AM   #6
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.17.1) UEFI enabled
Posts: 351

Rep: Reputation: 71
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
 
1 members found this post helpful.
Old 04-07-2014, 02:46 PM   #7
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 253

Rep: Reputation: 27
+1 to PrinceCruise
 
Old 04-07-2014, 04:09 PM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,080

Rep: Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797
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.

Last edited by tronayne; 04-08-2014 at 07:55 AM.
 
Old 04-08-2014, 04:43 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,044
Blog Entries: 52

Rep: Reputation: Disabled
VirtualBox is OK for x86 and x86_64 VMs, qemu for other architectures such as ARM.
 
Old 04-08-2014, 06:43 PM   #10
digimaus
LQ Newbie
 
Registered: Nov 2009
Location: NE Tennessee, USA
Distribution: Slackware 14.1, Crunchbang 11
Posts: 4

Rep: Reputation: 0
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
 
Old 04-08-2014, 07:17 PM   #11
rubankumars
Member
 
Registered: Oct 2010
Distribution: Slackware 14.1,debian 7
Posts: 111

Original Poster
Rep: Reputation: 11
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
 
Old 04-08-2014, 08:57 PM   #12
genss
Member
 
Registered: Nov 2013
Posts: 250

Rep: Reputation: Disabled
Quote:
Originally Posted by rubankumars View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Dream Studio (64-bit) 11.04 Official Release LXer Syndicated Linux News 0 09-16-2011 09:40 AM
Where to find official list of Linux distribution. blackafterdark Linux - Newbie 6 08-09-2010 09:48 AM
Getting a list of packages in the official RHEL repositories aoverbury Red Hat 0 01-09-2008 11:35 PM
Installing Mandriva 2007 Official PP on New 64 bit Labtop mr805newbie Mandriva 6 12-23-2006 11:12 PM
List of official Debian repositories - where? Sslaxx Debian 7 11-18-2004 03:29 PM


All times are GMT -5. The time now is 04:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration