Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error extracting stage 3....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 2:43 pm    Post subject: Error extracting stage 3.... Reply with quote

Hi everybody...

I'm doing a new installation in a Pentium 75.

I just partitioned the disk:
hda1 /boot 100 MB
hda2 / 2000 MB
hda3 swap 500 MB
hda5 /usr 5000 MB

and mounted all partitions under /mnt/gentoo
hda2 /
hda1 /boot
hda5 /usr

I moved to /mnt/gentoo and did next (as is showed in habdbook):
tar -xvjpg /mnt/cdrom/stages/stage3-x86-2004.2.tar.bz2

it started extracting files, and stopped at ./root/.keep, and shows next error message:
tar: Erro exit delayed from previous errors

I did sames step using double v in tar options, but no more extended message apperaed...

I first tought of out of space problem, but df -h shows enought space to extract what is needed....

I also read that it could be a hard link creatin problem, but /root is in same partiion as /....

what could cause this problem? I found no more refences...

Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 2:52 pm    Post subject: Reply with quote

pelacables,

Maybe you have a problem with your CD or CDROM. What speed it your CDROM ?
If the CDROM is ages with the PC, its unlikely to read anything other than 'pressed' CDs reliably. CD-Rs were not around then.

Try copying the tar file to /mnt/gentoo
If the copy fails, it not the tar command.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 3:01 pm    Post subject: Reply with quote

Hi NeddySeagoon,

thanks for your quick answer...
I copyied the tar where you told me with no errors...

I have to tell you that the CD is quiet new (I changed it last year, cause old one broke down...)
Now I'm untaring the portage snapshot, with good result, so no error....

It could be an error when burning the iso image, but I did it with my new laptop, so wich probability is there in an error on that step?

I saw this error with 2004.1 version, but it stopped at /dev/something else, at it was the last file of the tar....

What could I do, appart of copying the tar file?
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 534
Location: France

PostPosted: Sat Aug 14, 2004 3:13 pm    Post subject: Reply with quote

If you have networking, you should try to download the stage, verify it's MD5sum and extract it. If it works, the problem is your CD, and if not ?.. :(
@++
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 3:23 pm    Post subject: Reply with quote

Uoou...

I'll try it...damm hell! I wasted all yesterday downloading the iso.....now I'll spend more time downlading the stage....@#@||@|||!!

Thanks for your help, I'll explain later how it goes...

Pelacables..
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 4:08 pm    Post subject: Reply with quote

pelacables,

Get the md5sum for the ISO you already have. Verify the ISO download. If thats OK, verify the CD you made against the md5sum.

That will save you wasting time downloading something again if its not the problem.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 4:33 pm    Post subject: Reply with quote

Hi,

yes I did it.... I checked the iso just after downloaing it and alos the CD...so I thimk all it's right...

I'm downloading the stage right now... I'll try this one....

Where could I found wich is the last file of the stage3 tar ? could it be ./root/.keep ? if yes, I could go on with the installation and forget th error...

Regards
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 4:42 pm    Post subject: Reply with quote

pelacables,

You can't forget the error. It will bite you in the bum sometime, even if its the last file in the tarball.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 5:04 pm    Post subject: Reply with quote

Ok,

As I said, I downladed a new stage tar, I checked with md5sum (all right).. and I get same error:
./root/.keep
tar: Error ..bla bla bla..

What else could I try?

Thanks

Pelacables
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 5:10 pm    Post subject: Reply with quote

pelacables,

Can you put the disc from the P75 into another PC and do the install there?
Move it back again after the install is complete.
If you have another Linux PC its easy. You can even do some host based testing if you don't mind setting up /etc/fstab to work the host. You will have to change it before you can boot back in the target PC.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 5:15 pm    Post subject: Reply with quote

I'm sorry but it's the only PC I currently have at home.... (and my laptop...)

It's hard for me to get an oher PC by now.... maybe next week....

My laptop is also runnign gentoo, could I copy some files from here? or use it for something? (net install)?¿

Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 5:34 pm    Post subject: Reply with quote

pelacables,

There is nothing to be gained by hosting the CD on the laptop.
You have already copied the tarball to the P75 anc checked its OK.
Does it always fail at the same place?

How much memory do you have in the P75?
and swap?
Is swap on?

top will tell you all that.
Maybe tar is running out of memory?

You can watch top in another console as tar runs to see what happens with memory.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 5:43 pm    Post subject: Reply with quote

It has 128 MB of RAM, and 500 of swap....and yes, it's on (I did mkswap /dev/hda3 and swapon /dev/hda3 ....)....

I don't think it's a problem of memory... but I'll take a look on it...

Yes, it always fails in /root/.keep file (.keep files are empty files, no? ) ...¿?¿?¿? problem in memory? do oyu think so?

I'll explain how it goes...

Thanks!

Plecables..
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 6:01 pm    Post subject: Reply with quote

pelacables,

Yes .keep files are empty but thats not causing the problem.
The error related to an earlier failure.

The tar file is bzip2 compressed. Can you run
Code:
bunzip2 stage3-x86-2004.2.tar.bz2
to get you a file called stage3-x86-2004.2.tar ?
then run
Code:
tar xvpf stage3-x86-2004.2.tar
on that.

If it fails at the bunzip2 stage can you do it on your laptop?
If that works, move the tar file (uncompressed) to the P75.
It may be several CDs. Do you have networking between them?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 6:52 pm    Post subject: Reply with quote

Mmmmmm....

Step by step....

I first did the bunzip of the tar on P75... worked fine....
So later I did the tar (looking at top) and IT FAILED AGAIN!!! bua bua bua!!!! and it was not out of memoy....

I'll try to untar it on laptop... but I don't know how to move the uncompressed files to ht eP75... I emerged ftp on my "non clompeted" system.... how may I keep the permission of files when I'll do the ftp to the laptop?

Regards
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 7:45 pm    Post subject: Reply with quote

pelacables,

Don't do the untar on your laptop - it will attempt to do you a stage 3 install. Hopefully it will fail because you won't be root.

You have been doing the chroot steps ?
Otherwise the root (/) filesystem is RAM and attempting to do the untar into 128Mb of RAM will fail.

You copy the tarball to /mnt/gentoo
Then you do the chroot so that the places that the untared files go are disc.
Lastly, you can do the untar, knowing that you have a disk root filesystem for the tar output to go to.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
milkmonitor
n00b
n00b


Joined: 06 Aug 2004
Posts: 4

PostPosted: Sat Aug 14, 2004 8:12 pm    Post subject: Reply with quote

Hi, I trying a new install myself and had the error:

Quote:
“tar: ./proc/ ./keep: Cannot open: No such file or directory
./root/
./root/ .keep
tar: Error exit delayed from previous errors”


Like you I thought, stuff it, I'll carry on but have had nothing but trouble. Thing is, somewhere in the handbook it says you can ignor problems like this. Hope you find the answer soon, I'm still looking I'm afraid!
_________________
Regards
Will Burchell.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54663
Location: 56N 3W

PostPosted: Sat Aug 14, 2004 8:19 pm    Post subject: Reply with quote

milkmonitor,

It looks like you did the chroot steps but missed the all important mount proc step before you went into the chroot.

Do ls / to see if you have a /proc.

So that you can fix things like this, use the
Code:
passwd
command to set the root password to something you can remember before you do the chroot command. then you can log in on VT2 (Ctrl-Alt-F2) and have one VT inside the chroot and the other outside.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sat Aug 14, 2004 8:34 pm    Post subject: Reply with quote

Hi again...

Thanks for yout help NeddySeagon...many thanks...

My first step in order to solve the error was copying the stage in my / (chrooted) so all the tar step being done from disk. As you say, 128 MB of RAM could cause the problem.

I decided to continue with nomral installation, ans see where I get next problem...So I'll compile the kernel, and all the steps necessary to be able to reboot my system and see what happen...

Tomorrow I'll update this post.... the kernel and so will spend some time on my old PC....

(My idea of untaring the stage on the laptop was doining it in a chroot jail.... and then copy all files to P75.... )

Regards

Pelacables.
Back to top
View user's profile Send private message
pelacables
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 120

PostPosted: Sun Aug 15, 2004 1:25 pm    Post subject: Reply with quote

Hello everybody...

As I said yesterday, I omitted tghe error given by tar and decided to continue with installation (no more errors when untaring the snapshot....)

I wasted 12 hours compiling the kernel using genkernel (I have to learn how to compile kernel in other machine) and now I'm able to boot the box....

I have some problems with my eth0 and eth1, but I belive it's because I haen't laoded modules yet....

So, in my experience, I recomend to proceed with normal installation after tar error.

Thansk for your help, specially to NeddySeagoon.

Pelacables.
Back to top
View user's profile Send private message
csvrtilk
n00b
n00b


Joined: 07 Jan 2006
Posts: 1

PostPosted: Sat Jan 07, 2006 2:17 am    Post subject: Reply with quote

I found the same tar error :), but the tar don't finish with the creration of all directories and files :(

I change my BIOS to "Load Safe" and I get all the data from tar files !

Sorry, i dont try to descover the point that make the diferences!!!

BYE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum