I have this other partition called Recovery though i'm sure this doesn't concern the issue right here.
Do I just need to create some free space through Windows and then create the partitions through the Gentoo installation?
Thanks.

Code: Select all
ls /mnt/gentoo/
Code: Select all
cd /mnt/gentoo
wget http://mirrors.rit.edu/gentoo/snapshots/portage-latest.tar.bz2
tar -jxvf portage-latest.tar.bz2 -C /mnt/gentoo/usr
EDIT: alright I got Portage unpacked but now comes a section in the handbook I'm truly lost in... namely compiling the optimization flags. I've entered the File: /mnt/gentoo/etc/make.conf which I'm supposed to edit somehow, but I don't think the handbook is really giving me a clear message on what to do here. As far as I can make out, this is the part where I optimize Gentoo specifically for my PC's hardware.bobspencer123 wrote:I would recommend that you use systemrescue cd to install gentoo as you can do it from a graphical environment which allows you to view the handbook on the same computer and you can use firefox to browse for things like downloading portage snapshots.
if you want to stay where you are you could just do
Code: Select all
cd /mnt/gentoo wget http://mirrors.rit.edu/gentoo/snapshots/portage-latest.tar.bz2 tar -jxvf portage-latest.tar.bz2 -C /mnt/gentoo/usr

Code: Select all
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
CHOST=DON"T MESS WITH THIS
MAKEOPTS="-j5" **** generally cpu cores +1 is the guide given *****

Code: Select all
CFLAGS="-march=amdfam10 -O2 -pipe"
CXXFLAGS="${CFLAGS}"The handbook is right in front of me at all times trust me, just having some difficulty interpreting it once in a while.bigbangnet wrote:For the portage problem you had before the commands can be case sensitive. So if theres a capital letter in a file be sure to enter it because it will say file not found. Compared to windows, windows dont give a crap if its a capital C or a small c, linux does and can make a man cry if you make that small mistake.
for the make.conf problem. First make sure you read the section of the handbook about make.conf which should be chapter 5. In general, it want you to use your cpu to the maximum so you can compile very fast. You could also read the Compilation optimization guide so you can have a better understanding of it.
For example, I got a quad core amd cpu so i used amdfam10 for my cflag
I didn`t put anything else that way theres less chance of problems or breakage. If your not sure about your cpu or architecture you can read this to help you choose and this guide to give you a list of options which can help you.Code: Select all
CFLAGS="-march=amdfam10 -O2 -pipe" CXXFLAGS="${CFLAGS}"
hope it helps you.
ps: don't be afraid to read the handbook more than once
EDIT: crap, got beaten by bobspencer123 lol

-march=native will include all safe cflag optimizations based on your cpu and therefore it does the heavy lifting for you.Epiphany wrote:Alright I think I've gotten the gist of making flags. Just a question:
At the bottom there is a flag called "USE="mmx sse sse2" (not written by me) I read in the handbook that these are for multimedia purpose optimizations, but I was wondering shouldn't it be in "CFLAGS="-mmx sse sse2" like that? Also if I want to optimize for 3DNow (I'm assuming this is for gaming optimization) where should I put these?
So basically my file at the moment looks like this:
CFLAGS="-02 -pipe -march=native"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu" (haven't even touched this, too scared)
USE="mmx sse sse2"
Code: Select all
find /lib/modules/3.2.1-gentoo-r2/ -type f -iname '*.0'

Code: Select all
find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less

