Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors when untarring 2004.3 stage3 tarball
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Nov 19, 2004 12:54 am    Post subject: Errors when untarring 2004.3 stage3 tarball Reply with quote

Here is what I get when i try to untar the stage3 tarball:

Code:

livecd gentoo # tar -xjpf stage3-g4-2004.3.tar.bz2
tar: ./dev/MAKEDEV: Cannot open: Permission denied
tar: ./dev/.keep: Cannot open: Permission denied
tar: ./dev/pts/.keep: Cannot open: Permission denied
tar: ./dev/shm/.keep: Cannot open: Permission denied
tar: ./dev/adb: Cannot mknod: File exists
tar: ./dev/console: Cannot mknod: File exists
tar: ./dev/core: Cannot open: Permission denied
tar: ./dev/fd: Cannot open: Permission denied
tar: ./dev/full: Cannot mknod: File exists
tar: ./dev/input/mouse0: Cannot mknod: File exists
tar: ./dev/input/event0: Cannot mknod: File exists
tar: ./dev/input/mouse1: Cannot mknod: File exists
tar: ./dev/input/event1: Cannot mknod: File exists
tar: ./dev/input/event2: Cannot mknod: File exists
tar: ./dev/input/event3: Cannot mknod: File exists
tar: ./dev/input/mice: Cannot mknod: File exists
tar: ./dev/kmem: Cannot mknod: File exists
tar: ./dev/mem: Cannot mknod: File exists
tar: ./dev/null: Cannot mknod: File exists
tar: ./dev/port: Cannot mknod: File exists
tar: ./dev/ptmx: Cannot mknod: File exists
tar: ./dev/random: Cannot mknod: File exists
tar: ./dev/tty: Cannot mknod: File exists
tar: ./dev/urandom: Cannot mknod: File exists
tar: ./dev/zero: Cannot mknod: File exists
tar: Error exit delayed from previous errors
livecd gentoo #


the md5sum says everything is ok. I've even tried download the stage from a different server, and receive the exact same errors.

Please help!
mw007
Back to top
View user's profile Send private message
t3rm1nal
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 173
Location: US

PostPosted: Fri Nov 19, 2004 6:20 am    Post subject: Reply with quote

Im just curious what you did prior to (for some context) --

did you create filesystems and mount them already?
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#doc_chap3
_________________

Adopt an unanswered post.
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Nov 19, 2004 12:32 pm    Post subject: FS created and mounted Reply with quote

Yes, I created the appropriate filesystem (ext3) and mounted it to /mnt/gentoo. I'm following the handbook word-for-word. One thing I did notice that seems to be different from the x86 handbook that I used a week ago is the command:

Code:

mount -o bind /dev /mnt/gentoo/dev



Could this be causing the problem?


Thank you,
mw
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Nov 19, 2004 12:37 pm    Post subject: Possibly fixed? Reply with quote

I just tried unmounting the mount to /mnt/gentoo/dev the handbook says to do, and the tarball untarred just fine, no errors whatsoever. Now, I'm not sure if doing this will screw up the intstallation at a later time, I guess we'll see. :) I could always start over if needed anyway!
Back to top
View user's profile Send private message
minicom
n00b
n00b


Joined: 04 Jun 2004
Posts: 25
Location: washington, dc, usa

PostPosted: Fri Nov 19, 2004 2:06 pm    Post subject: Re: Errors when untarring 2004.3 stage3 tarball Reply with quote

mw007 wrote:
Here is what I get when i try to untar the stage3 tarball:

Code:

livecd gentoo # tar -xjpf stage3-g4-2004.3.tar.bz2
tar: ./dev/MAKEDEV: Cannot open: Permission denied
tar: ./dev/.keep: Cannot open: Permission denied
tar: ./dev/pts/.keep: Cannot open: Permission denied
tar: ./dev/shm/.keep: Cannot open: Permission denied
tar: ./dev/adb: Cannot mknod: File exists
tar: ./dev/console: Cannot mknod: File exists
tar: ./dev/core: Cannot open: Permission denied
tar: ./dev/fd: Cannot open: Permission denied
tar: ./dev/full: Cannot mknod: File exists
tar: ./dev/input/mouse0: Cannot mknod: File exists
tar: ./dev/input/event0: Cannot mknod: File exists
tar: ./dev/input/mouse1: Cannot mknod: File exists
tar: ./dev/input/event1: Cannot mknod: File exists
tar: ./dev/input/event2: Cannot mknod: File exists
tar: ./dev/input/event3: Cannot mknod: File exists
tar: ./dev/input/mice: Cannot mknod: File exists
tar: ./dev/kmem: Cannot mknod: File exists
tar: ./dev/mem: Cannot mknod: File exists
tar: ./dev/null: Cannot mknod: File exists
tar: ./dev/port: Cannot mknod: File exists
tar: ./dev/ptmx: Cannot mknod: File exists
tar: ./dev/random: Cannot mknod: File exists
tar: ./dev/tty: Cannot mknod: File exists
tar: ./dev/urandom: Cannot mknod: File exists
tar: ./dev/zero: Cannot mknod: File exists
tar: Error exit delayed from previous errors
livecd gentoo #


the md5sum says everything is ok. I've even tried download the stage from a different server, and receive the exact same errors.

Please help!
mw007


I think you can safely ignore the errors. I did and my machine is having no problems whatsoever.
_________________
PowerMac G5 (7,3) - 2 x 1.8GHz
Gentoo 2004.3 PPC64
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Nov 19, 2004 3:59 pm    Post subject: Errors ignored before Reply with quote

I did ignore the errors before, when I did that yaboot would tell me that my root partition was corrupt in someway. Any ideas?

thanks,
mw
Back to top
View user's profile Send private message
minicom
n00b
n00b


Joined: 04 Jun 2004
Posts: 25
Location: washington, dc, usa

PostPosted: Fri Nov 19, 2004 4:17 pm    Post subject: Re: Errors ignored before Reply with quote

mw007 wrote:
I did ignore the errors before, when I did that yaboot would tell me that my root partition was corrupt in someway. Any ideas?

thanks,
mw


How did you do yaboot?

Did you remember to do 'yabootconfig --chroot /mnt/gentoo'? Additionally, before running yabootconfig you have to make sure that your /etc/fstab is accurate with your partitions, because this is where yabootconfig looks to get the partition info.
_________________
PowerMac G5 (7,3) - 2 x 1.8GHz
Gentoo 2004.3 PPC64
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Nov 19, 2004 9:11 pm    Post subject: Yes yaboot config was run Reply with quote

Yes, I definitely ran yabootconfig --chroot /mnt/gentoo. I *believe* my /etc/fstab was correct, but it's possible that it had errors. I'm about to get back to this point.

I restarted the installation, because there were other partitions on the disk that I needed to get rid of because I won't have MACOSX on the comp.

Now I have 4 partitions:
Code:

/dev/hda1      Apple Partition Map
/dev/hda2      Apple Bootstrap
/dev/hda3      Swap
/dev/hda4      Root


Sound correct for a gentoo-only installation? Just wanted to make sure. ;)
Back to top
View user's profile Send private message
minicom
n00b
n00b


Joined: 04 Jun 2004
Posts: 25
Location: washington, dc, usa

PostPosted: Fri Nov 19, 2004 9:36 pm    Post subject: Reply with quote

Looks good to me. :)
_________________
PowerMac G5 (7,3) - 2 x 1.8GHz
Gentoo 2004.3 PPC64
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Nov 19, 2004 10:26 pm    Post subject: making sure /etc/fstab is correct Reply with quote

Ok, so I read in the ppc handbook that PPC's don't need a /boot in /etc/fstab? Does this mean that I can just comment out the /boot line?
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Fri Nov 19, 2004 11:17 pm    Post subject: ugh! Reply with quote

Ok, so the install is complete, or so I thought it was. Now, when I boot the machine after re-installing, I get a white screen that says, "Loading second stage bootstrap..."

It just sits there with that screen. Does anyone have any idea what I'm doing wrong???

thanks,
mw
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Sun Nov 21, 2004 7:26 am    Post subject: Reply with quote

your yaboot.conf needs some work.
Back to top
View user's profile Send private message
2manydjs
n00b
n00b


Joined: 01 Nov 2003
Posts: 30

PostPosted: Sun Nov 21, 2004 2:44 pm    Post subject: Reply with quote

Hi,
I have this error on my Powerbook G4.
When I try the G4 stage3 tarball or the PPC stage3 tarball, I get the same error:
Code:

......
./proc/
./proc/.keep
./root/
./root/.keep
./sys/
./sys/.keep
tar: Error exit delayed from previous errors


I did the md5 check before installing, with no problems.
Can I ignore this message?
Or should I try a stage2 or 1 tarball?

Thanks
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Tue Nov 23, 2004 12:25 am    Post subject: Reply with quote

I'm not sure, I still have not gotten my G4 to boot into gentoo. I'm fiddling with the yaboot.conf right now. We'll see where that takes me.
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Tue Nov 23, 2004 1:28 am    Post subject: yaboot starts up Reply with quote

As the subject suggests, I can get a yaboot prompt, yay! Only problem now is that when I try to load the kernel, I get the following message:

Code:

hd:3,/vmlinux: Unknown or corrupt filesystem


Here is the section of my yaboot.conf file related to the kernel I'm trying to load:

Code:

image=Linux
     label=Linux
     root=/dev/hda4



I'm going to keep trying at this. I know I'm close!

Thanks,
mw
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Tue Nov 23, 2004 4:22 am    Post subject: you can safely ignore the errors Reply with quote

2manydjs:

You can safely ignore the errors you mentioned.
Back to top
View user's profile Send private message
mw007
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 260

PostPosted: Tue Nov 23, 2004 4:30 am    Post subject: Problems fixed! Reply with quote

Hey all, problem solved. My problem was I didn't properly copy the kernel to /boot after compiling. I had to do the following:

Code:

cd /usr/src/linux
cp vmlinux /boot/kernel-2.6.9
cp System.map /boot/System.map-2.6.9
cp .config /boot/.config-2.6.9


I also had to change /etc/yaboot.conf. It was not pointing to the proper kernel image. Here is my yaboot.conf:

Code:

boot=/dev/hda2
device=hd:
ofboot=hd:2
partition=4
delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/llb/yaboot/ofboot

image=/boot/kernel-2.6.9
     label=Linux
     root=/dev/hda4
     read-only


Obviously, I omitted the comments that are in my file. Thanks to everyone who helped. And a special thanks goes to Pugio from #gentoo-ppc, who stayed online with me for 2 hours to get this working!

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