Welcome, Guest. Please login or register.
April 24, 2014, 00:38:54 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  (Solved) How to update VirtualBox guest additions in a Pardus guest?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: (Solved) How to update VirtualBox guest additions in a Pardus guest?  (Read 2596 times)
LKJ
Newbie
*
Posts: 16


View Profile
« on: September 07, 2011, 13:44:28 PM »

I recently installed Pardus 2011.1 as a guest in VB and so far it works great. My only problem is I wanted to update the guest additions from the 4.0.6 OSE additions that are installed to 4.1.2 PUEL which is the version I am running. If I try installing them right over the others the install quits right away. if I remove the old ones first I get an error saying there are missing py. scripts?

if someone could tell me the correct way to update the guest additions I would be thankful.

thanks ahead of time.
« Last Edit: September 24, 2011, 01:04:28 AM by LKJ » Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #1 on: September 07, 2011, 15:11:08 PM »

   and I have never done this as I only use Pardus in the real world.
Did you already find and read http://www.virtualbox.org/manual/ch04.html Huh?
Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #2 on: September 07, 2011, 21:19:40 PM »

  and I have never done this as I only use Pardus in the real world.
Did you already find and read http://www.virtualbox.org/manual/ch04.html Huh?
Yes, about two years ago  Grin I have installed over 150 Linux flavors, spins, remixes etc and never ran into the error I mentioned.  Smiley
Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #3 on: September 16, 2011, 15:56:06 PM »

bump because I still don't have an answer  Huh?
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #4 on: September 16, 2011, 18:57:39 PM »

I read
Quote
2. Insert the VBoxGuestAdditions.iso CD file into your Linux guest's virtual CD-ROM drive, exactly the same way as described for a Windows guest in the section called “Installation”.

3.Change to the directory where your CD-ROM drive is mounted and execute as root:
sh ./VBoxLinuxAdditions.run
Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #5 on: September 16, 2011, 19:05:19 PM »

I read
Quote
2. Insert the VBoxGuestAdditions.iso CD file into your Linux guest's virtual CD-ROM drive, exactly the same way as described for a Windows guest in the section called “Installation”.

3.Change to the directory where your CD-ROM drive is mounted and execute as root:
sh ./VBoxLinuxAdditions.run

I'm sorry but maybe I'm not clear. I have no problem mounting the guest additions or starting to run them. but they fail to install. the installation quits with the error I mentioned in the very first post.
Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #6 on: September 20, 2011, 14:54:21 PM »

I can't seem to update the guest additions in Pardus 2011. It came pre-installed with 4.0.8 ga's but I am running 4.1.2 and among other things shared folders don't work. The three pre-installed modules that were included are: module-virtualbox-guest, module-virtualbox-guest-userspace and virtualbox-guest-utils.

If I try installing the GA's on top of those it gives me the usual warning about them being installed and to remove the first. If I try to install them anyway by typing yes after "are you sure you want to do this?" they just stop. If I remove them first I get this error...
Code:
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.2 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.1.2 of VirtualBox Guest Additions...
Unable to set vboxadd state:
  Unable to find '/var/db/comar3/scripts/System.Service/vboxadd.py'
Unable to set vboxadd_service state:
  Unable to find '/var/db/comar3/scripts/System.Service/vboxadd_service.py'
Unable to set vboxadd_x11 state:
  Unable to find '/var/db/comar3/scripts/System.Service/vboxadd_x11.py'
I've installed over 150 guests by now and have never seen this error.
any thoughts?
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #7 on: September 20, 2011, 15:57:04 PM »

...... but I am running 4.1.2
Where and how did you install this VB 4.1.2 Huh?
Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #8 on: September 20, 2011, 16:10:56 PM »

...... but I am running 4.1.2
Where and how did you install this VB 4.1.2 Huh?

I am running an iMac host. I installed VB 4.1.2. on that. It's where all my guests run from, which at last count is 33 Linux guests and Windows XP and 7.

btw, I just did a fresh install of Pardus 2011.2
« Last Edit: September 20, 2011, 16:18:41 PM by LKJ » Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #9 on: September 20, 2011, 16:45:39 PM »

while Im here, does anyone know where to add the shared folder command so they automount? normally  it's added to /etc/rc.local or /etc/fstab but Pardus has neither of those. It needs to be in the script that runs at the end of the boot process.
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #10 on: September 22, 2011, 10:43:16 AM »

My result so far:
Quote
atolboo@pardus2011 VBOXADDITIONS_4.1.2_73507 $ pwd
/media/VBOXADDITIONS_4.1.2_73507
atolboo@pardus2011 VBOXADDITIONS_4.1.2_73507 $ sh ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.2 Guest Additions for Linux.........
This program must be run with administrator privileges.  Aborting
atolboo@pardus2011 VBOXADDITIONS_4.1.2_73507 $ sudo sh ./VBoxLinuxAdditions.run

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Wachtwoord:
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.2 Guest Additions for Linux.........
VirtualBox Guest Additions installer
You appear to have a version of the VBoxGuestAdditions software
on your system which was installed from a different source or using a
different type of installer.  If you installed it from a package from your
Linux distribution or if it is a default part of the system then we strongly
recommend that you cancel this installation and remove it properly before
installing this version.  If this is simply an older or a damaged
installation you may safely proceed.

Do you wish to continue anyway? [yes or no]
yes
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
atolboo@pardus2011 VBOXADDITIONS_4.1.2_73507 $
Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #11 on: September 22, 2011, 10:56:46 AM »

yes that's what I get if I don't remove the pre-installed VirtualBox Additions first. If I remove them first I get the error I mentioned above.

I asked over at VirtualBox.org and they seem to feel Pardus is using a specially patched version on the editions and I would have to wait until they update to the latest versions. or alternatively build my own from scratch which I don't have the knowledge or inclination to do.  Grin
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #12 on: September 23, 2011, 23:37:41 PM »

After paying all my attention to http://bugs.pardus.org.tr/show_bug.cgi?id=19066 it's now time to return to the normal (and less urgent) issues.
I have been with the following result:
I have installed VirtualBox 4.1.2 r73507 in P2009 (thanks to pavi ) .
After this I downloaded and installed Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack.
Next I installed Pardus-2011.2-Cervus-elaphus-i686.iso as a Guest_OS in VB.
And now the most important conclusion is:
Don't install the VBOXADDITIONS_4.1.2_73507 in Pardus-2011.2 Guest_OS.
Instead leave/use the default virtualbox-guest-utils from Pardus-2011.2 Guest_OS.
In this way I get a 100% mouse integration and screen resolution (currently 1440x1050 on my HP LP2475w)
And after making a permanent shared folder with the name "test" and adding
Code:
test   /home/atolboo/share   vboxsf   defaults  0   0
to /etc/fstab (see http://www.virtualbox.org/manual/ch04.html#sharedfolders).
The permanent shared folder is accessible in Dolphin in /home/atolboo/share after a re-start of Pardus-2011.2 Guest_OS
Logged
LKJ
Newbie
*
Posts: 16


View Profile
« Reply #13 on: September 24, 2011, 01:03:55 AM »

After paying all my attention to http://bugs.pardus.org.tr/show_bug.cgi?id=19066 it's now time to return to the normal (and less urgent) issues.
I have been with the following result:
I have installed VirtualBox 4.1.2 r73507 in P2009 (thanks to pavi ) .
After this I downloaded and installed Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack.
Next I installed Pardus-2011.2-Cervus-elaphus-i686.iso as a Guest_OS in VB.
And now the most important conclusion is:
Don't install the VBOXADDITIONS_4.1.2_73507 in Pardus-2011.2 Guest_OS.
Instead leave/use the default virtualbox-guest-utils from Pardus-2011.2 Guest_OS.
In this way I get a 100% mouse integration and screen resolution (currently 1440x1050 on my HP LP2475w)
And after making a permanent shared folder with the name "test" and adding
Code:
test   /home/atolboo/share   vboxsf   defaults  0   0
to /etc/fstab (see http://www.virtualbox.org/manual/ch04.html#sharedfolders).
The permanent shared folder is accessible in Dolphin in /home/atolboo/share after a re-start of Pardus-2011.2 Guest_OS

first of all thank you for taking the time to look into this. I also had full screen, shared folders etc with the installed 4.0.8 guest additions. I guess the answer to my original question on how to update them is "DON't" lol.

I noted above when I looked for /etc/fstab or etc/rc.local I couldn't find them.  I found /etc/fstab finally and have shared folders working. VirtualBox recommends NOT using .etc.fstab for quite awhile now but it works.  Grin

thanks again.  Smiley
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!