Error "tar: short read" when running "VBoxLinuxAdditions"

Discussions about using Linux guests in VirtualBox.
Post Reply
FirewallEngineer
Posts: 8
Joined: 3. May 2012, 16:22

Error "tar: short read" when running "VBoxLinuxAdditions"

Post by FirewallEngineer »

Hi, I was getting this error message when trying to install VirtualBox Guest Additions. Please help

tc@Core1:/mnt/sr0$ sudo ./VBoxLinuxAdditions.run
Verifying archive integrity… All good.
Uncompressing VirtualBox 4.2.16 Guest Additions for Linux…………
VirtualBox Guest Additions installer
Copying additional installer modules …
Killed
tar: short read
tc@Core1:/mnt/sr0$
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error "tar: short read" when running "VBoxLinuxAdditions

Post by Perryg »

Something is happening to the file at decompression and causing corruption. What is the host & guest?
Where did you get the guest additions, distro repo or VirtualBox.org?
FirewallEngineer
Posts: 8
Joined: 3. May 2012, 16:22

Re: Error "tar: short read" when running "VBoxLinuxAdditions

Post by FirewallEngineer »

Perryg wrote:Something is happening to the file at decompression and causing corruption. What is the host & guest?
Where did you get the guest additions, distro repo or VirtualBox.org?
Thanks Perryg for your prompt reply.

Host is Microsoft Windows while
Guest is Tiny Core Linux http://www.tinycorelinux.net/

I got the guest addition from virtualbox itself (host > Install Guest Additions …).
Image

These were the steps that I took to install it
http://firewallengineer.wordpress.com/2 ... ore-linux/
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error "tar: short read" when running "VBoxLinuxAdditions

Post by Perryg »

The error suggests that you should download and then check the md5 sum to verify that there is no corruption.

Tinycore however is not an officially supported guest ( as far as guest additions ). Usually these require a special ported version that is available via the distro in question. Also if you have not installed X than the most you could hope for is shared folders and time sync, and would need to install with the --nox11 flag at the end.
FirewallEngineer
Posts: 8
Joined: 3. May 2012, 16:22

Re: Error "tar: short read" when running "VBoxLinuxAdditions

Post by FirewallEngineer »

Perryg wrote:The error suggests that you should download and then check the md5 sum to verify that there is no corruption.

Tinycore however is not an officially supported guest ( as far as guest additions ). Usually these require a special ported version that is available via the distro in question. Also if you have not installed X than the most you could hope for is shared folders and time sync, and would need to install with the --nox11 flag at the end.
As suggested, I’ve downloaded VBoxGuestAdditions_4.2.16.iso it here and verified the md5sum is correct

http://dlc.sun.com.edgesuite.net/virtua ... 4.2.16.iso

Code: Select all

F:\Virtualization\VirtualBox\ISO Images>md5sum VBoxGuestAdditions_4.2.16.iso
6074747feb9ae8b6eec365616347eef3 *VBoxGuestAdditions_4.2.16.iso

F:\Virtualization\VirtualBox\ISO Images>
http://dlc.sun.com.edgesuite.net/virtua ... 16/MD5SUMS

Then, I mounted it again and still getting the same error.

Time sync is very important for troubleshooting purposes. That’s the main reason why I was trying to install Guest Additions.

Here is how my lab looks like:
Image

Do you have any suggestion how to make sure these three boxes have similar time?
My Lab doesn’t have any internet access as I configure it as host only.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error "tar: short read" when running "VBoxLinuxAdditions

Post by Perryg »

No more than I already posted I am afraid. If the md5sums match than is must be an OS issue. What did the Tinycore people have to say?
Post Reply