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

Discussions about using Linux guests in VirtualBox.

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

Postby FirewallEngineer » 18. Aug 2013, 07:59

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$
FirewallEngineer
 
Posts: 8
Joined: 3. May 2012, 16:22

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

Postby Perryg » 18. Aug 2013, 14:32

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?
Perryg
Site Moderator
 
Posts: 34373
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

Postby FirewallEngineer » 18. Aug 2013, 16:30

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/
FirewallEngineer
 
Posts: 8
Joined: 3. May 2012, 16:22

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

Postby Perryg » 18. Aug 2013, 16:42

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.
Perryg
Site Moderator
 
Posts: 34373
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

Postby FirewallEngineer » 19. Aug 2013, 10:56

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   Expand viewCollapse view
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.
FirewallEngineer
 
Posts: 8
Joined: 3. May 2012, 16:22

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

Postby Perryg » 19. Aug 2013, 14:13

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?
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 12 guests