LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Installation of Virtual Box for Mandriva 2010 (http://www.linuxquestions.org/questions/linux-general-1/installation-of-virtual-box-for-mandriva-2010-a-798462/)

Gins 03-28-2010 12:44 PM

Installation of Virtual Box for Mandriva 2010
 
I have successfully downloaded the Virtual Box for Mandriva Linux 2010.
Just used the wget command to download it.
# cd /tmp
# wget http://download.virtualbox.org/virtu...1-1.x86_64.rpm


I tried in vain to install as the super user.
The program is in the ' /tmp ' folder.

The name of the rpm is ' VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm?e=1269794617&h=616f29148ca2b88ee8a9995711ce42e4 ' .

[root@localhost tmp]# ls
hsperfdata_administrator/
kde-root/
OSL_PIPE_10002_SingleOfficeIPC_c58ffd751137cd897a121c8db10efa=

VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm?e=1269794617&h=616f29148ca2b88ee8a9995711ce42e4


[root@localhost tmp]#

-----------------------------------------------------------------------------------------------
What is the reason for the following error message?
I have struggled more than 30 minutes to install it.
Though the package is there, it insists that the package is not there.
-----------------------------------------------------------------------------------------------
I know the downloaded package doesn't have the .rpm at the end.

I tried in vain to rename it. It doesn't work. This is hell!

I gave the following name:
VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm


[root@localhost tmp]# mv VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm?e=1269794617&h=616f29148ca2b88ee8a9995711ce42e4 VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm

mv: missing destination file operand after `VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm?e=1269794617'


Try `mv --help' for more information.
[1] 13735
bash: VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm: command not found
[1]+ Exit 1 mv -i VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm?e=1269794617
[root@localhost tmp]#


------------------------------------------------------------------
[root@localhost tmp]# urpmi VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm?e=1269794617&h=616f29148ca2b88ee8a9995711ce42e4
[1] 6243
[root@localhost tmp]# No package named VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm?e=1269794617
-----------------------------------------------------------------------

I beg your help to solve the problem.

camorri 03-28-2010 02:31 PM

I just clicked on your wget line, it poped open a "What do you want to do with this file" dialogue, I clicked on the save button, it saved the file with the correct file name.

Just delete the file(s) you have downloaded, and download through your browser. Then install the package. I'm running Mandy 2010 64 bit, and I have had Vbox installed for a while. Hope this helps.

Gins 03-28-2010 03:10 PM

Thanks camorri
I tried to install using 'install & Remove Software'.
It found the Virtual Box.
However, refused to install. The message was it is impossible to install due some inherent file problems.
What is the way to install?

Please write it step by step when possible.

Of course I could download the particular file if it is in the repository.
Installations will be hell! Dependencies will complain one after another.

camorri 03-28-2010 07:39 PM

Here is a link to the documentation I used to do the install.

-->http://www.virtualbox.org/manual/ch02.html#id2514936

Hope this helps.

Gins 03-30-2010 09:16 AM

Thanks camorri

I tried the following:


[root@localhost nissanka]# urpmi -a virtualbox
Some requested packages cannot be installed:
virtualbox-3.0.8-1.1mdv2010.0.i586 (due to unsatisfied libSDL-1.2.so.0)
virtualbox-kernel-2.6.31.12-server-1mnb-3.0.8-1.1mdv2010.0.x86_64 (due to unsatisfied dkms-minimal[*][>= 2.0.19])

Continue installation anyway? (Y/n) y
[root@localhost nissanka]# Y
bash: Y: command not found
What is the problem?

Gins 03-30-2010 11:12 AM

After a hectic struggle I manage to get some results.

Please read the following:
....................................................................................................

[root@localhost tmp]# urpmi VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm


warning: VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae

The following package has bad signature:
VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm: Invalid signature (NOT OK (no key): VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae)
Do you want to continue installation ? (y/N) y
installing VirtualBox-3.1-3.1.4_57640_mdv2009.1-1.x86_64.rpm
Preparing... #################################################################
1/1: VirtualBox-3.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.


Compilation of the kernel module FAILED! VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

/etc/init.d/vboxdrv setup

as root.

[root@localhost tmp]#

How do I solve the above?

--------------------------------------------------------------------------------------------------------
[root@localhost log]# cat vbox-install.log
** Compiling vboxdrv
/usr/share/virtualbox/src/vboxdrv/build_in_tmp: line 95: make: command not found
[root@localhost log]#

camorri 03-30-2010 06:13 PM

Did you install DKMS? or is it already installed?

Have you looked here?
Quote:

/var/log/vbox-install.log.
Could you post the results?

Gins 03-31-2010 02:50 AM

Thanks Camorri

However, the program has installed.

I don't have answers for these magical things.


I need further help. Because I have never ever worked with Virtual BoX.
I will post certain things I want to learn from you all.

Gins 04-02-2010 12:58 PM

I want to learn basics of creating a new virtual machine.

In the process of creating a new virtual machine, I got the following options.

1. Boot Hard Disk (Primary Master)
2. Create new hard disk
3. Use existing hard disk
What is the best choice for me?

The recommended base memory is 512MB.
However, I have 4096MB RAM.

What is the ideal value for me?


Is it unnecessary to have the Windows DVD when creating a virtual machine?
I didn't get any message about the Windows DVD.


Your thoughts are very welcome.

[ I want to install Windows 2008 Server (64bit) version in the first place. I got it free from Microsoft as I am a full-time student nowadays. It is the full version of Windows 2008 Server R2.]

camorri 04-02-2010 02:25 PM

Quote:

1. Boot Hard Disk (Primary Master)
2. Create new hard disk
3. Use existing hard disk
What is the best choice for me?
I selected option 3, since I did not have a spare partition to use. I set the VM up to increase the file size as needed.

Quote:

The recommended base memory is 512MB.
However, I have 4096MB RAM.

What is the ideal value for me?
Since you have lots of ram, I would select a gig of ram for the guest. I have not run server 2k8, so I can't say for sure how much ram is enough. I run XP on 450 meg, I have a gig of ram. Overall, linux is a little shuggish on 550 of ram that is left. XP for me is much snappier as a guest than it ever was as a stand alone system.

Understand, when you give the guest ram, it takes ram away from the host OS. You may need to experiment a little to find the optimal split of ram.

Quote:

Is it unnecessary to have the Windows DVD when creating a virtual machine?
I didn't get any message about the Windows DVD.
I can not say for sure. If you have the install files, and can start up the installer, I don't think so. You will need the product key. ( the 25 digit key ).

Gins 04-02-2010 03:22 PM

Thanks Camorri for the speedy reply.
I will try the way you have suggested.
I don't have time at the moment of writing.
I will attend this as soon as possible.
Please keep a good watch on this thread.
Microsoft gave me the product key. It is free. However, it will last for ever.
If you have to pay for it, it will cost a lot of money.

Now I have learnt Bill Gates created the site
http://www.dreamspark.com for students to download their programs.
He did it in 2008.
Microsoft issue codes to schools. I got the code to log in and download.
You can't cheat the site to download.
I am studying a full-time course on Server Virtualization.
We study VMware,Microsoft, Citrix and other products.


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