LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2005, 11:30 AM   #1
Super Nade
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 C
Posts: 9

Rep: Reputation: 0
Gentoo install help!! bootstrap problems


Guys, I'm following the installation handbook word for word and the Portage directory is missing! Thats what's so puzzling. I did do a
Code:
cd /usr
and a
Code:
 ls -ax
but the Portage directory wasn't in there!

Well, the manual says I could use the emerge-webrsync. That worked (no updates were done) as I got no error messages.

Should I reinstall?

system specs are in my sig.

HDD Config is as follows:-
IDE [Primary, Linux]
I have 3 partitions:
boot 32M
swap 512M
root rest of the hdd

SATA [Windows]
not detected by Gentoo.

Last edited by Super Nade; 03-10-2005 at 02:42 PM.
 
Old 03-10-2005, 01:06 PM   #2
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
from what i can remember, it's a seperate package on the first cd which you need to extract into /usr/portage

browse everything on the cd and when you come across a dir called 'All', you''ve found it.
 
Old 03-10-2005, 02:37 PM   #3
Super Nade
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 C
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by 0pal_t0ad
from what i can remember, it's a seperate package on the first cd which you need to extract into /usr/portage

browse everything on the cd and when you come across a dir called 'All', you''ve found it.
I've been following every step carefully. O.K. This is what I did so far. Starting from scratch.

1.Changed root password
2.Created a user
3.setup network as follows:
Code:
#modprobe sk98lin
#net-setup
#ping -c 3 www.google.com
4.Partitioned HDD as follows:
/dev/hdb1 Boot 32M
/dev/hdb2 Swap 512M
/dev/hdb3 Root rest of the HDD

I got this message when I began partitioning ie used
Code:
 fdisk /dev/hdb
Message:
Code:
The number of cylinders for this disk is set to 7476.There is nothing wrong with thta, but this is larger than 1024 :and in certain setups cause problems with:-
1.software that runs at boot time (eg old versions of LILO)
2.Booting and partition software from other OS'es (eg. DOS FDisk, OS/2 FDisk)
5.Applied the respective partitions and enabled swap
6.Mounted partitions (page 40)
7.checked date
8.Used stage 1 from the cd (Page 43)
9.Installed portage (Page 44)

When I did thispage 45)
Code:
#cp /mnt/cdrom/distfiles/*  /mnt/gentoo/usr/portage/distfiles/
I got this message:
Code:
cp:omitting directory '/mnt/cdrom/distfiles/cvs-src
10.Configured kernel compile options
making the following changes:
Code:
CFLAGS=" -pipes -02"
MAKEOPTS="-j2"
11.Installing Base Gentoo system (page 49)
I typed:
Code:
#mirrorselect -a -s4 -0 >> /mnt/gentoo/etc/make.conf
I got this message
Code:
/usr/sbin/mirrorselect:line1:portageq:command not found
12.Mounted the proc filesystem
13.Entered the new envoirnment (page 50)

14.Updating the portage tree
I typed:
Code:
#emerge --sync
I get the error message: (same error message displayed when I did emerge-info
Code:
!!!Invalid token (not"=") 
!!!ParseError: nvalid token (not"=") ://etc/make.conf:line 7 in //etc/make.conf
!!!Incorrect multiline literals can cause this. Do not use them
So I went ahead and tride code listing 6 page 51:
Code:
emerge-webrsynch
No error messages. It scanned through a lot of websites and said no packages were available.

15.Configured USE variable according to the code on pg 52.
16.Progressing from stage1 to stage2:
I typed:
Code:
#scripts/bootstrap.sh
I got his error message many times over:
Code:
!!!Invalid token (not"=") 
!!!ParseError: nvalid token (not"=") ://etc/make.conf:line 7 in //etc/make.conf
!!!Incorrect multiline literals can cause this. Do not use them
This is where I'm stuck at. I hope I've been a bit more clear this time.
Did I miss anything?

Thanks mate,

Folks at the Gentoo Forums seem to be getting mad at me for asking!

Last edited by Super Nade; 03-10-2005 at 02:48 PM.
 
Old 03-10-2005, 02:54 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
First did you fix /etc/make.conf?
next try this;
Code:
(Activate the swap partition)    # swapon /dev/hdax
(Mount the root partition)       # mount /dev/hdax /mnt/gentoo
(Mount the boot partition)       # mount /dev/hdax /mnt/gentoo/boot
(Go to the mountpoint)           # cd /mnt/gentoo
(Copy over nameserver information)
                                 # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
(Mount the proc filesystem)      # mount -t proc none /mnt/gentoo/proc
(Chroot into the new environment)# chroot /mnt/gentoo /bin/bash
(Load the necessary variables)   # env-update; source /etc/profile
(Network-only, non-GRP: update Portage)
                                 # emerge --sync
What Happens?
 
Old 03-10-2005, 02:56 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
post line 7 of make.conf, if your emerge sync failed, you wouldn't have a portage tree to work from.
 
Old 03-10-2005, 03:05 PM   #6
Super Nade
LQ Newbie
 
Registered: Dec 2004
Distribution: Mandrake 10.1 C
Posts: 9

Original Poster
Rep: Reputation: 0
I looked at the /etc/make.conf file and after the first 3 lines, it was full of garbage characters. Should I delete the garbage? The only thing I could make out of line seven was ipv6. The rest was junk (special characters).

I'm in XP right now, so I'll try the fix /etc/make.conf and get back to you guys.

Now, do I have to reinstall from scratch or can I continue whern I left off?

Last edited by Super Nade; 03-10-2005 at 03:06 PM.
 
Old 03-10-2005, 03:09 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
mirrorselect put all that junk in there.heres mine;
/etc/make.conf
Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="apache2 cddb gimp gtkhtml imlib2 java mmx mmx2 mp3 mplayer nvidia pic \
     ppds sse sse2 syslog -oss -arts -kde -libg -qt -quicktime"
MAKEOPTS="-j2"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="sandbox ccache candy"
CCACHE_SIZE="2G"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.eliteitminds.com"
 
Old 03-10-2005, 06:06 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,249

Rep: Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156
Skip the mirrorselect; it's problematic - no, it's a crock.
Delete the crap, go with the defaults. Later on you can look at the mirror list, and pick a local one if you wish.

Generally after a problem, fix the problem and proceed from there - as posted earlier by comprookie2000.
That is, you do *NOT* have to start from the beginning.

Yet ....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo: Help with portage. Scorlibrian Linux - Distributions 5 07-02-2005 07:52 AM
Missing Commands in Gentoo Install knoxlinuxuser Linux - Newbie 3 04-12-2005 11:08 AM
gentoo portage time112852 Linux - Software 1 01-03-2005 12:15 AM
Gentoo Portage and packages 0pal_t0ad Linux - General 3 12-06-2004 08:53 AM
Gentoo Portage acjt Linux - Distributions 1 04-02-2003 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration