After Windows is now completely up and running, and after I also have updated my BIOS to rel 1202, I started with Linux.
EDIT: After having some problems in the next step, I decided to start all over – and after some feedback on my original disk layout, I decided on the one described below. Also, the original chosen make.conf seemed a little…. to “original”, so I decided for the standard one below.
I downloaded a kernel of truth live-cd, as it has drivers for the attansic L1 ethernet controller included as module atl1.
It turned out that the live cd configured my network interface to eth3 – with this now revealed, the game can start!
As usual, the Gentoo handbook is my main source – at least, for the general guidance. I will note where I use other docs.
Today, we are going to partition and format the rest of the disk. I already blogged about the partition layout of the disk; so at least the partition sizes should be more or less ok. But I will change / to be 100G of size (instead of 50) and create an additional FAT32 in the remaining space of the disk (for easy data transfer between Linux and Windows).
So, we end up in section 4 of the handbook. Using cfdisk, I create the partition table as given:
Name Flags Part Type FS Type Label Size (MB)
sda1 Boot Primary NTFS [^F] 53868.41
sda5 Logical NTFS [^L] 107372.81
sda6 Logical Linux 102396.52
sda7 Logical Linux 2048.10
sda8 Logical Linux 10240.48
sda9 Logical Linux swap 1019.94
sda10 Logical Linux 102396.52
sda11 Logical W95 FAT32 20925.12
(Note that sda1 and sda5 are the existing Windows partitions – I thus created sda6 to sda11).
After writing the partition table to disk, I create the file systems:
mke2fs -j -O dir_index/dev/sda6
mke2fs -j -O dir_index /dev/sda7
mke2fs -j -O dir_index /dev/sda8
mkswap /dev/sda9
mke2fs -j -O dir_index /dev/sda10
mkfs.vfat /dev/sda11
We activate the swap and try to mount root:
swapon /dev/sda9
mount /dev/sda6 /mnt/gentoo
Now, we surf to a gentoo mirror (we are now in chapter 5 of the handbook) and download the i686 tarball for stage 3 which we immediately unpack.
As we now have to downloade a portage snapshot, we mount the portage partition:
mkdir /mnt/gentoo/usr/portage
mount /dev/sda7 /mnt/gentoo/usr/portage
Now, we download the snapshot and unpack it.
The last thing to do to complete chapter 5 is to set some compiler flags in make.conf. Here’s the final make.conf:
ARCH="nocona"
COREFLAGS="-pipe -fomit-frame-pointer"
CPUFLAGS="-msse3"
CFLAGS="-Os -march=${ARCH} ${CPUFLAGS} ${COREFLAGS}
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
CHOST="i686-pc-linux-gnu"
PORTAGE_NICENESS="12"
FEATURES="parallel-fetch distlocks"
MAKEOPTS="-j3"
The explanations can be found as follows:
Now, everything is prepared for the next step – chrooting and installing the toolchain! Stay tuned!













