Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OUTDATED]Conrad Install Guide: Dev Edition 1.5.5
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Wed Feb 01, 2006 8:29 pm    Post subject: [OUTDATED]Conrad Install Guide: Dev Edition 1.5.5 Reply with quote

This guide is not outdated. Please use: http://linktrim.com/4ml

Conrad Gentoo Projects Presents...
Conrad Install Guide: Dev Edition 1.5.5 - Codenamed: "He's Beginning to Believe"
This version of the Conrad guide uses unstable toolchain packages. Such as: Binutils-2.16.90.x, GCC-4.1.x, and Nxsty's glibc 2.3.90.x overlay!
-----
Forewarning
This is an advanced install guide for Gentoo Linux, it is assuming you have knowledge of Gentoo and GNU Linux in general!
-----
The most hardcore and up-to-date of its kind!
One of a kind custom GCC 4.1.x overlay!
Easier than you make think!
------
FAQ
(Q) This is insane, it is so unstable, a system would never run like this!
(A) Well, it is a little intense, but for reasons, the intensity is stable enough for 95% of users - There are only very few packages that are known to break, qemu and fluxbox, along with a few packages which maybe need patches applied to them. The result is a system faster than all others, even though it may take long to get there.
(Q) How do I solve this bug that is most likely do to the toolchain?
(A) Please search for bugs in the linked threads regarding Nxsty's glibc overlay, and the GCC 4.1 thread.
------
Toolchain Links
Nxsty's Glibc Overlay
GCC 4.1 [Beta]
------
Conrad IRC Channel
Join - #conrad on FreeNode
-----
NOTICE:
The Conrad guide is not supported in any way by the Gentoo Linux Foundation.
-----
Updates required by currently installed systems
* Redownload the gtk-engines overlay and re-emerge it.
-----
Updates:
* Fixed a few typos
* Fixed tar command for binutils overlay
* Updated then no-sources url
* Added nxsty's fontconfig-overlay
* Fixed typo
-----
Changes from 1.0.x
-----
1 - Revised to new LDFLAG Setup
2 – Added in -Bdirect support
3 – Switched to a few masked packages (gaim, modular X.org, cairo, etc)
4 – Upgraded overlays.
5 – Added other miscellaneous features.
-----
The only guide with a completely "unstable" toolchain!
-----
Conrad Development Team
!WooHoo!
(/Builder/Tester/Scripter/Graphic\Web Designer) - Cheater1034
(Scripter-Lucky/Tester/IRC) - Brainiac Ghost
(Scripter-Lucky/Tester) - mdshort
(Tester/Dev-Edition) - Nesl247
-----
This is a hardcore Gentoo installation guide - When you reboot and complete your installation process, you may fly into the wall behind you and break something on the account of the incredible speed that will be harnessed after installing Gentoo through The Official Conrad Gentoo Install: Dev Edition
-----
As always, this is not supported by Gentoo - This is experimental - For advanced users only - So on and so forth. No guarantees are made that the system will work without a little bit of work.
-----
IMPORTANT
* DO NOT POST BUGS REGARDING UNSUPPORTED SOFTWARE (gcc 4.1.x. glibc-2.3.90.x, overlays, etc) TO GENTOO!
-----
Get Ready...
-----
Getting Started
USE AT YOUR OWN RISK...
-----
Notes: We will assume that x in “hdx” is the drive letter throughout this guide.

1 - The LiveCD

1.1 - First of all, we are going to download the LATEST Conrad Gentoo Installation LiveCD – If you do not wish to use this livcd or already have a working distro in which to install from please skip this step.
Code:

http://forums.gentoo.org/viewtopic-t-425194.html


1.2 - Burn it to a CD and boot it - Then choose the boot option for your needs.

2 -Preparing the Network

2 - Make sure the network is working properly - Accomplish this my doing "ping google.com" or "ifconfig" in order to test the internet connection, if it is not working by default, try...
Code:
net-setup eth0

Or if you simply run by dhcp
Code:
dhcpcd eth0


3 - Hard disk configuration

3.1 - View the hard disk configuration
Code:

# hdparm -i /dev/hdx


3.2 - Test the Hard Disk's speed
Code:
hdparm -tT /dev/hdx


3.3 - Get the maximum from your hard disk - OPTIONAL
I ONLY recommend this option for ATA133 hard drives, not anything lower.
Code:

(IDE ATA133 drives only)
hdparm -d1 -c1 -X69 /dev/hdx
(IDE ATA100 or lower drives)
hdparm -d1 -c1 /dev/hdx


4 - Partitioning the Drive

4.1 Using Fdisk
Code:
# fdisk /dev/hdx
Command (m for help): p


Disk /dev/hdx: 240 heads, 63 sectors, 2184 cylinders
Units = cylinders of 15120 * 512 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hdx1             1        14    158760  83  Linux # boot
/dev/hdx2            15        49    264600   82  Linux swap # swap
/dev/hdx3            50        70    remainder   83  Linux # root


4.2 - Setup your partition scheme
Code:
Something like this
Partition File System    ID  Size      Description
/dev/hdx1 ext2   83  100 MB    Boot partition
/dev/hdx2 (swap)         82  512 MB    Swap partition
/dev/hdx3 Reiserfs  83  Remainder Root Partition

When done, hit "w" in fdisk to write the changes

4.3 - Creating your partitons - Reiser4/reiserfs/ext3 for root, ext2/ext3 for boot, swap for swap
Code:
# mkfs.reiserfs /dev/hda3
# mkfs.ext2 /dev/hdx1
# mkswap /dev/hdx2
# swapon /dev/hdx3


4.4 - Mounting your hard drives
Code:
# mount /dev/hdx3 /mnt/gentoo
# mkdir /mnt/gentoo/proc && mkdir /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# mount /dev/hdx1 /mnt/gentoo/boot



5 - Setting up for a chroot

5.1 - Downloading and extracting a stage3 tarball
Code:
# cd /mnt/gentoo
http://gentoo.osuosl.org/releases/x86/2005.1-r1/stages/

# tar -jxvpf stage3-ARCH-2005.1-r1.tar.bz2

5.2 - Downloading and extracting a portage snapshot
Code:
# wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
# tar jxvpf portage-latest.tar.bz2 -C /mnt/gentoo/usr/


5.3 - Copying resolv.conf
Code:
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf


6 - Chrooting into an environment

6.1 - Chrooting and Running env-update; source /etc/profile
Code:
# chroot /mnt/gentoo /bin/bash
# env-update; source /etc/profile


6.2 – Syncing the portage tree
Code:
# emerge sync


6.3 - Setting the timezone
(Change according to your zone)
Code:
# rm -rf /etc/localtime
# ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime


7 - Creating a new make.conf

7.1 - Creating a new make.conf
We will create a new make.conf here, here's what We'll do.
Code:
# mv /etc/make.conf /etc/make.conf.bak

NOW- You need to copy-paste this, or edit it manually, or type the lines, here is the make.conf we'll use for now. (Please check what -march= was set to in /etc/make.conf.bak and replace YOURARCH with that value)
Code:
CFLAGS="-O2 -march=YOURARCH -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~x86"

PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=”/usr/local/portage”
PORTAGE_NICENESS=10

FEATURES="ccache distlocks userpriv"
USE="nptl nptlonly glibc-omitfp"

CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"

I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1


7.3 - Making appropriate portage log and overlay directories
Code:
# mkdir -p /var/log/portage
# mkdir -p /usr/local/portage
# mkdir -p /usr/local/overlays/bmg-main
# mkdir -p /etc/portage/profile


8 - Building/rebuilding/system-rebuilding with GCC 4.1.x

8.1 - Downloading the required overlays
Code:
# wget http://snigel.no-ip.com/~nxsty/linux/glibc-overlay.tar.bz2
# mkdir /usr/local/portage/sys-libs /usr/local/portage/sys-devel
# tar -jxvpf glibc-overlay.tar.bz2 -C /usr/local/portage/sys-libs/
# ebuild /usr/local/portage/sys-libs/glibc/glibc-2.3.90.2006*.ebuild digest

# wget http://enderandrew.com/conrad/binutils-overlay.tar.bz2
# tar -jxvpf binutils-overlay.tar.bz2 -C /usr/local/portage/
# rm binutils-overlay.tar.bz2 glibc-overlay.tar.bz2

# wget http://enderandrew.com/conrad/mozilla-firefox-overlay.tar.bz2
# tar -jxvpf mozilla-firefox-overlay.tar.bz2 -C /usr/local/portage

# wget http://enderandrew.com/conrad/libgdiplus-overlay.tar.bz2
# tar -jxvpf libgdiplus-overlay.tar.bz2 -C /usr/local/portage
# rm libgdiplus-overlay.tar.bz2 mozilla-firefox-overlay.tar.bz2

# wget http://snigel.no-ip.com/~nxsty/linux/qt-overlay.tar.bz2
# mkdir /usr/local/portage/x11-libs
# tar -jxvpf qt-overlay.tar.bz2 -C /usr/local/portage/x11-libs
# rm qt-overlay.tar.bz2

# wget http://metawire.org/~pussi/linux/gtk-engines_cvs.tar.bz2
# tar -jxvpf gtk-engines_cvs.tar.bz2 -C /usr/local/portage/
# wget http://metawire.org/~pussi/linux/cairo_glitz_cvs.tar.bz2
# tar -jxvpf cairo_glitz_cvs.tar.bz2 -C /usr/local/portage

# wget http://snigel.no-ip.com/~nxsty/linux/fontconfig-overlay.tar.bz2
# tar -jxvpf fontconfig-overlay.tar.bz2 -C /usr/local/portage/media-libs/
# rm fontconfig-overlay.tar.bz2


8.2 - Adding Necessary entries to package.keywords/package.unmask

Code:
# nano -w /etc/portage/package.use

Code:
sys-libs/glibc nptl nptlonly userlocales nomalloccheck
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-devel/binutils multislot
sys-devel/gcc multislot

Code:
# nano -w /etc/portage/package.keywords

Code:

=sys-libs/glibc-2.3.90* -*
=sys-devel/gcc-4.1* -*
=sys-devel/binutils-2.16.91* -*

Code:
# nano -w /etc/portage/package.unmask

Code:
=sys-libs/glibc-2.3.90*
=sys-devel/gcc-4.1*


8.2 - (OPTIONAL) Setting locales.build
You have to set this according to your region/area/language
This is completely optional, it just saves build time
Code:
# nano -w /etc/locales.build

Example file:
Code:
# 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


8.3 - Building the toolkit and upgrading portage
(Older glibc used because at this point GCC 4.1 is not selected and glibc-2.3.90.x does not compile with the older version of GCC.)
Code:

# emerge ccache
# emerge gcc-config mpfr =sys-libs/glibc-2.3.6-r2 binutils gcc libstdc++-v3 libtool portage
# emerge --metadata


8.4 - Running gcc-config, and binutils-config
Code:
# gcc-config 6
# binutils-config 2
# emerge -aP gcc binutils
# env-update; source /etc/profile


8.6 – Updating /etc/make.conf
Note: In the LDFLAGS, and CXXFLAGS, -Wl is a "L" as in "Lucky" not a "1" or an "I"
Code:
CFLAGS="-O2 -march=YOURARCH -fweb -frename-registers -fomit-frame-pointer -ftracer  -pipe"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
 LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort”
CHOST="i686-pc-linux-gnu"

ACCEPT_KEYWORDS="~x86"

PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=”/usr/local/portage”
PORTAGE_NICENESS=10

FEATURES="ccache distlocks userpriv"
USE="nptl nptlonly glibc-omitfp"

CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"

I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1

PORTAGE_ELOG_CLASSES="warn error log info"
PORTAGE_ELOG_SYSTEM="save"


8.7 - Rebuilding the toolkit
Code:
# emerge glibc binutils libstdc++-v3 gcc libtool portage


8.8 - Rebuilding the System
Code:
# emerge --emptytree world


9 Configuring the kernel

9.1 - Using No-Sources
Using no-sources is not required. You can use nitro, gentoo-sources, mm-sources, etc.

9.2 - Emerging No-Sources
(NOTE: Depending on which kernel you chose, substitute as necessary)
Code:
# wget http://no.oldos.org/files/2.6.15-no3/no-sources-2.6.15-r3.ebuild
# mkdir -p /usr/local/portage/sys-kernel/no-sources
# mv no-sources-2.6.15-r3.ebuild /usr/local/portage/sys-kernel/no-sources
# ebuild /usr/local/portage/sys-kernel/no-sources/no-sources-2.6.15-r3.ebuild digest
# echo "sys-kernel/no-sources symlink" >> /etc/portage/package.use
# emerge no-sources


9.4 - Configuring and Compiling the kernel
-----
I can only help you out so much, what I can do is tell you how to get started, and what is required.
Code:
# cd /usr/src/linux
# make menuconfig

Code:
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
  (Change accordingly)
  (Your Processor Family) Processor family
  [*] Symmetric multi-processing support
  [*] 1 GB Lowmem support (optional)

File systems --->
  Pseudo Filesystems --->
    [*] /proc file system support
    [ ] /dev file system support (OBSOLETE)
    [*] Virtual memory file system support (former shm fs)
  <*> Ext3 journalling file system support
  <*> Second extended fs support
  <*> Reiser4 <EXPERIMENTAL)
     < > Reiser4 debug mode

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@80

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) support


9.5 - Emerging Grub
Code:
(make sure the /boot partition is mounted)
# emerge grub

The Conrad Guide does not support installing on a root partition. Please install to the MBR.
Windows users, your partition layout could look like this, 1-windows,2-swap,3-root,4-boot

9.6 - Compiling the Kernel
Code:
# make && make modules_install && cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.15-no2 && cp .config /boot/config-2.6.15-no2


10 - Emerging additional system files

10.1 Emerging necessary programs
Here we emerge reiser4progs for the purpose of being able to use reiser4 in the future.
Code:

# emerge syslog-ng reiser4progs reiserfsprogs e2fsprogs sysfsutils dhcpcd hotplug coldplug gentoolkit acpid


10.2 Adding the programs to the default runlevel
Code:
# rc-update add syslog-ng default
# rc-update add net.eth0 default
# rc-update add coldplug default
# rc-update add acpid default


11 - Setting up the framebuffer splash
If you followed the kernel compile options, you should have everything required

11.1 - Emerging splashutils and a few themes
Code:
# emerge splashutils
# emerge splash-themes-livecd
# rc-update add splash default


11.2 – Linking the splash theme to “default”
Code:
# ln -s /etc/splash/livecd-2005.1 /etc/splash/default


11.3 - Generating an initramfs (initrd) image
Please select your resolution here. If you do not want 1024x768 then replace it with what you would normally run an X server in.
Code:
# cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash-default -r 1024x768 default


12 - Setting up grub

12.1 – Modifying /boot/grub/grub.conf

Code:

default 0
timeout 30 # amount of time (seconds) before grub boots the selected option
splashimage (hd0,0)/grub/splash.xpm.gz

title=Conrad-Gentoo
root (hd0,0) # boot partition
kernel /vmlinuz-2.6.15-no2 root=/dev/hdx3 video=vesafb:1024x768-16@80,mtrr,ywrap splash=silent,fadein,theme:default quiet CONSOLE=/dev/tty1
initrd (hd0,0)/fbsplash-default

# If you have Windows installed please also add the following:
title=Windows
rootnoverify (hd0,3)
makeactive
chainloader +1


12.2 - Running grub for installation to MBR
Code:

# grub
<grub:> root (hd0,0) # boot partition
# (hd0) is the MBR of the drive.
<grub:> setup (hd0)
<grub:> quit


13 - Configuring your system

13.1 - Editing configuration files
Code:
# nano -w /etc/conf.d/hdparm
# Comment out all_args=”...”
hdx_args="-d1 -X69 -c1"
cdrom0_args="-d1"


13.2 - Set your hostname and domainname
Code:
# nano /etc/conf.d/hostname
HOSTNAME="conrad-gentoo"

# nano -w /etc/hosts
# Change:
127.0.0.1 localhost

# to
127.0.0.1 conrad-gentoo
# Where conrad-gentoo is your hostname in /etc/conf.d/hostname

Code:
# nano -w /etc/conf.d/domainname
# DNSDOMAIN=""
# NISDOMAIN=""
# If you do not know what to do here leave it as the defaults.

Editing the /etc/conf.d/net
(Not necessary for dhcp users.)
Code:
# nano -w /etc/conf.d/net
For possible lines, visit the Configuring the Network section in the Gentoo Handbook Here
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2


13.3 - Configuring FSTAB
Code:
# nano /etc/fstab
# <fs>               <mountpoint>  <type>       <opts>               <dump/pass>
/dev/hdx1            /boot         ext2     noauto,notail        1 2
/dev/hdx3            /                reiserfs     notail,noatime,nodiratime          0 1
/dev/hdx2            none         swap         sw                   0 0
/dev/hdx              /mnt/cdrom         iso9660      users,noauto,ro,exec  0 0
/dev/fd0              /mnt/floppy   auto         noauto,users         0 0

# NOTE: The next line is critical for boot!
none                 /proc         proc         defaults             0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                 /dev/shm      tmpfs        nodev,nosuid         0 0


13.4 - Setting up users
First set the root password
Code:
# passwd
<enter new password>
<confirm new password>


Then set up a user
Code:
# useradd -m -G users,wheel conrad
# passwd conrad
<set conrads password>
<confirm conrads password>


14 - Rebooting and Booting!


14.1 - Rebooting And Unmounting
Code:
# exit
# umount /mnt/gentoo/boot
# umount /mnt/gentoo/proc
# umount /mnt/gentoo
# reboot


14.2 - Booting the system
Find yourself at a grub menu, and boot into your system
If you get a kernel panic then check to make sure you configured everything properly

15 - Other Configuration

15.1 - Looking at the possible use variables
Code:
# nano -w /usr/portage/profiles/use.desc

There are tons of user variables, by x86 the following are used by default
Code:
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"


15.2 - Setting USE Flags

There are tons of use flags to choose from, personally, I like a gnome/gtk/opengl/nvidia system, here is how I will set my use flags
Code:
# nano /etc/make.conf
USE="nptl nptlonly glibc-omitfp alsa X gtk gnome -qt -kde -arts win32codecs nvidia opengl gstreamer gstreamer10"


15.3 - Deleting the 'netmount' service if it is unneeded
Most people don't need this, it will fail to start in most cases
Code:
# rc-update del netmount


For more In-Depth configuration information, consult the Gentoo Handbook

15.4 – Setting up the Breakmygentoo overlay
Code:
# nano -w /etc/make.conf

Change the PORTDIR_OVERLAY line to look like
Code:
PORTDIR_OVERLAY="/usr/local/overlays/bmg-main /usr/local/portage"

Code:
# emerge gentoolkit-dev
# echo “” >> /etc/gensync/bmg-main.syncsource
# nano -w /etc/gensync/bmg-main.syncsource


Copy and paste:
Code:
# This id must be unique among all the ids in /etc/gensync/*.syncsource
id="bmg-main"

# This is a human-readable description of the source
description="BreakMyGentoo main tree"

# The rsync url
rsync="rsync://rsync.breakmygentoo.net/bmg-main"

# By default, the overlay directory is set to ${base_overlay}/${id},
# where base_overlay is picked from /etc/gensync/gensync.conf
#
# You may specify a different relative path, such as
#overlay="bmg-main.alternative"
#
# Or an entirely new absolute path (remeber to create the path first)
overlay="/usr/local/overlays/"


Code:
gensync bmg-main



16 - Installing Xorg-X11 and a graphical environment

16.1 – Unmasking modular xorg
Code:
# echo "virtual/x11 x11-base/xorg-x11" >> /etc/portage/profile/virtuals
# nano -w .bashrc


Add:
Code:
function fixmask { perl -e"$/=\"\\n\\n\";/${1}/&&print while<>" /usr/portage/profiles/package.mask ; }


Code:
# source .bashrc
# fixmask "Modularized X" >> /etc/portage/package.unmask


16.2 - Emerging Xorg
Note: This will install all non propriety drivers.
Code:
# emerge –-oneshot libXaw libXp xbitmaps
# emerge xorg-x11 imake makedepend gccmakedep


16.3 - Getting an xorg.conf setup
This config *SHOULD* work on most systems
Code:
# emerge mkxf86config
# mkxf86config.sh


16.4 – Unmasking packages and setting up keywords
Code:

# echo “=media-libs/glitz-9999 -*” >> /etc/portage/package.keywords
# echo “=x11-libs/cairo-9999 -*” >> /etc/portage/package.keywords
# echo “=x11-themes/gtk-engines-9999 -*” >> /etc/portage/package.keywords
# echo “=x11-libs/qt-3.3.5” >> /etc/portage/package.unmask
# echo “=x11-libs/qt-3.3.5 risky pertty” >> /etc/portage/package.use

# nano -w /etc/portage/package.unmask


Add at the bottom:

Code:
# Gstreamer
>=media-libs/gstreamer-0.10.0
>=media-libs/gst-plugins-base-0.10.0
>=media-plugins/gst-plugins-alsa-0.10.0
>=media-plugins/gst-plugins-gnomevfs-0.10.0
>=media-plugins/gst-plugins-libvisual-0.10.0
>=media-plugins/gst-plugins-ogg-0.10.0
>=media-plugins/gst-plugins-pango-0.10.0
>=media-plugins/gst-plugins-theora-0.10.0
>=media-plugins/gst-plugins-v4l-0.10.0
>=media-plugins/gst-plugins-vorbis-0.10.0
>=media-plugins/gst-plugins-xvideo-0.10.0
>=media-libs/gst-plugins-good-0.10.0
>=media-plugins/gst-plugins-oss-0.10.0
>=media-plugins/gst-plugins-esd-0.10.0
>=media-plugins/gst-plugins-flac-0.10.0
>=media-plugins/gst-plugins-gconf-0.10.0
>=media-plugins/gst-plugins-jpeg-0.10.0
>=media-plugins/gst-plugins-dv-0.10.0
>=media-plugins/gst-plugins-libpng-0.10.0
>=media-plugins/gst-plugins-raw1394-0.10.0
>=media-plugins/gst-plugins-shout2-0.10.0
>=media-plugins/gst-plugins-speex-0.10.0
>=media-libs/gst-plugins-ugly-0.10.0
>=media-plugins/gst-plugins-a52dec-0.10.0
>=media-plugins/gst-plugins-amrnb-0.10.0
>=media-plugins/gst-plugins-lame-0.10.0
>=media-plugins/gst-plugins-mad-0.10.0
>=media-plugins/gst-plugins-mpeg2dec-0.10.0
>=media-plugins/gst-plugins-sidplay-0.10.0
>=media-plugins/gst-plugins-ffmpeg-0.10.0
>=dev-python/gst-python-0.10.0
>=media-libs/gst-plugins-bad-0.10.0
>=media-plugins/gst-plugins-faac-0.10.0
>=media-plugins/gst-plugins-faad-0.10.0
>=media-plugins/gst-plugins-musepack-0.10.0
# Gaim
>=net-im/gaim-2.0.0_beta1
>=x11-plugins/gaim-encryption-3.0_beta1
>=x11-plugins/slashexec-1.1_beta1
>=x11-plugins/gaim-xmms-remote-1.9_beta1
>=x11-plugins/guifications-2.13_beta1


16.5 - Installing GNOME or KDE

Gnome:
Code:
# emerge gnome gdm


KDE:
Code:

(monolithic)
# emerge kde kdm
(meta)
# emerge kde-meta kdm


16.6- Additional configuration
Code:
# nano -w /etc/rc.conf
Find
# DISPLAYMANAGER="xdm"
uncomment it and change it to GDM or KDM for KDE
# rc-update add xdm default
# xorgconfig
<go through this script>


16.7 - Graphics Drivers
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.8 - The CONRAD Wallpaper Archive

Code:
# Wallpaper 1 - MacOSX/Conrad
http://www.bfgraphics.net/conrad/GFX/conrad-wallpapers/1-macosconrad/



17 - Configuring ALSA
For 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

Code:
# emerge alsa-utils alsa-oss


17.2 - Running alsaconf
Code:
# alsaconf


17.3 - Editing Additional Files

Code:
# nano -w /etc/modules.d/alsa
<Find near the botton snd-***, and sound-***>
change *** to your sound card name, for example...
snd-intel8x0 sound-intel8x0
snd-emu10k1 sound-emu10k1


17.4 - Running ALSAMIXER
You 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:
# alsamixer


17.5 - Adding alsasound to the default runlevel
Code:
# rc-update add alsasound default


Now alsa should be successfully configured, and configured right - Additional tools you may use could be, alsamixer, amixer, etc

18 - CCACHE env.d configuration
Code:
# echo "CCACHE_DIR="/var/tmp/ccache" >> /etc/env.d/99local
# env-update; source /etc/profile


19 - Keeping your system up-to-date


19.1 - Updating the world
First of all always keep the sync up-to-date, a emerge sync once a day atleast is reccomended
Code:
# emerge sync

To update all the packages, run
Code:
# emerge -u world


You should also make sure to regularly check the glibc thread linked at the top for updates. You can see the updates at the top to see if there is a new version.

//End Conrad Guide :)

-----

Well this brings us to our end, I hope you the best of luck.

Now 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...
* Reiserfs Filesystem
* GCC 4.1 based system
* Nxsty's Glibc Overlay (2.3.90.x)
* Improbed LD performance using -Bdirect
* The LATEST Packages portage has to offer
* The speed of a military jet x 3
* A very nice boot-up splash with a progress bar

-----
Please leave your feedback, suggestions,support issues or other related things to the Conrad Install Guide: Dev Edition in this post.

Do not post Gentoo issues in this forum, only related issues with following this guide.
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.
Conrad Install Guide: Dev Edition:
Email: nesl247@gmail.com
AIM: nesl247
MSN: nesl247@gmail.com
IRC: #conrad

Conrad Install Guide: Original:
Email: conrad-gentoo@bfgraphics.net
AIM: cheater1034
IRC: #conrad
------
Be sure to check out the Conrad Gentoo Projects Home Page

------
Messages from Conrad and nesl247

If you are interested in developing/help develop something for Conrad Gentoo Projects, email me at, conrad-gentoo@bfgraphics.net

If you used this to install Gentoo – Thank you, I hope your install went well.
We ask all who try this to take a few moments of their time to type what they thought of the install, how easy it was, and how it works.

Thank you :)
- Cheater1034 and nesl247

Post all support issues in this thread


Last edited by nesl247 on Tue Feb 14, 2006 10:48 pm; edited 19 times in total
Back to top
View user's profile Send private message
taylorpendley
n00b
n00b


Joined: 23 Jan 2006
Posts: 41

PostPosted: Thu Feb 02, 2006 12:35 am    Post subject: Reply with quote

i get the....

ebuild.sh dyn_compile

error the other guy was getting for firefox whenever i try to compile xorg-x11 (6.8.2, 6.8.99.15, 6.9.0) I tried glibc-2.3.6, glibc-2.3.9 (both the tweaked overlays) It sucks cause EVERYTHING ELSE except a few that give the same error compiles fine. I am doing stage1 install on x86_64...I am going to start over again (for about the 9th time) with standard glibc and compile the whole system (including hopefully xorg...if it works) and then download the tweaked glibc and recompile everything in the system EXCEPT for xorg (since tweaked glibc wont compile it for me) Hopefully that works.....if anyone has suggestions it would be appreciated or any more info you need from me just ask ( i can give much info right now since i am unpacking the stage1 tarball to start over) THANKS!
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Thu Feb 02, 2006 12:40 am    Post subject: Reply with quote

Taylor if you wish to use x86_64 then I am sorry but you will have limited support from me. Nothing in this guide is tailored to x86_64 so if you have problems I really do suggest you using the standard Conrad Install Guide. It has x86_64 support. I will eventually try getting this to have x86_64 but not in the near future.
Back to top
View user's profile Send private message
taylorpendley
n00b
n00b


Joined: 23 Jan 2006
Posts: 41

PostPosted: Thu Feb 02, 2006 3:01 am    Post subject: Reply with quote

well it seems the new binutils-overlay fixed it (unless i did something different that i didnt realize....) Actually, I can compile boehm-gc now and all the others getting the dyn_compile errors are fixed...............dont know if it was binutils or what but it works so i cant complain....other than the previous issues it works great on x86_64 so in case any others on the 64bit system wanna try, i say go for it. (just dont forget to change the i686 to x86_64 in chost.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Thu Feb 02, 2006 3:45 am    Post subject: Reply with quote

And when compiling the kernel it is
Code:
arch/x86_64/boot/bzImage
Back to top
View user's profile Send private message
taylorpendley
n00b
n00b


Joined: 23 Jan 2006
Posts: 41

PostPosted: Thu Feb 02, 2006 12:48 pm    Post subject: Reply with quote

and ACCEPT_KEYWORDS="~amd64"

Oh man, this is great......EVERYTHING HAS COMPILED PERFECTLY.....i let it sit overnight on emerge -e world......I now have gcc-4.1* glibc-2.3.9* xorg-x11-6.9* (might try actual xorg-7 later). I coudlnt compile GPM before because of the dyn_compile error....it compiled first time i tried it this morning, lol. I am booted into the system right now (just in a console) and am compiling kde-3.5.....So once thats done i will let you all know whether it worked or not.

Thanks again nesl247 for a great guide (and great overlays 8) )
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Thu Feb 02, 2006 12:58 pm    Post subject: Reply with quote

If you are using Nxsty's QT overlay, shouldn't you use his fontconfig overlay as well?
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Thu Feb 02, 2006 2:47 pm    Post subject: Reply with quote

Have you ever considered making the Dev edition at Stage 1 install?
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Thu Feb 02, 2006 3:31 pm    Post subject: Reply with quote

vipernicus wrote:
Have you ever considered making the Dev edition at Stage 1 install?


Or conversely, take a Stage 1 tarball, bootstrap and build according to this guide and then release your own Stage 3 tarball like Rockhopper used to? Perhaps the former Rockhopper mirrors would host it. I could also host it.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Thu Feb 02, 2006 3:43 pm    Post subject: Reply with quote

Thank you for reminding me of Nxsty's fontconfig overlay. I will add it in later and put it at the end for people to upgrade. As for the fact of doing a stage 1, that is pointless. You don't gain any benefit as far as I know. It just means that instead of having to upgrade to gcc4.1, you start out with it.

Thank you all for the feedback. If anyone has any other suggestions I am willing to consider them.
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Thu Feb 02, 2006 3:50 pm    Post subject: Reply with quote

tar -jxvpf binutils-overlay.tar.bz2 -C /usr/local/portage-sys-devel/

should be

tar -jxvpf binutils-overlay.tar.bz2 -C /usr/local/portage/sys-devel/
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Thu Feb 02, 2006 3:56 pm    Post subject: Reply with quote

Ah ok. Will fix this all in a minute.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Thu Feb 02, 2006 4:12 pm    Post subject: Reply with quote

Guide updated to 1.5.1. For those of you who have already installed read the update section at the top, or just do the following:

Code:
# emerge glibc && emerge --oneshot fontconfig
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Thu Feb 02, 2006 7:50 pm    Post subject: Reply with quote

I suggest editing the guide (kernel part) to use the no.oldos.org mirror.

So, http://no.oldos.org/files/2.6.15-no2/no-sources-2.6.15-r2.ebuild, is where the ebuild is ;)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Thu Feb 02, 2006 7:54 pm    Post subject: Reply with quote

You must have changed the post for the no-sources. That is where it was before for some version. Anyways it has been updated.
Back to top
View user's profile Send private message
taylorpendley
n00b
n00b


Joined: 23 Jan 2006
Posts: 41

PostPosted: Fri Feb 03, 2006 12:56 am    Post subject: Reply with quote

actually when i do tar -xvjpf binutils* -C /usr/local/portage it created the sys-devel directory and sys-devel/binutils directory
Back to top
View user's profile Send private message
taylorpendley
n00b
n00b


Joined: 23 Jan 2006
Posts: 41

PostPosted: Fri Feb 03, 2006 1:01 am    Post subject: Reply with quote

why make a stage1 guide????

just follow everything this guide says up until the emerge toolkit (excluding the etc/localtime deal since timezone-data isnt emerged yet)

do ./bootstrap.sh

then you can continue with rebuild toolkit and emerge -e system................

at least thats what i did and it works great......
Back to top
View user's profile Send private message
gnomen
n00b
n00b


Joined: 04 Sep 2005
Posts: 48

PostPosted: Fri Feb 03, 2006 1:13 am    Post subject: Reply with quote

taylorpendley wrote:
actually when i do tar -xvjpf binutils* -C /usr/local/portage it created the sys-devel directory and sys-devel/binutils directory

Yeah, same thing happened here. It made sys-libs/binutils insde usr/local/portage/sys-libs/ and had the second tool-chain compile stop for a while... a long while actually.. before I figured out what the culprit was
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Feb 03, 2006 4:06 am    Post subject: Reply with quote

Fixed the tar command for binutils. The problem was that I had set it to go into the sys-devel directory instead of just /usr/local/portage.
Back to top
View user's profile Send private message
dr.bombay
n00b
n00b


Joined: 05 May 2005
Posts: 39
Location: Los Angeles

PostPosted: Fri Feb 03, 2006 7:55 am    Post subject: enlightenment Reply with quote

okay cheater-conrad, here I go again, I just notice the new kernel no2, and the 1.5.3, reason I'm bored, so as I told RobNyc must be time for a new install, I've decided to go with enlightenment for a window manger and since I see you have already included X11R7.0 this should be great. Going with the DR17 version of Enlightenment. it's 11:48 pm pacific standard time and I am just getting started. So being the nOOb that I am we will see how long it will take me, and hopefully I will be able to get the splash screen working this install. will looking for you on the irc in the morning for help :lol: :wink:
_________________
I just escaped from microsoft please help I dont want to ever go back
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Feb 03, 2006 11:38 am    Post subject: Reply with quote

dr.bombay, if you haven't noticed this guide is written by me, not cheater-conrad. This is a very unstable guide. Conrad's does not include Xorg 7 and alot of what I have here.
Back to top
View user's profile Send private message
mdshort
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 157

PostPosted: Fri Feb 03, 2006 12:54 pm    Post subject: Reply with quote

The people wanting to do stage 1, its pointless, completely pointless, the ONLY reason to do a stage1 is if you have an unsupported archetecture in the stage3 builds.

The guide rebuilds the toolkit (which is exactly what bootstrapping does) in a non-aggressive manner (not that I've only had 2 out of 4 bootstraps work... ever... then I found conrad which is a very viable replacement.

As far as custom stage3 for conrad, we have little resources and mirrors to work with, so even if we did find the time to make our own stage3, we couldn't distribute it very well.

This works JUST as good... so there lol
_________________
"With every rise, there is a fall."
Back to top
View user's profile Send private message
tzencz
n00b
n00b


Joined: 26 Nov 2005
Posts: 5
Location: Krakow, pl_PL

PostPosted: Fri Feb 03, 2006 3:57 pm    Post subject: Reply with quote

I believe its just a typo. Chapter 16.4, first code block:
Code:
# nano -w /etc/portage/package.keywords

should be
Code:
# nano -w /etc/portage/package.unmask


Also you might want mention adding VIDEO_CARDS="..." and INPUT_DEVICES="..." into make.conf, it tells xorg-7.0 to build only the specified drivers.
Id like to thank you for your work on this guide, i believe its a great reference sheet for people building this kind of a system, as we dont have to remember all those unofficial overlays, theyre all in one place.
_________________
GCC 4.02 Inside ("tum-tim-tum-tim") <SCREEN>
Back to top
View user's profile Send private message
dr.bombay
n00b
n00b


Joined: 05 May 2005
Posts: 39
Location: Los Angeles

PostPosted: Fri Feb 03, 2006 5:02 pm    Post subject: Reply with quote

nesl247 wrote:
dr.bombay, if you haven't noticed this guide is written by me, not cheater-conrad. This is a very unstable guide. Conrad's does not include Xorg 7 and alot of what I have here.

My bad and I do sincerely apologize, and seeing as I'm starting do you have any advice for me at all it would be really appreciated
:oops:
_________________
I just escaped from microsoft please help I dont want to ever go back
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Feb 03, 2006 5:23 pm    Post subject: Reply with quote

A stage3 conrad install might be possible. Once I get my test machine I will be able to do it if anyone wants to donate about a 20 gig harddrive. As far as the stage1, it is pointless. Why do you want a stage1? All you need to do is to change it on the second make.conf file manipulation.

tzencz, I fixed the bug. And regarding the Video card and input device bit, I left it out because not everyone knows what to use. I will put it in there in the next version with a warning for advanced users only. Because without those two specified, xorg-x11 pulls all drivers in for compilation, at least my quick test showed that.

dr.bombay, the only advice I have for you is to follow the guide explicitly. That and to make sure that you know what hardware, chipsets, etc are in your computer for the kernel compilation. If you can compile a kernel, than the rest is very easy.

Thank you all for your great feedback, and for your bug reports. I hope that 2.0 is alot better in regards to installation easyness, and features.

If you would like to suggest a feature for 2.0, please pm me or contact me at nesl247@gmail.com All feature requests will be looked at. (This is including make.conf settings)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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