View previous topic :: View next topic |
Author |
Message |
arkane l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/D&D Related/assasin.gif)
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Jun 10, 2002 3:44 am Post subject: Issues with emerge rsync during install |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
delta407 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/d02a5f053d2286340332d.jpg)
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jun 10, 2002 3:50 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkane l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/D&D Related/assasin.gif)
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Jun 10, 2002 4:07 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
delta407 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/d02a5f053d2286340332d.jpg)
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jun 10, 2002 4:10 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkane l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/D&D Related/assasin.gif)
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Jun 10, 2002 4:29 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
arkane l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/D&D Related/assasin.gif)
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Jun 10, 2002 4:51 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
delta407 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/d02a5f053d2286340332d.jpg)
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jun 10, 2002 5:03 am Post subject: |
|
|
A SPARC notebook or i386? ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arkane l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/D&D Related/assasin.gif)
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Jun 10, 2002 10:20 pm Post subject: |
|
|
delta407 wrote: | A SPARC notebook or i386? ![Smile :)](images/smiles/icon_smile.gif) |
LOL
a paper one ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|