LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2010, 01:28 PM   #1
Manish87
Member
 
Registered: May 2010
Posts: 116

Rep: Reputation: 18
How To set up an virtual box?


Hey,

i am new to linux,its been a month since i have started using it, neways my question is on how i could run virtual box(xp sp2) under my fedora12? i am using a desktop computer with 1 gb memory!!






Kind Regards,
Manish
 
Old 06-29-2010, 01:42 PM   #2
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
There are a lot of options. On a desktop system using a modern CPU with virtualization extensions, I'd suggest qemu/kvm for this. Look in the repository of your distribution for packages
 
Old 06-29-2010, 01:49 PM   #3
Manish87
Member
 
Registered: May 2010
Posts: 116

Original Poster
Rep: Reputation: 18
Hey,

thanx for the reply

But how caan i install the virual box? any software? i guess we can do it through vmware




Kind Regards,
Manish
 
Old 06-29-2010, 01:58 PM   #4
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Uhm, as I said, I would suggest qemu with kvm -- but of course, you can also use vmware, if you prefer that. qemu/kvm has the "advantage" of being open source, though.

If you don't want to call it all at the command line, there are some GUI management tools, look for example here: http://qemu-buch.de/de/index.php/QEM...r_QEMU_und_KVM -- but I can't share any experience cause i'm using qemu directly from the commandline

edit: sorry, just realised the link was leading to a GERMAN page ... here's something in english: http://www.linux-kvm.org/page/Management_Tools

Last edited by zirias; 06-29-2010 at 02:00 PM. Reason: common language FAIL
 
Old 06-29-2010, 02:22 PM   #5
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
I think the OP is referring to VirtualBox. It doesn't require VT-x or AMD-V extensions, but it's much, much faster with them (most of the time). You should be able to find it in Fedora's repositories. Just do a yum install virtualbox-ose (or whatever the command is for installing software under Fedora), or use the graphical Add/Remove Software tool, whichever is easier.

Hope this helps...

Last edited by MrCode; 06-29-2010 at 02:23 PM.
 
Old 06-29-2010, 02:50 PM   #6
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Quote:
Originally Posted by MrCode View Post
I think the OP is referring to VirtualBox.
IBTD, cause he also mentioned vmware

But, as I said before, there are lots of options for virtual machines now. VirtualBox is a nice one, too, using it on win7-64 for accessing my encrypted LVM from windows
 
Old 06-29-2010, 03:29 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,500

Rep: Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413
I tend to like VMwares VMplayer but Oracle's virtualbox is good. See the web sites for the downloads. I use qemu a lot but I am not sure I'd suggest it to a newbie but most linux distro's have a gui to make it pretty simple.


As above a fully supported hardware really makes it work almost as fast as dual boot. It some tests even faster. It is really a safe and easy way to try new OS's.
 
Old 06-30-2010, 12:46 AM   #8
digsecurity
Member
 
Registered: Apr 2010
Posts: 54

Rep: Reputation: 18
This may help: http://share4a11.blogspot.com/p/virt...ualbox-in.html
 
Old 07-01-2010, 09:50 AM   #9
Manish87
Member
 
Registered: May 2010
Posts: 116

Original Poster
Rep: Reputation: 18
Hi,

Thanks For the Reply guys,Really appricated it!! Bythe way i saw a youtube of ORACLE VM VIRTUAL BOX,it looks really great and would like to install it on my fedora!! anyone out there who has an idea of on how to install it?





Kind Regards,
Manish
 
Old 07-01-2010, 10:20 AM   #10
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
should be doable by executing

sudo yum install virtualbox-ose
in the commandline, or use the appropriate GUI package software to find and install it.

you can also visit virtualbox.org and follow the instructions there how to get the PUEL version of virtualbox instead of the OSE version, but for the beginning the OSE version is more than enough.
 
Old 07-01-2010, 11:49 AM   #11
Manish87
Member
 
Registered: May 2010
Posts: 116

Original Poster
Rep: Reputation: 18
Hi,

Thanks for the reply!! i installed the virtual box 3.2 on my fedora12

Source:
http://resa.linux-hardcore.com/?p=523


Output:

Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 44 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 44 M
VirtualBox-3.2-3.2.6_63112_fedora12-1.i686.rpm | 44 MB 13:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : VirtualBox-3.2-3.2.6_63112_fedora12-1.i686 1/1

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.


Success!

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

Installed:
VirtualBox-3.2.i686 0:3.2.6_63112_fedora12-1






"WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/."----- will this effect the working of the virtual box??





Kind Regards,
Manish
 
Old 07-01-2010, 12:40 PM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by rsciw View Post
but for the beginning the OSE version is more than enough.
Unless you want to attach any USB devices to the VirtualBox VM -- they are supported in the PUEL version but not the OSE version.
 
Old 07-01-2010, 04:26 PM   #13
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Quote:
Originally Posted by Manish87 View Post
"WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/."----- will this effect the working of the virtual box??
No. It's a warning. This means the CURRENT version of modutils installed on your box will still read the configfile /etc/modprobe.conf, but some future version will probably stop doing so. If this configfile was created by the virtualbox package, this package won't work any more with some FUTURE version of modutils. But i guess you can expect a newer virtualbox package by then, too.
 
Old 07-02-2010, 12:19 AM   #14
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Don't forget to add your normal user to the vboxusers group
Code:
usermod -a -G vboxusers hanzerik
 
Old 07-02-2010, 12:27 AM   #15
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
A down and dirty script to create a VM with bridged networking using eth0, and a 15Gig virtual drive. I use ISO images whenever creating Virtual machines, so the line for the ISO image being mounted will be different if you use a CDRom.
Code:
VBoxManage createvm --name "WinXP" --register
VBoxManage modifyvm "WinXP" --memory 256 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0
VBoxManage createhd --filename WinXP.vdi --size 15000 --register
VBoxManage storagectl "WinXP" --name "IDE Controller" --add ide
VBoxManage storageattach "WinXP" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium WinXP.vdi
VBoxManage storageattach "WinXP" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /home/hanzerik/WinXP.iso
I use this method for creating them on a headless server because I don't have anything hooked up to it other then a power and lan cable. If you are on a desktop, I would suggest you use the VBox GUI.
 
  


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
unable to auto mount 'shared folder' iin Suse 11.2 virtual machine using Virtual Box marvinudy Linux - Virtualization and Cloud 1 02-03-2010 02:29 PM
Virtual Box Fukumatsu Linux - Newbie 3 02-14-2009 11:46 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
virtual box alf_frommars Ubuntu 6 08-14-2007 08:30 AM
Virtual Box. Removing a shared folder inside virtual xp. glore2002 Linux - Software 2 05-20-2007 11:12 AM


All times are GMT -5. The time now is 09:18 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration