Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Universal 2004.2 install problem: unpacking a stage tarball
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Sat Jul 31, 2004 11:45 am    Post subject: Universal 2004.2 install problem: unpacking a stage tarball Reply with quote

Hello everyone,

I have a big problem with the gentoo 2004.2 universal cd.
I install Gentoo into Vmware (on windows).
Everything goes fine (fdisking, mounting) until I go to
step that describes to unpack the files.

Code:

cd /mnt/gentoo

tar -xvjpf /mnt/cdrom/stages/stage3-x86.tar.bz2


The untar goes on until a random point and then it barfs out with the following error:

Code:

Error: exiting due to previous error(s)


What am I doing wrong??

This is what I am getting from Putty

I have checked the livecd for problems with Md5summer....
Code:

./sbin/lsmod.old
./sbin/badblocks
./sbin/pam_console_apply
./sbin/fsck.ext2
./sbin/fsck.ext3
./sbin/env-update.sh
./sbin/pam_timestamp_check
./sbin/kernelversion
./sbin/modinfo.old
./sbin/hwclock
./sbin/modprobe.static
./sbin/modules-update
./sbin/fsck.minix
./sbin/ipmaddr
./sbin/dumpe2fs
./sbin/mkfs.minix
./sbin/installkernel
./root/
./root/.keep
tar: Error exit delayed from previous errors


Could this be a sign that my drives are getting older and / or corrupter?
Hd layout

15 gb => master hd windows xp pro (system partition) c:\
100 gb => slave hd
d:
e: (partition for iso's)
f: (data partition)
g: (partition for virtual machines)

Thanx in advance.


Last edited by CedricVonck on Mon Aug 02, 2004 5:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
rytas
n00b
n00b


Joined: 26 Jul 2004
Posts: 9

PostPosted: Sat Jul 31, 2004 1:13 pm    Post subject: Reply with quote

It displays that cause of the .keep file located in /proc and it also says in the handbook it can be ignored if I'm not mistaken.
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Sat Jul 31, 2004 1:42 pm    Post subject: Reply with quote

Thank you for the tip.
But the untar do not go any further from this point.
Back to top
View user's profile Send private message
rytas
n00b
n00b


Joined: 26 Jul 2004
Posts: 9

PostPosted: Sat Jul 31, 2004 2:16 pm    Post subject: Reply with quote

Hm so the code output in the previous post is all there is to the unpacking of the tar?. If so then something is wrong :)
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Sat Jul 31, 2004 2:42 pm    Post subject: Reply with quote

Yes you are correct!

I will test the installation procedure with an 2004.1 image.
BTW, I know how to install Gentoo.

Regards,
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Sat Jul 31, 2004 10:51 pm    Post subject: Reply with quote

I retried it with the Universal 2004.1 disk.
Up until now everything seems to be ok... (the untarring part).

Regards

Edit:

With 2004.2 cd:
I have tried it with my partition as an Ext2 fs.
Now I am trying to explode the tarball on Ext3 fs.

It also worked.... 8O 8O 8O 8O
Probably it is due to the high temparatures here (around 30°C).
Will keep you informed...
Back to top
View user's profile Send private message
MorphiusFaydal
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 113
Location: West Texas

PostPosted: Sun Aug 01, 2004 8:38 am    Post subject: Reply with quote

i am using the 2004.1 livecd, and i get that error w/ the downloaded stage1 tarball for x86

it skips /proc/.keep saying that it doesnt exist

but goes on to untar a few more files

then throws up the 'exiting from previous error' thing that you got, CedricVonck

but still... life goes on

im about to d/l a 2004.1 stage1 :)
_________________
Registered Linux User # 309023

vanilla-sources
XFce 4.4 and GNOME 2.20
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Sun Aug 01, 2004 10:24 am    Post subject: Reply with quote

Yep it is strange...
Oh well lets wait and see what happens.

Regards.
Cedric
Back to top
View user's profile Send private message
c0debreaker
n00b
n00b


Joined: 09 Jul 2004
Posts: 4
Location: Detroit, MI

PostPosted: Sun Aug 01, 2004 10:33 pm    Post subject: untar of stage exits with error Reply with quote

For what it's worth, I was having exactly the same problem with the 2004.2 cd and, after reading the posts above, tried an experiment.

I did NOT mount the proc directory before untarring the stage image and it worked with no errors for me. I had tried both a stage off of the net and from the cd prior to trying this. I hope it helps - please let me know if anyone else has a similar experience.

:D
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Mon Aug 02, 2004 8:26 am    Post subject: Re: untar of stage exits with error Reply with quote

c0debreaker wrote:
I did NOT mount the proc directory before untarring the stage image and it worked with no errors for me.
:D


I did mount the proc and it barfed.
I also untarred the tarball without mounting the proc directory and it gave the same problem.
Back to top
View user's profile Send private message
ugugi
n00b
n00b


Joined: 02 Aug 2004
Posts: 1

PostPosted: Mon Aug 02, 2004 10:21 am    Post subject: Reply with quote

I'm getting the same kind of trouble, except that it starts deciding not to untar files starting from around the arealisting part, for time.

It says "No space left on device".

After a long while of spewing out that, it decides to quit due to previous errors.

This is from the stage3-athlonxp tarball.

Can anybody help me?
Back to top
View user's profile Send private message
jardragon901
n00b
n00b


Joined: 03 Jul 2004
Posts: 24

PostPosted: Mon Aug 02, 2004 11:11 am    Post subject: Reply with quote

its because you aren't untarring on the filesystem, you are untarring in the ram disk. Make sure your partitions are all mounted then cd to /mnt/gentoo copy the tar file over then untar.
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Mon Aug 02, 2004 12:01 pm    Post subject: Reply with quote

jardragon901 wrote:
its because you aren't untarring on the filesystem, you are untarring in the ram disk. Make sure your partitions are all mounted then cd to /mnt/gentoo copy the tar file over then untar.


Thanx for nfo but I did the following:

Code:

fdisk /dev/hda

mke2fs /dev/hda1
mke2fs -j /dev/hda3
mkswap /dev/hda2
swapon /dev/hda2

mkdir /mnt/gentoo/boot
mkdir /mnt/gentoo/proc
mount /dev/hda1 /mnt/gentoo/boot
mount /dev/hda3 /mnt/gentoo
mount -t proc none /mount/gentoo/proc

cd /mnt/gentoo

tar -xvjpf /mnt/cdrom/stages/stage3-x86.2004.2.tar.bz2


IMHO, I followed the doc to the letter.
Back to top
View user's profile Send private message
crusader
n00b
n00b


Joined: 12 Feb 2003
Posts: 15
Location: UK

PostPosted: Mon Aug 02, 2004 4:51 pm    Post subject: Reply with quote

Well, I am too getting the same sort of error while installing the universal 2004.2 LiveCD. Everything goes well until I come across untarring the stage3 tar ball.

Is it something a bug, that should be reported to the Gentoo Bugzilla or can I smoothly overcome it. Can anyone suggest any ideas or can i proceed with ignoring this?.
Back to top
View user's profile Send private message
crusader
n00b
n00b


Joined: 12 Feb 2003
Posts: 15
Location: UK

PostPosted: Mon Aug 02, 2004 4:58 pm    Post subject: Reply with quote

Hmm.., I tried umounting /mnt/gentoo/proc and again untarred the stage3 tar and now its working fine.
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Mon Aug 02, 2004 5:02 pm    Post subject: Reply with quote

Dear all,

Probably somebody should a drop a mail or pm to a developer.
So that they can
a) do a bugfix
b) adapt the manual...
Back to top
View user's profile Send private message
prothumian
n00b
n00b


Joined: 03 May 2003
Posts: 12

PostPosted: Mon Aug 02, 2004 8:28 pm    Post subject: Reply with quote

Noob question - do you have to remount proc after umounting (or not mounting it at all if you have to start over!) and untarring stage 3?
Back to top
View user's profile Send private message
kranki2
n00b
n00b


Joined: 25 Feb 2004
Posts: 21
Location: FL Keys, USA

PostPosted: Mon Aug 02, 2004 10:15 pm    Post subject: Reply with quote

Well, it looks like they changed the procedure. At the end of "4. Preparing the Disks" in the online Gentoo Handbook, it states "We will also have to mount the proc filesystem (a virtual interface with the kernel) on /proc. But first we will need to place our files on the partitions.".

I am getting the same error. So, I will move the proc mount after the untar step.

That solved the problem for me. :D

Hope that helps other.
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Tue Aug 03, 2004 5:39 am    Post subject: Reply with quote

I will try to this asap.
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Tue Aug 03, 2004 5:41 am    Post subject: Reply with quote

prothumian wrote:
Noob question - do you have to remount proc after umounting (or not mounting it at all if you have to start over!) and untarring stage 3?


What do you with unmounting??
Back to top
View user's profile Send private message
kranki2
n00b
n00b


Joined: 25 Feb 2004
Posts: 21
Location: FL Keys, USA

PostPosted: Tue Aug 03, 2004 6:35 pm    Post subject: Reply with quote

If you are starting over (which is what I do when I have a problem), you just delay the mount until you are done untarring the stage3. You could try umounting proc, untarring the stage3 again and then remounting proc. I would think that that would work also unless tar doesn't like the fact that some of the files are present already. The cleanest is to start over. IMHO
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Wed Aug 04, 2004 8:57 am    Post subject: Reply with quote

In the mean time I have the manual.
The developers have adapted the instructions.
You do not mount the proc filesystem after mounting th /mnt/gentoo/ and so on but after the untarring & some other stuff.

Regards.
Back to top
View user's profile Send private message
gentoo409
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2004
Posts: 80

PostPosted: Sat Aug 07, 2004 3:01 am    Post subject: Reply with quote

They've moved the point at which you

Code:
mount -t proc none /mnt/gentoo/proc


but they've deleted the part where you

Code:
mkdir /mnt/gentoo/proc


which could confuse a few people briefly. I'm a total linux newbie so I'm not sure whether that directory is going to get created by the tar process for stage1/2/3 or the portage snapshot, but I assume the directory still needs to be created beforehand?
Back to top
View user's profile Send private message
gentoo409
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2004
Posts: 80

PostPosted: Sat Aug 07, 2004 3:13 am    Post subject: Reply with quote

Incidentally, I moved the mounting of proc down to the point after where you issue a mirrorselect and copy over the resolv.conf and my problems with unpacking stage1-x86 went away completely.
Back to top
View user's profile Send private message
CedricVonck
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2003
Posts: 97

PostPosted: Sat Aug 07, 2004 9:51 am    Post subject: Reply with quote

gentoo409 wrote:
Incidentally, I moved the mounting of proc down to the point after where you issue a mirrorselect and copy over the resolv.conf and my problems with unpacking stage1-x86 went away completely.


Glad to hear it.
I hope that the developers will clear up the manual a bit.
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
Goto page 1, 2  Next
Page 1 of 2

 
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