LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-28-2010, 12:44 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

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

Last edited by Gins; 03-28-2010 at 12:56 PM.
 
Old 03-28-2010, 02:31 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,828

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
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.
 
Old 03-28-2010, 03:10 PM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
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.
 
Old 03-28-2010, 07:39 PM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,828

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Here is a link to the documentation I used to do the install.

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

Hope this helps.
 
Old 03-30-2010, 09:16 AM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
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?
 
Old 03-30-2010, 11:12 AM   #6
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
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]#

Last edited by Gins; 03-30-2010 at 11:17 AM.
 
Old 03-30-2010, 06:13 PM   #7
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,828

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Did you install DKMS? or is it already installed?

Have you looked here?
Quote:
/var/log/vbox-install.log.
Could you post the results?
 
Old 03-31-2010, 02:50 AM   #8
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
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.

Last edited by Gins; 03-31-2010 at 02:53 AM.
 
Old 04-02-2010, 12:58 PM   #9
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
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.]

Last edited by Gins; 04-02-2010 at 01:00 PM.
 
Old 04-02-2010, 02:25 PM   #10
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,828

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
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 ).
 
Old 04-02-2010, 03:22 PM   #11
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Virtual Users/Domains With Postfix, MySQL, SquirrelMail (Mandriva 2010.0) LXer Syndicated Linux News 0 03-14-2010 02:20 PM
Recent installation of Mandriva 2010. donny44 Linux - Newbie 4 01-16-2010 09:20 AM
Mandriva 2010 cannot boot after installation on Raid 1 zhuqing8027 Mandriva 3 11-17-2009 01:54 PM
Mandriva 2010 cannot boot after installation on Raid 1 zhuqing8027 Linux - Newbie 1 11-15-2009 12:07 AM
Slackware installed in virtual box on Mandriva Spring bookie Mandriva 14 07-21-2007 12:03 PM


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

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