Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo, and don't have a make.conf file
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
West201
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2011
Posts: 108

PostPosted: Fri Jul 27, 2012 6:34 pm    Post subject: Installing Gentoo, and don't have a make.conf file Reply with quote

I'm reinstalling Gentoo, and I've downloaded the most recent stage3 and portage.bz2, but in /etc/portage/ there is not a make.conf. I remember a few months ago I had a make.conf file that was mostly commented out. I'm following the Gentoo installation guide, but don't want to continue without being sure.

The folowing command with the guide leads me to creating a new file rather then editing any existing make.conf.
nano -w /mnt/gentoo/etc/portage/make.conf
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2575

PostPosted: Fri Jul 27, 2012 6:40 pm    Post subject: Reply with quote

Try mv /etc/make.conf /etc/portage/make.conf from what I understand, the stage3 is still built with make.conf in the old spot.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
West201
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2011
Posts: 108

PostPosted: Fri Jul 27, 2012 6:44 pm    Post subject: Reply with quote

penguin swordmaster wrote:
Try mv /etc/make.conf /etc/portage/make.conf from what I understand, the stage3 is still built with make.conf in the old spot.


thanks for replying.
I get this
Gentoo-2012 ~ # mv /etc/make.conf /etc/portage/make.conf
mv: cannot stat ‘/etc/make.conf’: No such file or directory

I've extracted the stage3 and portage bz2 on the partition as per the instructions.
Back to top
View user's profile Send private message
West201
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2011
Posts: 108

PostPosted: Fri Jul 27, 2012 6:53 pm    Post subject: Reply with quote

ADD:

The compressed files I extracted to the partition:

stage3-amd64-20120621.tar.bz2
portage-latest.tar.bz2
Back to top
View user's profile Send private message
pidsley
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2012
Posts: 80

PostPosted: Fri Jul 27, 2012 6:59 pm    Post subject: Reply with quote

penguin swordmaster wrote:
Try mv /etc/make.conf /etc/portage/make.conf from what I understand, the stage3 is still built with make.conf in the old spot.


If you're still outside the chroot I think this should be

Code:
mv /mnt/etc/make.conf /mnt/etc/portage/make.conf


Last edited by pidsley on Fri Jul 27, 2012 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2575

PostPosted: Fri Jul 27, 2012 7:01 pm    Post subject: Reply with quote

Ok, that beats me. If you like here is the first bit of my make.conf. It should be about the same as the one that used to be provided by the stage 3, with the exception of -march=native. I would recommend using that anyway since it is the easiest and safest way to set the -march variable.


Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native  -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
ACCEPT_KEYWORDS="amd64"

_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
West201
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2011
Posts: 108

PostPosted: Fri Jul 27, 2012 7:01 pm    Post subject: Reply with quote

pidsley wrote:
JESSEJJ89 wrote:
ADD:

The compressed files I extracted to the partition:

stage3-amd64-20120621.tar.bz2
portage-latest.tar.bz2


Are all the other directories and files where they should be (did you unpack the stage3 and portage files successfully)?

What does
Code:
ls /mnt/gentoo/etc
look like?


Gentoo-2012 gentoo # ls /mnt/gentoo/etc
DIR_COLORS csh.env etc-update.conf group inputrc ld.so.conf.d make.conf mke2fs.conf pam.d protocols sandbox.conf shells udev
bash default filesystems gshadow issue local.d make.conf.catalyst modprobe.d passwd rc.conf sandbox.d skel wgetrc
ca-certificates dispatch-conf.conf fstab host.conf issue.logo locale.gen make.globals nanorc portage rmt securetty ssh xinetd.d
ca-certificates.conf e2fsck.conf gai.conf hosts kernel localtime make.profile networks profile rpc security ssl xml
conf.d env.d gentoo-release init.d ld.so.cache login.defs man.conf nscd.conf profile.d rsyncd.conf services sysctl.conf
cron.daily environment gpm inittab ld.so.conf logrotate.d mime.types nsswitch.conf profile.env runlevels shadow terminfo
Gentoo-2012 gentoo #



I extracted to them to the root partition /sda/dev3, and it just makes me nervious to continue without being sure. I don't want to have to reinstall it 3 days later lol


Last edited by West201 on Fri Jul 27, 2012 7:07 pm; edited 2 times in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jul 27, 2012 7:04 pm    Post subject: Reply with quote

JESSEJJ89 ...

I think with recent stages make.conf has been moved from /etc to /etc/portage ... same behavior different location.

best ... khay
Back to top
View user's profile Send private message
pidsley
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2012
Posts: 80

PostPosted: Fri Jul 27, 2012 7:05 pm    Post subject: Reply with quote

(edit) removed -- not helpful.

Last edited by pidsley on Fri Jul 27, 2012 7:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
West201
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2011
Posts: 108

PostPosted: Fri Jul 27, 2012 7:09 pm    Post subject: Reply with quote

pidsley wrote:
It looks like you are missing all the portage stuff. Did you do this

Code:
# tar xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr


with the -C? I forgot that once...


I copied and pasted it from the book. Also before that I used "cd /mnt/gentoo".. I'm extracting it again.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2575

PostPosted: Fri Jul 27, 2012 7:10 pm    Post subject: Reply with quote

Quote:
it looks like you are missing all the portage stuff


No, he has that. It looks like the handbook is just ahead of the devs with the move.

RE OP:

OK I feel like an idiot. Your not in the chroot, and your make.conf file exists in /etc/ use this command to move it to /etc/portage/

mv /mnt/gentoo/etc/make.conf /mnt/gentoo/etc/portage/make.conf
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
pidsley
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2012
Posts: 80

PostPosted: Fri Jul 27, 2012 7:11 pm    Post subject: Reply with quote

penguin swordmaster wrote:
Quote:
it looks like you are missing all the portage stuff


No, he has that. It looks like the handbook is just ahead of the devs with the move.

RE OP:

OK I feel like an idiot. Your not in the chroot, and your make.conf file exists in /etc/ use this command to move it to /etc/portage/

mv /mnt/gentoo/etc/make.conf /mnt/gentoo/etc/portage/make.conf


Ha! I almost got that right! :) Too much coffee this morning. I'll shut up now.
Back to top
View user's profile Send private message
West201
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2011
Posts: 108

PostPosted: Fri Jul 27, 2012 7:21 pm    Post subject: Reply with quote

Thanks now there is a make.conf file in the portage folder. I took a snapshot of the portage folder just to make sure it looks like it should .

http://img577.imageshack.us/img577/4971/snapshot2l.png
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2575

PostPosted: Fri Jul 27, 2012 8:11 pm    Post subject: Reply with quote

Looks fine to me. According to the old logic the only things in there should be the package.* folders/directorys.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
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