Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/portage empty. No Files in it. No scripts/bootstrap.sh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Bonsai
n00b
n00b


Joined: 14 May 2004
Posts: 19
Location: Heidelberg, Germany

PostPosted: Fri May 14, 2004 1:36 am    Post subject: /usr/portage empty. No Files in it. No scripts/bootstrap.sh Reply with quote

I had some installations of Linux ago, it's my first try to install gentoo.

It's an old P133 / 64MB RAM, so I wiched to make a Stage1 installation, because Mandrake 9.1 makes the machine very busy. Much too slow.

First Problem was, the BIOS knows el Torito, but the LiveCD didn't boot. (Knoppix does?!?)
After resolving this, using sbminst, I had the Problem, the isapnp tools are not contend of the CD or doesn't work :(
modprobe 3C509 breaks with an unresolved symbol error, cause of isapnp.

Next step: Knoppix.
All worked fine, my other PC have a squid, so gentoo haves Internet. I started the Knoppix sshd and logged with my Mandrake into the Knoppix.
I did everything like in the installation guide.
At the Part "from Stage1 to Stage2" im very confused.

Code:
ls -a /usr/portage

gives following output:
Code:
. ..


Shit happens, but why? I want that bootstrap.sh!

[edit] I did not find any similar Questions with google an the search function of the Forum [/edit]
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri May 14, 2004 3:01 am    Post subject: Reply with quote

Everything in /usr/portage is part of the portage tree.

To get the portage tree, you need to "emerge sync" or "emerge-webrsync" or use a portage snapshot. Then you will have /usr/portage/scripts/bootstrap.sh
Back to top
View user's profile Send private message
Bonsai
n00b
n00b


Joined: 14 May 2004
Posts: 19
Location: Heidelberg, Germany

PostPosted: Fri May 14, 2004 3:30 am    Post subject: Reply with quote

emerge sync didn't work. I think my Squid doesnt get rsync through.

emerge-webrsync
sayd, it will look for the most recent package, then after two or three seconds I have a prompt, no errormessage. Looked it had been sucessfull.

Whats up? Why I did get no error an have one?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat May 15, 2004 12:05 am    Post subject: Reply with quote

Your other option is to get the portage tree manually.
Code:
# cd /usr
# wget ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/snapshots/portage-20040510.tar.bz2
# tar -xvjf portage-20040510.tar.bz2

This does pretty much the same thing as "emerge-webrsync", but you will be able to see if it works or not (and any error messages).
Back to top
View user's profile Send private message
Bonsai
n00b
n00b


Joined: 14 May 2004
Posts: 19
Location: Heidelberg, Germany

PostPosted: Sat May 15, 2004 3:40 am    Post subject: Reply with quote

Thank You, such thing I searched. I'll try it!
Back to top
View user's profile Send private message
Bonsai
n00b
n00b


Joined: 14 May 2004
Posts: 19
Location: Heidelberg, Germany

PostPosted: Sat May 15, 2004 9:32 pm    Post subject: Reply with quote

I tryed it. First it looks good, but I got an error:
Code:

making all in src
make[1]: Entering directory `/var/tmp/portage/m4-1.4-r1/work/m4-1.4/src'
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O2 -mcpu=i586 -pipe -fomit-frame-pointer m4.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O2 -mcpu=i586 -pipe -fomit-frame-pointer builtin.c
In file included from /usr/include/errno.h:36,
                 from m4.h:93,
                 from m4.c:19:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from m4.h:93,
                 from builtin.c:22:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from /usr/include/signal.h:326,
                 from /usr/include/sys/signal.h:1,
                 from m4.c:22:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory
make[1]: *** [m4.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [builtin.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/m4-1.4-r1/work/m4-1.4/src'
make: *** [all] Error 1

!!! ERROR: sys-devel/m4-1.4-r1 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)



I had to use the 2004.0 live CD, because the 2004.1 doesn't support my 3Com509B.
Is it the wrong portage for that distribution?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat May 15, 2004 10:16 pm    Post subject: Reply with quote

Bonsai wrote:
I had to use the 2004.0 live CD, because the 2004.1 doesn't support my 3Com509B.
Is it the wrong portage for that distribution?

It should work OK ...

If you are using an older LiveCD, you might want to try a newer stage1 tarball, instead of the one on the CD.
Code:
# cd /mnt/gentoo
# wget ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/releases/x86/2004.1/stages/x86/stage1-x86-2004.1.tar.bz2
# tar -xvjpf stage1-x86-2004.1.tar.bz2
Back to top
View user's profile Send private message
Bonsai
n00b
n00b


Joined: 14 May 2004
Posts: 19
Location: Heidelberg, Germany

PostPosted: Sat May 15, 2004 11:45 pm    Post subject: Reply with quote

I already used this actual stage.

Why doesn't work my squid with rsync? I have the port 873 open, but I think I also need to open 873udp, but how?

Now third times I try it :) (without rsync)

Code:
emerge-webrsync
Fetching most recent snapshot

...
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
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