(Just kidding, get the new release here: http://forums.gentoo.org/viewtopic-t-508349.html)
Join IRC #conrad and #no-sources on freenode! It's the quickest way to get help, We have great people and we can always use some more. General chat is allowed!
=~~-~~=
CONRAD Installation Guide 3.1.0 "Don't use thei guide or you may cry, wait for the real release, which will be posted here momentarily.[color]"
By: cheater-conrad (aka cheater1034, Brandon)
Real-User experiences:
"... The best installation document I've ever come across for gentoo, and there have been many around. The combination of features and the no-sources kernel is awesome. I've never had a faster system!"
"... I run conrad on every box, and even my laptop, and I must say it is the best"
These people have had success, if you've had success share it with me in this thread, in a PM, email, aim, or on IRC
Names of these users are not going to be showed for general reasons,
share your experience too
=~~-~~=
Update Log
Update Log: Will list all non-major updates here committed to overlays (conrad-updater will update to these commits)
2006-07-22 (1): committed GCC overlay fix
=~~-~~=
Background Check
What is the Conrad Installation Document?
An installation method for gentoo linux, not supported by gentoo linux, but trusted by thousands of gentoo users. It is for an ultimate system, probally one of, if not the best installation of gentoo you'll ever have. It uses unique techniques and packages which make the system blazing fast, and stable enough for every day use on any type of system. Several people along with me encourage you to try to make your next install be a Conrad one
The Conrad guide 3.x.x series is a landmark in the history of Conrad installation guides, it is much more functional than ever, easier to install, faster than ever imaginable, and more organized than ever.
We encourage you to try it, post your results, suggestions, comments, etc, and good luck
=~~-~~=
3.0.2-3.1.0 upgrade guide
1) <home@host:> su
(enter password)
2) <home@host:> conrad-updater
3) GET MAKE.CONF CHANGES FROM conrad-projects.org/make.conf!, I can not write a detailed step for this because everyone's make.conf is different, just read over the commentaries and edit it up.
4) emerge gcc libstdc++-v3 glibc binutils
5) emerge -e world
6) prelink -amR
=~~-~~=
Changelog > 3.0
)
* Conrad-Updater for updating and fresh installation
* The fbsplash was re-added to the overlay
* completely re-done hdparm section
* The overlay and configs were cleaned up a lot
* New CFLAGS
* Added option to EXPLAIN INSTALL WITH THE GENTOO LIVECD
=~~-~~=
Hosting/Donations
I am absolutely at a loss for hosting, if anyone could contact me and we can establish atleast a monthly $5, that would help more than you can imagine, so we can get a virtual server or a dedicated server for hosting the big files.
=~~-~~=
Forewarning
This is an advanced install guide for Gentoo Linux, it assumes you have previous knowledge of both Gentoo and GNU/Linux in general!
Also, DO NOT POST BUGS ON BUGS.GENTOO.ORG! I Will handle your support requests personally. The CONRAD Installation Guide is not supported in any way, shape, or form by the Gentoo Linux.
Please report your requests in #conrad (FreeNode * we have a great community there), or this thread.
=~~-~~=
FAQ
(Q) This is pure unadulterated insanity, it is completely unstable, a system would never run like this!
(A) It is a little intense, but it is stable enough for 98% of users - There are only very few packages if any known to break. The result is a high performance system, which is definitely worth the long and tedious compiles.
(Q) I thought Reiser4 was unstable? Will I lose data?
(A) Reiser4 isn't unstable. You are hearing stories
(Q) How do I submit bug reports including unsupported testing items, related problems to bugs.gentoo.org?
(A) Only post bugs regarding unsupported software to the upstream developers. If a package fails to build try it with a set of stable CFLAGS, if it still fails to build post a bug to the developer of that product. If you have a fix you may wish to submit it to bugs.gentoo.org including the patch.
=~~-~~=
Conrad IRC Channel
We have a great group of individuals who stick around and are glad to help you, or just chat with you.
Join - #conrad on FreeNode
=~~-~~=
Conrad's Crew
cheater-conrad
Role: Project Manager, Install Documents, Kernel Patches, Conrad LiveCD and Toby X LiveCD (installable)
thoffmeyer
Role: Install Documents
vipernicus
Role: Super Cool Editor
joecool,vanquisher,bigbob73,seren,p4r0l3, and RobNYC
Roles: Just super cool people
=~~-~~=
Notes: You can safely assume that x in 'hdx' is a drive letter throughout this guide. Example: 'hdx = hda or hdb'
[-1-] - Choosing a LiveCD
You have a choice between 3 reccomended and trusted install mediums. These are the 3 supported mediums by the conrad guide at this time.
1.1 - Choice 1: The Conrad LiveCD 1.0.0 (reccomended)
Should work very well, best choice for you probally.
NOTE: This LiveCD is also required for reiser4
Download Link:
Code: Select all
http://www.elfenbeinturm.cc/download/This is a new option in 1.0.0, it does have a few cons, but will work almost just as well.
Cons:
* Does not support reiser4
* Only supports up to 2.6.11 linux headers
Choose a mirror:
You can use any mirror you want as seen here:
Code: Select all
http://www.gentoo.org/main/en/mirrors.xmlFrom a usually reliable mirror
Code: Select all
http://gentoo.osuosl.org/releases/x86/2006.0/installcd/install-x86-minimal-2006.0.isoThis supports everything the conrad CD supports, except it's over 2gb of a download for a DVD. It features a full graphical user interface (GUI)
Torrent (reccomended):
Code: Select all
http://linuxtracker.org/torrents-details.php?id=2241Code: Select all
http://www.lxnaydesign.net/index.php?option=com_content&task=view&id=16&Itemid=271.4 - Burn LiveCD and Boot
This is self explanatory. Please do not continue if this is beyond your abilities.
[-2-] - Preparing Your Network
2.1 - Check For Internet Connection
Quick test:
Code: Select all
# ping http://google.comCode: Select all
# net-setup eth0THIS IS FOR ATA DRIVES ONLY!, NOT SATA OR SCSI
3.1 - View Hard Disk Configuration
This is important so we know exacty what options to set, if you get confused please do skip this step.
We must know the configuration to know what options to set.
Code: Select all
# hdparm -i /dev/hdxThese are some of our options I'm going to personally set, these will change on your configuration (hdparm -i)
I don't expect you to enable every single one, you don't have to, but you can if you would like, btw
DO NOT THINK YOU HAVE TO ENABLE EVERY ONE OF THESE SETTINGS! Most people will not/should not!
* After we set this up, make sure you add these options to /etc/conf.d/hdparm (Explained later in the guide)
* -a1024 = sets read_ahead buffer to 1024 bytes
* -a256 = default read_ahead_buffer
* -c1 = sets io support to 32bit (most commonly supported)
* -c3 = sets io support to 32bit with sync, if -c1 gives you problems, this is an alternitive, but will be slightly slower.
* -c0/2 = set io support to 16bit, if your hdd does not support 32bit
* -d1 = turn on dma
* -m16 = sets multile buffers count to 16 (my hd max. find it using hdparm -i)
* -A1 = enables read-lookahead
* -X70 = sets UDMA6
* -X69 = sets UDMA5, -X68 sets UDMA4, etc.
* -u1 = enable unmaskirq, lets Linux unmask other interrupts while handling a disk interrupt, overall improvement
non-laptops:
* -M254 = change the acoustic management, 254 is the maximum for speed, 128 is the quiet, you can choose anything in between <-- will increase power usage
laptops?:
* -B1 = enable full power management, 255 turns it completely off, you can choose any number between 1-255
3.3 - Test Hard Disk Speed
Code: Select all
hdparm -tT /dev/hdxNOTE: THESE ARE ALL OPTIONAL OPTIONS! If you can not understand hdparm -i, do not mis set any options.
First option: enabling DMA
We'll do things one at a time, and we'll start by turning on DMA
Code: Select all
hdparm -d1 /dev/hdxThis varies, we are going to set UDMA, and we'll do it as follows:
ATA133 drives: -X70
ATA100 drives: -X69
Everything below: -X66
Code: Select all
hdparm -X70 /dev/hdxThis varies, hdparm -i should read MaxMultiSect, which will specify what you can use. For me, it is 16
Code: Select all
hdparm -m16 /dev/hdxTurn it on if you like it
Code: Select all
hdparm -u1 /dev/hdxI'm going to set it to the maximum, 254
Code: Select all
hdparm -M254 /dev/hdxI'm going to turn it down because I don't need to worry about conserving power in my particular case. I'll leave it default
Code: Select all
<no command>Lets enable it for our purposes
Code: Select all
hdparm -A1 /dev/hdaYou can adjust the amount of readahead buffer with -a
I want it a little bigger than my drive's default (256) so I'll set it up to 1024
don't set this yourself, unless you're sure you know what you're doing!
Code: Select all
hdparm -a1024 /dev/hdxMost drives can support 32-bit, if yours doesn't use 16-bit, if yours gives you problem with -c1, try with sync, -c3 (slower), otherwise use 16-bit (default -c0, -c2)
Code: Select all
hdparm -c1 /dev/hdxCode: Select all
# hdparm -d1 -c1 -X70 -m16 -u1 -M254 -A1 -a1024 /dev/hdxThis guide will go about using the following setup:
/dev/hdx1 - boot
/dev/hdx2 - swap
/dev/hdx3 - root
/dev/hdx4 - windows
4.1 Using Fdisk
Remember that once you have the partition layout, you need to set the type to 82 (A.K.A Linux Swap) for the swap partition. Once you have it setup correctly, hit *w* to write and exit.
Explanations
Swap (suggestions): The swap space should be double the amount of ram you have *** up to 768mb.
e.g. (256mb ram * 512mb swap, 512mb ram * 1gb swap, 768mb ram * 1.5 gb swap)
If you have 1gb of ram, optimal swap is 1gb.
If you have 2gb of ram, optimal swap is 512mb
If you have over 2gb of ram, no swap is reccomended.
Code: Select all
# fdisk /dev/hdx
Command (m for help): p
Disk /dev/hdx: xxx heads, xx sectors, xxxx cylinders
Units = cylinders of xxxxx * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdx1 1 14 158760 83 Linux # boot * about 100 MB
/dev/hdx2 15 49 264600 82 Linux swap # swap * about 512 MB
/dev/hdx3 50 70 2564563 83 Linux # root * remainder of space, unless you dual boot windows
/dev/hdx7 70 90 remainder 07 Windows # windows * remainder of space unless you don't have windows
It is recommended that you use Reiser4 for '/', and Ext2 for '/boot'.
Code: Select all
# mkfs.reiser4 /dev/hdx3
# mkfs.ext2 /dev/hdx1
# mkswap /dev/hdx2
# swapon /dev/hdx2
Code: Select all
# mount /dev/hdx3 /mnt/gentoo
# mkdir -p /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/var/log/portage /mnt/gentoo/usr/local/portage /mnt/gentoo/var/tmp/binpkgs /mnt/gentoo/usr/portage/distfiles /mnt/gentoo/usr/portage/distfiles/cvs-src
# mount /dev/hdx1 /mnt/gentoo/boot 5.1 - Downloading THE conrad-updater script
What the...?
Glad you asked, the conrad-updater is all-new in guide 3.x, it allows easy, painless updates in a friendly dialog-based interface, in our case, we have the 'First Install' update implemented into the script, this will allow us to run the option, and skip a few steps.
Code: Select all
# wget conrad-projects.org/conrad-updater
# chmod +x conrad-updater
# mv conrad-updater /mnt/gentoo
(please read ALL of step 5.2 to continue)Code: Select all
# cd /mnt/gentoo
# wget http://gentoo.osuosl.org/releases/x86/2006.1/stages/stage3-i686-2006.1.tar.bz2
# tar -jxvpf stage3-i686-2006.1.tar.bz2
(conrad-updater cont'd)
# mv conrad-updater /mnt/gentoo/usr/bin Code: Select all
# wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
# tar -jxvpf portage-latest.tar.bz2 -C /mnt/gentoo/usr/Code: Select all
# cp /etc/resolv.conf /mnt/gentoo/etc/6.1 - Running the conrad-updater for the first time
We need to run the conrad-updater for the first time OUTSIDE of the chroot, so we can get the conrad files.
NOTE: gpm no longer required as of 1.1
Code: Select all
# cd /mnt/gentoo/usr/bin
# ./conrad-updater
(choose option 5 <new install>)Code: Select all
# wget conrad-projects.org/latest_files_fresh.tar.bz2
# tar jxf latest_files_fresh.tar.bz2 -C /mnt/gentooI will improve the ebuild soon so we don't need to do this, until then:
Code: Select all
# wget conrad-projects.org/gcc-4.1.1-piepatches-v8.7.8-cg.tar.bz2
# mv gcc-4.1.1-piepatches-v8.7.8-cg.tar.bz2 /mnt/gentoo/usr/portage/distfilesCode: Select all
# mount -t proc none /mnt/gentoo/proc
# mount --bind /dev /mnt/gentoo/dev Code: Select all
# chroot /mnt/gentoo /bin/bash
# env-update; source /etc/profileChange according to your zone
Code: Select all
# rm -rf /etc/localtime
# ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime6.5 - Using the older linux headers
Code: Select all
# echo ">=sys-kernel/linux-headers-2.6.16" >> /etc/portage/package.mask/misc
# echo "=sys-libs/glibc-2.4-r4" >> /etc/portage/package/mask/miscConrad 3.1.0 make.conf file
Config File:
Code: Select all
# Conrad Installation Guide 3.1.0 make.conf file
# <etc/make.conf>
# After reading all the commentary's in this file, you probally will want to delete them.
# Architecture Setting
# replace with your architecture
# Ex. athlon64, athlon-xp, pentium-m, and so on.
YOURARCH="i686"
# Hashstyle
# Uncomment when directed in the conrad guide
#LDFLAGSHASHSTYLE=" -Wl,--hash-style=gnu"
# Compiler Parameters
CFLAGS="-Os -march=${YOURARCH} -frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1${LDFLAGSHASHSTYLE}"
CHOST="i686-pc-linux-gnu"
# Keywords to accept
ACCEPT_KEYWORDS="~x86"
# Setup the overlays
CONRAD_OVERLAY="/usr/local/overlays/conrad"
PORTAGE_OVERLAY="/usr/local/portage"
PORTDIR_OVERLAY="${CONRAD_OVERLAY} ${PORTAGE_OVERLAY}"
# Niceness and features
PORTAGE_NICENESS="10"
FEATURES="distlocks"
# USE Flags
# (fill in USENO with use flags you want disabled, and USEYES for use flags you want enabled)
# DO NOT PUT THE "-" SIGN IN THE USENO SECTION
# The USENO section must NEVER BE BLANK; Separate use flags by spaces
USENO="livecd"
USEYES="nptlonly unicode hashstyle"
USE="-${USENO} ${USEYES}"
# Multiple Cores/CPUS (uncomment as necessary)
# 1 CPU: one core
#MAKEOPTS="-j2"
# 1 CPU: two cores
#MAKEOPTS="-j3"
# 1 CPU: four cores
#MAKEOPTS="-j5"
# 2 CPUs: one core each
#MAKEOPTS="-j4"
# 2 CPUs: two cores each
#MAKEOPTS="-j6"
# 2 CPUs: four cores each
#MAKEOPTS="-j8"
# Input_Devices for Modular Xorg
# (nvidia-based example given)
# INPUT_DEVICES="keyboard mouse"
# VIDEO_CARDS="nv nvidia vesa"Code: Select all
YOURARCH="pentium-m"
#LDFLAGSHASHSTYLE=" -Wl,--hash-style=gnu"
CFLAGS="-Os -march=${YOURARCH} -msse3 -frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1${LDFLAGSHASHSTYLE}"
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS="~x86"
CONRAD_OVERLAY="/usr/local/overlays/conrad"
PORTAGE_OVERLAY="/usr/local/portage"
PORTDIR_OVERLAY="${CONRAD_OVERLAY} ${PORTAGE_OVERLAY}"
PORTAGE_NICENESS="10"
FEATURES="distlocks"
USENO="gnome"
USEYES="nptlonly unicode hashstyle fbcon X alsa kde qt gtk xmms jpeg png win32codecs"
USE="-${USENO} ${USEYES}"
MAKEOPTS="-j3"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nv nvidia vesa"Code: Select all
wget http://conrad-projects.org/make.conf
# mv make.conf /etcYou will need to change 'YOURARCH="i686"', to your supported processor.
Options: pentium2, pentium3, pentium4, prescott, k8, opteron, pentium-m, i686, athlon-xp, etc.
Code: Select all
# nano /etc/make.conf7.3 - Choosing processor-specific USE FLAGS
This is optional, if you are unsure of yourself, skip to next step. Check /proc/cpuinfo for available options.
Code: Select all
# nano /etc/make.conf
# Options we're using (cat /proc/cpuinfo will tell you your options available)
# DON't MESS UP! Otherwise you system won't work correctly
USE="nptlonly unicode sse sse2 sse3 3dnow 3dnowext mmx mmxext"
NOTICE: You can and will BREAK packages if you choose the wrong options.Most recent processors support sse3, such as: most athlon64 939 CPUs, all AM2 AMD CPUs, Some pentium4's, All pentium d's, core 2 duo, and so on.
Check /proc/cpuinfo for sse3 or pni in the flags section, either of these things means your CPU supports sse3.
If it does support it, add the following to your CFLAGS:
Code: Select all
-msse38.1 - Setting Locales - OPTIONAL
This is optional. Set this according to your area. It saves build time.
Code: Select all
# nano -w /etc/locale.genCode: Select all
# This file names the list of locales to be built when glibc is installed.
# The format is <locale>/<charmap>, where <locale> is a locale from the
# /usr/share/i18n/locales directory, and <charmap> is name of one of the files
# in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are
# ignored. Here is an example:
# en_US/ISO-8859-1
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
Code: Select all
# locale-genCode: Select all
# emerge portage
# emerge --syncCode: Select all
# emerge binutils glibc
# binutils-config 2
# source /etc/profile
# emerge -P binutilsCode: Select all
# nano /etc/make.confCode: Select all
Uncomment the following line:
#LDFLAGSHASHSTYLE=" -Wl,--hash-style=gnu"
... It should now look like ...
LDFLAGSHASHSTYLE=" -Wl,--hash-style=gnu"Code: Select all
# emerge glibc binutils gcc libstdc++-v3 libtool portageCode: Select all
# gcc-config -l
(Lists installed gcc(s), if you see 4.1.1 you're on a role)
# gcc-config 6
# env-update; source /etc/profile
# emerge -P gccRebuild your toolkit again. It is the proper method that with a new toolkit, that it be built on itself.
Code: Select all
# emerge binutils glibc gcc libstdc++-v3 libtool portageWe need to remove the version of pam-login included in the stock Stage3. It is now included in the shadow package, and creates a world confict on ~x86.
Code: Select all
# emerge -C pam-login; emerge shadow
(the "c" is capital "C")Code: Select all
# emerge -e world
# etc-update
(Merge all files....) -59.1 - Emerging No-Sources
Code: Select all
# emerge no-sources-----
All I can do is tell you how to get started, and what is required.
Code: Select all
# cd /usr/src/linux
# make menuconfig
Code: Select all
Required Options...
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
General setup --->
[*] Support for hot-pluggable devices
Loadable Module Support --->
[*] Module unloading support
Processor type and features --->
[*] Standard x86 support (Used for amd64/em64t cpus)
(Change accordingly)
(Your Processor Family) Processor family
[*] Symmetric multi-processing support
# If you have exactly 1GB of memory use the following else just leave it at default.
Memory Split (3G/1G user/kernel split (for full 1GB Low memory)) ---->
File systems --->
Pseudo Filesystems --->
[*] /proc file system support
[*] Virtual memory file system support (former shm fs)
<*> Ext3 journalling file system support
<*> Second extended fs support
Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
[ ] SCSI Emulation Support
Device Drivers --->
Networking support --->
<*> PPP (point-to-point protocol) support
<*> PPP support for async serial ports
<*> PPP support for sync tty ports
100 MBIT/1000 MBIT --->
(make sure you compile in your proper network driver
Sound --->
[M] Sound card support
Alsa --->
PCI Cards --->
[M] Your Driver, mine is intel8x0, a common one is emu10k1 for soundblaster cards
USB Support --->
<*> USB Human Interface Device (full HID) support
Device Drivers > Graphics support:
[*] Support for frame buffer devices
<*> VESA VGA graphics support
VESA driver type (vesafb-tng) --->
(HRESxVRES@FREQ) VESA default mode # Pick your resolution - eg. 1024x768@84
Device Drivers > Graphics support > Console display driver support:
[*] Video mode selection support
<*> Framebuffer Console support
Device Drivers > Graphics support:
[*] Support for the framebuffer splash
Device Drivers > Block devices:
<*> RAM disk support
(4096) Default RAM disk size (kbytes) (NEW)
[*] Initial RAM disk (initrd) supportWe're going to configure another important aspect in our kernel. Here is a run down of each IO Scheduler.
CFQ: Best all-around for desktop performance, including reiser4. If you want to use the others go for it, but CG now reccomends CFQ
Code: Select all
KERNEL CONFIGURATION
Block Devices > IO Schedulers
[*] Anticipatory
[*] Deadline
[*] CFQ
(Default = Anticipatory/Deadline/CFQ) 9.4 - Emerging Grub
Code: Select all
(make sure the /boot partition is mounted)
# emerge grub9.5 - Compiling the Kernel
Code: Select all
# make all ; make modules_install ; make install10.1 - Emerging Services and Tools
Code: Select all
# emerge syslog-ng reiserfsprogs reiser4progs sysfsutils dhcpcd gentoolkit acpid slocate vixie-cronCode: Select all
# rc-update add syslog-ng default
# rc-update add net.eth0 default
# rc-update add acpid default
# rc-update add gpm default
# rc-update add vixie-cron default
# rc-update add numlock default11.1 - Emerging Splashutils and the Conrad Boot Theme
Code: Select all
# emerge gentoo-sources
# cd /usr/src/linux
# make allyesconfig
# make modules_prepare
# emerge splashutils
# emerge -C gentoo-sources
# rm /usr/src/linux
# ln -s /usr/src/linux-2.6.17-no5 /usr/src/linux
# emerge conrad-fbsplash
# rc-update add splash defaultPlease select your default resolution here.
Code: Select all
# cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash -r 1024x768 conrad12.1 - Modifying '/boot/grub/grub.conf'
In grub, hdx1 is (hd0,0), and hdx2 is (hd0,1) and so forth.
Code: Select all
nano -w /boot/grub/grub.conf
timeout 30
default 0
# Splash is on boot partition
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Conrad-Gentoo 3.1 | 2.6.18-no2
root (hd0,0) # boot partition
kernel /vmlinuz-2.6.18-no2 root=/dev/hda3 video=vesafb:1024x768-32@80,mtrr,ywrap splash=silent,fadein,theme:conrad quiet CONSOLE=/dev/tty1
initrd (hd0,0)/fbsplash
title=Windows Partition
rootnoverify (hd0,3) # pretend it is on hda4
makeactive
chainloader +1Code: Select all
# grub
<grub:> root (hd0,0) # boot partition
# (hd0) is the MBR of the drive.
<grub:> setup (hd0)
<grub:> quit13.1 - Editing Configuration Files
Replace 'hdx' with the correct drive letter.
Code: Select all
# nano -w /etc/conf.d/hdparm
# lets add all our options as seen previously above. refer back to it if you need toCode: Select all
# nano /etc/conf.d/hostname
HOSTNAME="conrad-gentoo"Code: Select all
# nano -w /etc/hosts
127.0.0.1 conrad-gentoo localhostCode: Select all
# nano -w /etc/conf.d/domainname
# DNSDOMAIN=""
# NISDOMAIN=""(Not necessary for dhcp users.)
Code: Select all
# nano -w /etc/conf.d/net
For help, refer to '/etc/conf.d/net.example'NOTE: Reiser4 users use noatime and nodiratime in the options
Code: Select all
# nano /etc/fstabFirst set the root password
Code: Select all
# passwd
<enter new password>
<confirm new password>Code: Select all
# useradd -m -G users,wheel,audio,video conrad
# passwd conrad
<set conrad password>
<confirm conrad password>14.1 - Unmounting and Rebooting
Code: Select all
# exit
# umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo /mnt/gentoo/dev
# reboot14.2 - Booting New System
Hopefully you'll have a grub menu, and be able boot into your new system.
If you get a kernel panic then check to make sure you configured everything correctly by booting back into the Conrad LiveCD and following, Steps 4.3, 5.3, 6.1
14.3 - Prelinking
We need to prelink our binaries to get full usage from hashstyles. We need to edit conf.d for prelink first, so don't skip that, and do it before running prelink.
Code: Select all
# emerge prelink
# env-update
# nano /etc/conf.d/prelink
...find:
PRELINKING="no"
...change to:
PRELINKING="yes"
# prelink -amR15.1 - Looking at the possible use variables
Code: Select all
# nano -w /usr/portage/profiles/use.descCode: Select all
USE="x86 oss apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++
libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl
slang spell ssl svga tcpd truetype X xml2 xmms xv zlib indent"There are tons of use flags to choose from, personally, I like a kde/gtk/nvidia system, here is how I will set my use flags
Code: Select all
# nano -w /etc/make.conf
USE="nptlonly alsa X gtk -gnome qt kde -arts win32codecs nvidia opengl -gstreamer"Most people don't need this, it will fail to start in most cases
Code: Select all
# rc-update del netmount[-16-] - Installing Modular X and a graphical environment
16.1 - Emerging Xorg
Code: Select all
# emerge virtual/x11You should be able to do this on your own.
Code: Select all
# xorgconfigCode: Select all
# X -configureYou can choose to install any DE or WM, by typing "emerge gnome gnome-light kde openbox fluxbox blackbox etc"
16.4 - KDE - The CONRAD Reccomended Way*
Code: Select all
First of all, we are going to emerge the base of kde
NOTE: perrty and risky use flags are already enabled for QT in package.use
# emerge kdelibs kdebase-startkde
We need to emerge a file manager, I recomend emerging konqueror too
Now we need to emerge some nice applications we use, here is a list of applications that I use with KDE
01. konqueror - KDE/QT Web Browser and File Browser
02. net-im/kopete - Latest Kopete instant messanger, I reccomend this one instead of the kde-base/kopete one, as this is newer
03. konversation - QT Irc Client
04. kmail - QT E-mail Client
05. ksnapshot - KDE Screenshot Taker
06. kpdf - pdf viewer
07. Amarok - audio player
08. Konsole - KDE Terminal Program
09. KTorrent - KDE Torrent
There are tons of more qt applications for certain items, you can check the kde-base directory in /usr/portage. Also check the meta ebuilds if you are looking for a certain app included in one of the bundles (e.g. kdegraphics-meta) If you have 3D acceleration on your card, you may want to, and should install the NVidia or ATI Drivers.
Gentoo NVIDIA Guide: http://www.gentoo.org/doc/en/nvidia-guide.xml
Gentoo-Wiki ATI Guide: http://gentoo-wiki.com/HOWTO_ATI_Drivers
16.6 - Configuring Login Manger (GDM)
If you did gnome-light or kde you need to emerge gdm
Code: Select all
# emerge gdm
# nano /etc/rc.conf
DISPLAYMANAGER="gdm"
# rc-update add xdm defaultFor more information you may want to visit the Gentoo Linux Alsa Guide.
Gentoo Alsa Guide: http://www.gentoo.org/doc/en/alsa-guide.xml
17.1 - Emerging alsa packages
(Assuming you have the sound card and alsa items as modules in-kernel)
Code: Select all
# emerge alsa-lib alsa-headers alsa-utilsCode: Select all
# alsaconfCode: Select all
# nano -w /etc/modules.d/alsa
<Find near the botton snd-***, and sound-***>
change *** to your sound card name, for example...
(if it is already there, just ignore it)
snd-intel8x0 sound-intel8x0
snd-emu10k1 sound-emu10k1You should run alsamixer to adjust the levels of your card, and make sure it is all unmuted, you can press 'M' to unmute/mute the card, by default, alsaconf should unmute all or most, depending on setup, of the things required.
Code: Select all
# alsamixerCode: Select all
# rc-update add alsasound default18.1 - Updating the world
First of all always keep the sync up-to-date, a emerge sync once a day at least is recommended
Code: Select all
# emerge --syncCode: Select all
# emerge -pvuD worldNow your system should be on the edge in speed and it should be the most up-to-date system once installed.
Your system (hopefully) Now includes...
* Reiser4 Filesystem (with deadline IO sched)
* GCC 4.1.1-conrad built system (exclusive conrad gcc rigged overlay, which improves compilation and all)
* Incredibly quick system, surprisingly more stable than needed for everyday desktop use
* The latest packages portage has to offer
* A very nice boot-up splash with a progress bar
-----
Please leave your feedback, suggestions, and support issues.
For Support
For support issues, post in this forum.
If you need other assistance, have suggestions, or need to contact me personally, do so at.
Email: cheater1034@gmail.com
AIM: cheater1034
IRC: #conrad ON Freenode
------
Messages from Conrad
If you are interested in developing/help develop something for Conrad Gentoo Projects, email me at,
cheater1034@gmail.com
Thanks,
cheater-conrad
Post all support issues in this thread or on IRC at #conrad




