Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues with emerge rsync during install
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
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Jun 10, 2002 3:44 am    Post subject: Issues with emerge rsync during install Reply with quote

Hi!

I'm installing gentoo on my Sparc 10 for the first time. (I've had it on my Intel machine for a couple months now) I'm having a problem when it comes time to do the emerge rsync.

Whats going on is, I do the following after making the partitions /dev/sda1 /dev/sda2 and swap on /dev/sda4 (/dev/sda3 is Whole Disk):

mount -t iso9660 -o ro /dev/cdroms/cdrom0 /mnt
swapon /dev/sda2
chroot /mnt/root-`uname -m` bin/bash
source /etc/profile (I get an "whami[68]unimplemented SPARC system call 69")
mount -n /dev/sda2 /mnt/gentoo
mount -n /dev/sda1 /mnt/gentoo/boot
cd /mnt/gentoo
bunzip2 -c /stage1-sparc-1.1a.tbz2 | tar xvpf -
(Are you supposed to go into the /mnt/gentoo directory? because the stuff being dumped looks like it should be in there)
env-update
(I get: "bin/bash: /usr/sbin/env-update: /usr/bin/python2.2: bad interpreter: No such file or directory)
emerge rsync
(I get:env: python2.2: No such file or directory)

and thats where I end it... I'm not sure what to do from there in "the gentoo way" without just dumping all of the stages onto disk and going from there...

Can anyone help me?

--
Dan
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 3:50 am    Post subject: Reply with quote

Make sure you're chrooting into /mnt/gentoo, otherwise /usr/bin/python2.2 won't exist, and it'll try to rsync into /usr/portage on the installer ramdisk, etc. So, try to chroot and everything will work out.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Jun 10, 2002 4:07 am    Post subject: Reply with quote

delta407 wrote:
Make sure you're chrooting into /mnt/gentoo, otherwise /usr/bin/python2.2 won't exist, and it'll try to rsync into /usr/portage on the installer ramdisk, etc. So, try to chroot and everything will work out.


you mean after chrooting into the /mnt/root-`uname -m` directory, and mounting your stuff under the /mnt/gentoo directory, you have to chroot again to the /mnt/gentoo directory? (which technically would be the /mnt/root-`uname -m`/mnt/gentoo directory)
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 4:10 am    Post subject: Reply with quote

I'm not sure about the Sparc install process, but if /mnt/gentoo is what will become your root filesystem, then you have to chroot into it.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Jun 10, 2002 4:29 am    Post subject: Reply with quote

ahh, cool.. you were right. I just tried it... it's kinda convoluted.

The sparc install is definately in it's infancy.

I'm having issues with something else right now, but it's related to the make.profile having a link to something that isn't there!

the /mnt/root-sparc directory contains a make.profile that is a link to ../usr/portage/profiles/default-sparc-1.0, but the file doesn't exist. (actually, the directory doesn't exist either)

Hmmm....
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Jun 10, 2002 4:51 am    Post subject: Reply with quote

Alright, it seems like I'm on a roll tonight (with butter, HAH!.. sorry).

I got past the issue I had with the link not being there, guess the relative pathnames kinda confused me and I was in the wrong place. I went into the /mnt/gentoo/etc directory and did an "ls -al make.profile" and saw it was linked to ../usr/portage/distfiles blahblah.. so I just removed the link and put it to the ../usr/portage/distfiles/make-sparc-1.0 i think it was called. Ran emerge rsync, and am in the process of doing the /usr/portage/scripts/bootstrap.sh.

I think after this is all over, I'm going to wipe the disk and do it over, with a notebook.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 5:03 am    Post subject: Reply with quote

A SPARC notebook or i386? :)
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Jun 10, 2002 10:20 pm    Post subject: Reply with quote

delta407 wrote:
A SPARC notebook or i386? :)


LOL

a paper one :)
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