Page 1 of 1
Error "tar: short read" when running "VBoxLinuxAdditions"
Posted: 18. Aug 2013, 07:59
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$
Re: Error "tar: short read" when running "VBoxLinuxAdditions
Posted: 18. Aug 2013, 14:32
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?
Re: Error "tar: short read" when running "VBoxLinuxAdditions
Posted: 18. Aug 2013, 16:30
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 …).
These were the steps that I took to install it
http://firewallengineer.wordpress.com/2 ... ore-linux/
Re: Error "tar: short read" when running "VBoxLinuxAdditions
Posted: 18. Aug 2013, 16:42
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.
Re: Error "tar: short read" when running "VBoxLinuxAdditions
Posted: 19. Aug 2013, 10:56
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:
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.
Re: Error "tar: short read" when running "VBoxLinuxAdditions
Posted: 19. Aug 2013, 14:13
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?