[APPLICATION] Usage of Virtualbox?
I have installed Virtualbox in my computer which is using Ubuntu 9.10.
But I have no idea how to apply it.
Can anyone help me?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello Lawrence,
Virtualbox is pretty easy to use and every thing is enough explained on screen.
Start "Virtualbox OSE" in menu "Application" > "Accessories".
To create a new virtual machine, click on button "New" or menu "Machine" > "New".
The steps after that are well explained I think. Once the machine is created, it will be listed on the main window. You can create more than one.
To install any supported operating system in your newly created machine, edit its settings and on the right of the settings windows click on"CD/DVD Rom". There you may mount your drive or an .iso image.
Ok, lets assume you mounted the CD drive. Now, insert your CD (of Ubuntu, Windows or whatever you selected when you created the machine) and start the machine.
A new window will show up. It's your virtual machine. You can proceed and install the operating system like you do on a normal real computer.
Cheers,
Revision history for this message
|
#2 |
But there isn't even a "Virtualbox OSE" for me to choose in "Accessories".
Do you know why?
Revision history for this message
|
#3 |
How did you install virtualbox ? from the ubuntu repository ?
Revision history for this message
|
#4 |
No, from it's website. I downloaded it first.
Revision history for this message
|
#5 |
Okkkkk
That's not the OSE (OpenSource Edition). My bad, i should had asked before.
The link is in menu "Applications" > "System Tools" > "Sun xVM VirtualBox".
If you don't see "System Tools" under menu Application, then log out and log in and it will be there.
Revision history for this message
|
#6 |
There was such a link right after I reboot the system after the installation. But an error message poped out saying that it couldn't be able to connect to the server or something, then it said it was terminated.
After that, I never saw it again, no matter how many times I reboot the computer.
Revision history for this message
|
#7 |
all you have to do is run:
sudo apt-get update; sudo apt-get install virtualbox-ose; usermod -G vboxusers -a $USER
Then log off and on.
You can use the link in the menu "Applications" > "System Tools" > "Sun xVM VirtualBox".
You will need a windows license code to install windows and the installer will think it is using native hardware.
Revision history for this message
|
#8 |
I have done what you asked.
I think it's done installing, but I still have no idea how to apply it.
Can anyone tell me how to?
And here is the result:
lawrence@
Hit http://
Ign http://
Hit http://
Get: 1 http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get: 2 http://
Get: 3 http://
Hit http://
Hit http://
Hit http://
Get: 4 http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 140kB in 3s (40.0kB/s)
Reading package lists... Done
lawrence@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dkms fakeroot libaudio2 libqt4-dbus libqt4-designer libqt4-network
libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml
libqtcore4 libqtgui4 patch qt4-qtconfig virtualbox-
Suggested packages:
nas libqt4-dev diff-doc bridge-utils
The following NEW packages will be installed
dkms fakeroot libaudio2 libqt4-dbus libqt4-designer libqt4-network
libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml
libqtcore4 libqtgui4 patch qt4-qtconfig virtualbox-ose virtualbox-
0 upgraded, 17 newly installed, 0 to remove and 1 not upgraded.
Need to get 9686kB/19.0MB of archives.
After this operation, 69.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 http://
Get: 2 http://
Get: 3 http://
Get: 4 http://
Get: 5 http://
Fetched 9686kB in 12s (766kB/s)
Selecting previously deselected package libqtcore4.
(Reading database ... 109488 files and directories currently installed.)
Unpacking libqtcore4 (from .../libqtcore4_
Selecting previously deselected package libqt4-xml.
Unpacking libqt4-xml (from .../libqt4-
Selecting previously deselected package libqt4-dbus.
Unpacking libqt4-dbus (from .../libqt4-
Selecting previously deselected package libqt4-script.
Unpacking libqt4-script (from .../libqt4-
Selecting previously deselected package libaudio2.
Unpacking libaudio2 (from .../libaudio2_
Selecting previously deselected package libqtgui4.
Unpacking libqtgui4 (from .../libqtgui4_
Selecting previously deselected package libqt4-designer.
Unpacking libqt4-designer (from .../libqt4-
Selecting previously deselected package libqt4-network.
Unpacking libqt4-network (from .../libqt4-
Selecting previously deselected package libqt4-sql.
Unpacking libqt4-sql (from .../libqt4-
Selecting previously deselected package libqt4-qt3support.
Unpacking libqt4-qt3support (from .../libqt4-
Selecting previously deselected package libqt4-sql-mysql.
Unpacking libqt4-sql-mysql (from .../libqt4-
Selecting previously deselected package qt4-qtconfig.
Unpacking qt4-qtconfig (from .../qt4-
Selecting previously deselected package virtualbox-ose.
Unpacking virtualbox-ose (from .../virtualbox-
Obsolete conffile /etc/init.d/vboxdrv has been modified by you.
Saving as /etc/init.
Selecting previously deselected package dkms.
Unpacking dkms (from .../dkms_
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_
Selecting previously deselected package patch.
Unpacking patch (from .../patch_
Selecting previously deselected package virtualbox-
Unpacking virtualbox-
Processing triggers for man-db ...
/usr/bin/mandb: can't write to /var/cache/
Setting up libqtcore4 (4.5.0-0ubuntu4) ...
Setting up libqt4-xml (4.5.0-0ubuntu4) ...
Setting up libqt4-dbus (4.5.0-0ubuntu4) ...
Setting up libqt4-script (4.5.0-0ubuntu4) ...
Setting up libaudio2 (1.9.1-5) ...
Setting up libqtgui4 (4.5.0-0ubuntu4) ...
Setting up libqt4-designer (4.5.0-0ubuntu4) ...
Setting up libqt4-network (4.5.0-0ubuntu4) ...
Setting up libqt4-sql (4.5.0-0ubuntu4) ...
Setting up libqt4-qt3support (4.5.0-0ubuntu4) ...
Setting up libqt4-sql-mysql (4.5.0-0ubuntu4) ...
Setting up qt4-qtconfig (4.5.0-0ubuntu4) ...
Setting up virtualbox-ose (2.1.4-
* Starting VirtualBox kernel module... [ OK ]
Setting up dkms (2.0.21.1-0ubuntu3) ...
* Running DKMS auto installation service for kernel 2.6.28-11-generic [ OK ]
Setting up fakeroot (1.12.1ubuntu1) ...
Setting up patch (2.5.9-5) ...
Setting up virtualbox-
* Reloading kernel event manager... [ OK ]
Adding modules to DKMS build system
Doing initial module builds
Installing initial modules
Done.
* Stopping VirtualBox kernel module... [ OK ]
* Starting VirtualBox kernel module... [ OK ]
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Revision history for this message
|
#9 |
Have a look at the sideshow , step step instruction on howto
:vbox<http://
Also have a look at
:install-
Revision history for this message
|
#10 |
Lawrence, that fantastic output. Its all installed and ready to rock.
now run:
sudo usermod -G vboxusers -a $USER
so you are a member of the vboxusers group (important). Log off and on and you'r account is ready
to run use the menu as described above or press alt+f2 and type virtu it will finish the rest for you
have fun
Revision history for this message
|
#11 |
Can I run any software that is based on Windows OS on the virutalbox?
Revision history for this message
|
#12 |
I have done what you asked.
And I got the programme running, and set up a Windows XP.
But a message saying that "FATAL: No bootable medium found! System halted.".
The background is black in colour, and it just freezes like that.
Can anyone tells me what's wrong?
Revision history for this message
|
#13 |
after having installed VirtualBox you have now to configure a Virtual Machine on it and install Windows (for example) on the Virtual Machine
You should read the manual for VirtualBox : it's well done and it's not so big :)
for your question : once windows installed, the Virtual Machines will works like a real independant Windows laptop/desktop
Revision history for this message
|
#14 |
Wajih Letaief: But I don't think you have answered my question.
Revision history for this message
|
#15 |
Lawrence, what are you expecting of virtual box?
VBox gives you a virtualised machine which you can install operating systems on. You dont install vbox and Windows magically appears. You need to install Windows / Linux / Whatever as if you were installing a clean system
We'll use Windows as the example.
What you must now do is mount your XP CD withing vbox and then tell vbox to boot from that, as part of setting up a virtual machine you specify a hard drive too (be its static sized or dynamic) as well as configure what hardware is available (sound, LAN etc)
If you are installing a proprietary OS (Windows) you will need a license key to install it. If you are using an open OS (Linux / BSD) you will not need a license key
By the way, games ru pretty badly in virtualbox so if you are expecting to play GTA4 then I'd start tinking of a new solution.
Revision history for this message
|
#16 |
But how do I install Mac OS?
I mean it doesn't have a installation CD.
Revision history for this message
|
#17 |
Well for a start the license prohibits it. There are illegal ISOfiles out there but I do not advise these. What you are wanting to do is illegal.
Can you help with this problem?
Provide an answer of your own, or ask Lawrence for more information if necessary.