Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sparc64 network install, tar error with stage 2/3 files.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
jaco2001uk
n00b
n00b


Joined: 15 Aug 2004
Posts: 3

PostPosted: Sun Aug 15, 2004 6:35 pm    Post subject: Sparc64 network install, tar error with stage 2/3 files. Reply with quote

Hey all,

I though it was about time I gave Gentoo a go on my Ultra 1. I have no CD drive so have been using the TFTP boot image.

The machine boots fine and I have been following the instructions from http://www.gentoo.org/doc/en/gentoo-sparc-quickinstall.xml

When I try extracting the stage 2 (or 3) tarballs I get an error at the same point each time

./usr/share/terminfo/l/linux-koi8
./usr/share/terminfo/l/linux-koi8r
./usr/share/terminfo/l/linux-lat
./usr/share/terminfo/l/linux-vt
./usr/share/terminfo/l/layer
./usr/share/terminfo/l/lft
./usr/share/terminfo/l/lft-pc850
tar: Unrecognised file type
gentoo gentoo #

I have tried bunzipping the file first and then extracting it and I have tried stages of different servers.

Any ideas or thoughts on this would be warmly welcomed.

Thanks

:)
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Sun Aug 15, 2004 7:47 pm    Post subject: Reply with quote

You need a newer tar. Old busybox tar hates stageballs.
Back to top
View user's profile Send private message
jaco2001uk
n00b
n00b


Joined: 15 Aug 2004
Posts: 3

PostPosted: Sun Aug 15, 2004 7:57 pm    Post subject: Reply with quote

Thanks for the reply ciaranm.

Do you know where I can get a prebuilt binary from?

Thanks.

:)
Back to top
View user's profile Send private message
wan-geek
n00b
n00b


Joined: 03 Apr 2003
Posts: 66
Location: knee-deep in the ether

PostPosted: Fri Aug 20, 2004 3:50 am    Post subject: workaround Reply with quote

a workaround...if you are lucky enough to get busybox tar to unpack the gnu version of tar...

simply chroot into the new install...and pick up the untarring from there.

Code:

chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile

tar -xvjpf stage-BLAH_BLAH -K (insert filename where tar died)


the gnu tar -K option starts untarring at a certain file. In this case, it will start untarring the rest of the stage right where it died off.

Cheers,
-Chris
Back to top
View user's profile Send private message
wan-geek
n00b
n00b


Joined: 03 Apr 2003
Posts: 66
Location: knee-deep in the ether

PostPosted: Fri Aug 20, 2004 4:08 am    Post subject: more info Reply with quote

ok...more info.

I actually had to back down to a 2004.1 stage 1 ...and untar THAT....then run the chroot...and untar the 2004.2 over the top of everything. When I try to untar the 2004.2 stage 1, I never even get the gnu tar utility unpacked....it dies in the middle of /usr/bin

Busybox tar certainly seems to have "issues". Curious as to why it's the chosen version for the netboot sun images if it's so riddled with bad mojo. (there has to be something else "small" that will work instead.)

Cheers,
-Chris
Back to top
View user's profile Send private message
hamster2k1
n00b
n00b


Joined: 07 Feb 2003
Posts: 64
Location: Montreal,QC

PostPosted: Fri Aug 20, 2004 12:12 pm    Post subject: Reply with quote

Me, what I did is when I grabbed the tftpboot file in :
http://adelie.polymtl.ca/experimental/sparc/tftpboot/

I took the stage file in that same experimental folder.
http://adelie.polymtl.ca/experimental/sparc/stages/sparc64/
That worked like a charm. So didn't had to get another tar utility.

Doesn't really matter if I take 2004.2 stage build or an experimental one.
after doing the first emerge sync and emerge system, your stable should be
updated to the latest stable versions. Anyway! ;)

Hope it can help others here. :)
Back to top
View user's profile Send private message
waxorian
n00b
n00b


Joined: 26 Feb 2004
Posts: 1

PostPosted: Fri Oct 01, 2004 12:32 am    Post subject: Reply with quote

I was lucky to have access to another sparc64 machine so with a tip from #gentoo-sparc I could compile `USE="static" emerge tar` and use the new tar binary for my Ultra1. Now with my (sparc32) SparcStation 5 I'm out of luck, and I'm trying wan-geek's workaround as we speak.

So here are my sparc64 binaries (I included bzip2 to be sure) in case anyone has the same problem and wants an easy way out:
http://www.cs.vu.nl/~bkarel/binaries/sparc64/
(wget <url> --> chmod +x tar --> ./tar etc.)

Maybe someone could also provide some sparc32 binaries?
Back to top
View user's profile Send private message
wan-geek
n00b
n00b


Joined: 03 Apr 2003
Posts: 66
Location: knee-deep in the ether

PostPosted: Wed Jan 05, 2005 10:17 am    Post subject: experimental stages gone Reply with quote

so...anyone care to comment on the disappearance of the experimental stages?

All the mirrors appear to be void of these functioning stages.

I'm now back to my workaround....even with stage1.

-C
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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