View previous topic :: View next topic |
Author |
Message |
ueber3ber n00b
Joined: 22 May 2010 Posts: 4
|
Posted: Sat May 22, 2010 2:59 pm Post subject: problems whith tar on minimal CD |
|
|
Hi,
I'm relative new to linux...I want to install gentoo in a VM
When I tray to untar the stage3 tarball and the portage package it prints me progress to the shell but it hangs up after different files, it doesn't react anymore and I need to restart...
I tried it a couple of times...
Any hints/help on that? Any logfiles of tar or something else I can check in order to find out what went wrong?
Thanks... |
|
Back to top |
|
|
ueber3ber n00b
Joined: 22 May 2010 Posts: 4
|
Posted: Sat May 22, 2010 3:39 pm Post subject: |
|
|
...and again: it hungs while untaring "portage/dev-embedded/tarvsm/netdata.xml"
As I said, Im a linux newbie...how to get probem solved? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Sat May 22, 2010 7:30 pm Post subject: |
|
|
Since there are no apparent error messages, please post every command you enter from boot-up through to when you run the tar which hangs. When it hangs, how badly is it hung? Can you vt switch? Can the tar be killed by ^C? What installation media are you using? |
|
Back to top |
|
|
ueber3ber n00b
Joined: 22 May 2010 Posts: 4
|
Posted: Sat May 22, 2010 11:44 pm Post subject: |
|
|
^C is nor working and swicth (between consoles -I think you mean that- is not working either) I use the follwing ISO: install-x86-minimal-20100216.iso
the commands I use before my problem occures are:
# loadkeys de (Im from germany ^^)
# mke2fs /dev/sda1
# mke2fs -j /dev/sda3
# mkswap /dev/sda2
# swapon /dev/sda2
# mount /dev/sda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/sda1 /mnt/gentoo/boot
# cd /mnt/gentoo
# links http://www.gentoo.org/main/en/mirrors.xml (I download the stage3 tarball and the latest portage package)
# tar xvjpf stage3-*.tar.bz2 (worked the last few times...)
# tar xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr (hangs here...)
...the commands are according to the gentoo installation guide
thanks for your help so far... |
|
Back to top |
|
|
Jimini l33t
Joined: 31 Oct 2006 Posts: 601 Location: Germany
|
Posted: Sun May 23, 2010 6:06 am Post subject: |
|
|
Have you tried to extract portage-snapshots from different mirrors? Have you downloaded the tarball again for every try? Or was it always the same file?
Best regards,
Jimini _________________ "The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu) |
|
Back to top |
|
|
ueber3ber n00b
Joined: 22 May 2010 Posts: 4
|
Posted: Sun May 23, 2010 9:25 am Post subject: |
|
|
I downloaded it for every try...and yes, always the same file....
Ok, I will try another file |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Mon May 24, 2010 9:37 am Post subject: |
|
|
It might be that the downloads are corrupt; you can check this by running
md5sum on the downloaded file, and looking at the appropriate xxxxx.md5sum
file in directory you got the portage snapshot from. (It's a small ASCII file,
and may in fact have a type other than .md5sum.)
It's more likely that you are out of space on the filesystem onto which you
are unpacking the tar file - try df, and df -i, to check space and inodes, and
then post the results here. If space is the problem you'll need a larger
partition, and if lack of inodes is the problem you'll need to reformat the
filesystem to provide them.
Will |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Tue May 25, 2010 2:06 am Post subject: |
|
|
The Portage tree contains thousands of tiny files, contrary to the typical usage pattern of ext filesystems. As such, the defaults often allocate insufficient inodes for a Portage tree. The snapshot on my system presently uses a bit over 138000 inodes. However, I am a bit surprised that you get no error messages advising you of the shortage. I see that you asked tar to be verbose, which is good in this case. What are the last lines printed by tar before it hangs? |
|
Back to top |
|
|
|