Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OUTDATED] CONRAD Install Guide: Dev Edition 1.0.x
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  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: Sat Jan 28, 2006 4:16 am    Post subject: [OUTDATED] CONRAD Install Guide: Dev Edition 1.0.x Reply with quote

This guide is left here for archive purposes. Please follow the updated guide at: [PRE-RELEASE] CONRAD Install Guide: Dev Edition 1.5.0 - "He's Beginning to Believe"

Conrad Gentoo Projects Presents...
CONRAD Install Guide: Dev Edition 1.0.3 - Named: "Newborn"
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 98% of users - There are only very few packages that are known to break, qemu is the only one I personally know of. 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 (no longer #conrad-gentoo)
-----
NOTICE:
The Conrad guide is not supported in any way by the Gentoo Linux Foundation.
-----
Updates:
* Added missing emerge of ccache
* Added the command to digest the glibc overlay due to a mismatch in filesizes between the patches and the digest file.
* Upgraded no-sources version and wget location
* Added variable in make.conf for GCC 4.1 to build
-----
Started at Dev Edition 1.0.0 "Newborn" - CHANGES from Original Version
-----
(1) - Revised to new LDFLAG Setup
(2) - Now on gcc 4.1.* overlay that can be a big speed increase
(3) - Uses the unstable version of binutils
(4) - Uses nxsty's glibc overlay (2.3.90*)
-----
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 Developer) - 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 count 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
-----
Version: 1.0.0 "Newborn"
-----
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...
------
Continue until you get to the 3 options
------
1 - The LiveCD

1.1 - First of all, we are going to download the LATEST Conrad Gentoo Installation LiveCD - You can use any livecd for gentoo, whether it be a gentoo based one or not.
Code:

(x86 users)
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/hda


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


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

(ide ata133 drives only)
hdparm -d1 -c1 -X69 /dev/hda
(ide ata100 or lower drives)
hdparm -d1 -c1 /dev/hda


4 - Partitioning the Drive

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


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

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


4.2 - Setup your partition scheme
Code:
Something like this
Partition File System    ID  Size      Description
/dev/hda1 ext2   83  100 MB    Boot partition
/dev/hda2 (swap)         82  512 MB    Swap partition
/dev/hda3 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/hda1
# mkswap /dev/hda2
# swapon /dev/hda2


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



5 - Setting up for a chroot

5.1 - Downloading and extracting a stage3 tarball
Code:
# cd /mnt/gentoo
(x86 users choose and download your architecture here)
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 - Emerging Sync
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:
# rm /etc/make.conf

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
Code:
CFLAGS="-O2 -march=YOURARCH -fomit-frame-pointer -pipe" # Check which -march was used before the change. Use this here.
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~x86"

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
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


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
# tar -jxvf glibc-overlay.tar.bz2 -C /usr/local/portage/sys-libs
# ebuild /usr/local/portage/sys-libs/glibc/glibc-2.3.90.2006*.ebuild digest


8.2 - Adding Necessary entries to package.keywords/package.unmask
Here are the files you need to create...
/etc/portage/package.use
Code:
sys-libs/glibc nptl nptlonly userlocales nomallocheck
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-devel/binutils multislot
sys-devel/gcc multislot

/etc/portage/package.keywords
Code:

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

/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 /etc/locales.build


8.3 - Building the toolkit
(Older glibc used because at this point gcc4.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/b]
Code:
# gcc-config -l
(view options)
1 ) i686-pc-linux-gnu-3.3.5_2005*
2 - 5 ) (other hardned, etc compilers of 3.3.5)
6 ) i686-pc-linux-gnu-4.1.x
# gcc-config 6
# emerge -aP gcc
# binutils-config -l
1 ) i686-pc-linux-gnu-2.6.15 *
2 ) i686-pc-linux-gnu-2.16.91.x
(should be similar to this)
# binutils-config 2
# emerge -aP binutils
# env-update; source /etc/profile


[b]8.6 - Changing the make.conf

Edit the make.conf to look like the following... (change CFLAGS, CXXFLAGS, LDFLAGS, and USE FLAGS)

NOTE: IN THE LDFLAGS, -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 -fno-ident -pipe"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden -Wl,-O1"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common"
CHOST="i686-pc-linux-gnu"

ACCEPT_KEYWORDS="~x86"

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
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
(I ONLY Reccomend this once!)
Code:
(UPDATE PORTAGE FIRST) - reccomended
# emerge portage
# emerge --emptytree system


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://enderandrew.com/conrad/no-sources/2.6.15-no2/no-sources-2.6.15-r2.ebuild
# mkdir -p /usr/local/portage/sys-kernel/no-sources
# mv no-sources-2.6.15-r2.ebuild /usr/local/portage/sys-kernel/no-sources
# ebuild /usr/local/portage/sys-kernel/no-sources/no-sources-2.6.15-r2.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 no longer supports installing on a root partition - it works fine on any other filesystem, but reiser4 and grub can cause serious problems, 99% of the time it will only boot to a grub CMDLINE
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
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-gentoo
(or if you want bootsplash themes...)
# emerge --nodeps --oneshot bootsplash-themes
(splashutils converts them into gensplash themes*)
# rc-update add splash boot


11.2 - Downloading the CONRAD-fbsplash theme - OPTIONAL
Preview1: http://www.bfgraphics.net/conrad-gentoo/lib/fbsplash1.png
Preview2: http://www.bfgraphics.net/conrad-gentoo/lib/fbsplash2.png
These are previews of the new conrad fbsplash theme - it supports 5 resolutions (640x480,800x600,1024x768,1280x1024, and 1600x1200)
It is a lot smoother, I had to take the first screenshot with the digital camera
Code:
# wget bfgraphics.net/conrad-gentoo/lib/conrad-fbsplash.tar.bz2
# tar jxvf conrad-fbsplash.tar.bz2 -C /etc/splash


11.2 - Generating an initramfs (initrd) image
Code:
# cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash-conrad -r 1024x768 conrad


12 - Setting up grub

12.1 - The CONRAD Custom Grub Splash
Brand new Conrad Grub Splash, will be seen on the next conrad livecd (unless it uses isolinux, it's in debate)
This custom splashimage is not totally conrad-based, it still states gentoo linux at the top in big bold letters :)
Code:
Preview: http://www.bfgraphics.net/conrad/conrad-grub.png
Download:
http://bfgraphics.net/conrad/0.5.0/grub/conrad.xpm.gz


12.2 - Grub.conf

Code:

Boot partition...

default 0
timeout 30 # amount of time (seconds) before grub boots the selected option
splashimage (hd0,0)/grub/conrad.xpm.gz
# The CONRAD Splash image is a very nice splash, that can be previewed above

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

title=Windoze (if existent)
rootnoverify (hd0,3)
makeactive
chainloader +1


12.3 - Running grub to install grub
Note: GRUB will only install on reiser4 partitions if you installed it the reiser4 way
Code:

# grub
<grub:> root (hd0,0) # boot partition
# boot partiton
<grub:> setup (hd0)
<grub:> quit


13 - Configuring your system

13.1 - Editing configuration files
Code:
# nano /etc/conf.d/hdparm
Add the following (OPTIONAL)
hda_args="-d1 -X69 -c1"
cdrom0_args="-d1"


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

# nano /etc/hosts
127.0.0.1 localhost
..change to..
127.0.0.1 conrad-gentoo
# ^ = your hostname

Code:
# nano /etc/conf.d/domainname
# DNSDOMAIN="gentoo.org"
# NISDOMAIN=""
- If you don't know what a nisdomain is, leave it blank

Editing the /etc/conf.d/net
(Not necessary for dhcp users as of 2005.1)
Code:
# nano /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/hda1            /boot         ext2     noauto,notail        1 2
/dev/hda3            /             reiserfs     notail,noatime,nodiratime          0 1
/dev/hda2            none          swap         sw                   0 0
/dev/hdd   /mnt/cdrom    iso9660      user,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


14 - Rebooting and Booting!


14.1 - Rebooting And Unmounting
Code:
# umount /boot
# umount /proc
# exit
# 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 /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"[/code]

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


16 - Installing Xorg-X11 and a graphical environment

16.1 - Emerging Xorg
Code:
# emerge xorg-x11


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


16.3 - Installing GNOME or KDE

For Gnome...
Code:
# emerge gnome gdm
(light)
# emerge gnome-light gdm


For KDE
Code:

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


16.4 - Additional configuration
Code:
# nano /etc/rc.conf
FIND
# DISPLAYMANAGER="xdm"
uncomment it and change it to GDM
# rc-update add xdm default
# xorgconfig
<go through this script>


16.5 - 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.6 - 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-utils

Code:
# emerge alsa-utils


17.2 - Running alsaconf
Since alsa 0.9 (i believe) there has been an excellent configurator script included for ALSA
Code:
# alsaconf


17.3 - Editing Additional Files

Code:
# nano /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.2 - 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


//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 LDFLAGS
* 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 conrad in this forum.

Do not post gentoo issues in this forum, only related issues with following this guide.

//End Conrad Installation Guide: Dev Edition 1.0.0

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

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

------
Messages from Conrad

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 - Thankyou, 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.

Thankyou :)
- Cheater1034 and nesl247

Like it?
If you tried this, and liked it - Why not tell a friend or two? Maybe even add it to your signature :)

Post all support issues in this thread


Last edited by nesl247 on Thu Feb 02, 2006 3:56 am; edited 9 times in total
Back to top
View user's profile Send private message
BinBashBrad
n00b
n00b


Joined: 17 Jan 2006
Posts: 26
Location: Santa Fe, NM

PostPosted: Sun Jan 29, 2006 2:06 pm    Post subject: Reply with quote

I would like to try this.....any problems installing from an exsiting gentoo distro (not a livecd).....do you have to chroot differentlly?

I want to bleed,

Brad
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 3:13 pm    Post subject: binutils overlay Reply with quote

i have searched and searched and i cannot find a binutils-overlay any where. would be nice if you posted the ip instead of wget <Add Url Here for Binutils Overlay> in portage there is a masked ebuild for sys-devel/binutils-2.16.91.0.5 should i unmask that or should i just use binutils-2.16.1-r1? what do you recomend?
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sun Jan 29, 2006 3:27 pm    Post subject: Re: binutils overlay Reply with quote

mafioso wrote:
i have searched and searched and i cannot find a binutils-overlay any where. would be nice if you posted the ip instead of wget <Add Url Here for Binutils Overlay> in portage there is a masked ebuild for sys-devel/binutils-2.16.91.0.5 should i unmask that or should i just use binutils-2.16.1-r1? what do you recomend?


I will get on this,
I will contact nesl247 asap
do not use binutils-2.16.91* in portage, use the stable, 2.16.1, until the overlay gets uploaded.
_________________
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: Sun Jan 29, 2006 4:12 pm    Post subject: Reply with quote

If you read the notice at the top it says in bold that this guide is not ment to be used yet. I am still doing a test release. I needed to have the guide posted somewhere and I had it here for any suggestions and or spelling mistakes etc. I am almost done compiling world (base system) and then I will upload the binutils overlay and modify the guide for a few little fixes that I need to do. One of which is to remove -Bdirect as I could not seem to get it to work correctly. It will be ready to use when it reaches 1.0.1 later today.

Update: It is now ready to be used!
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 4:32 pm    Post subject: Reply with quote

BinBashBrad wrote:
I would like to try this.....any problems installing from an exsiting gentoo distro (not a livecd).....do you have to chroot differentlly?

I want to bleed,

Brad


No there is no problem as long as you are not trying to install on the same partitions. If you are then you need to start the computer using a livecd and format them and follow the guide. If you are just trying to update to the unstable toolchain you could just follow the guide but make sure to leave out what you need to such as the formating of the partitions and what not.
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 4:42 pm    Post subject: thx for the fast reply Reply with quote

i appreciate the fast replies.... sorry if i jumped the gun, i just can't resist this kind of stuff :roll: i fell off the bleeding edge a long time ago :twisted: i have nothing better to do with my time lmao. i'm currently sitting here in my live cd (as i post this) waiting for the overlay. (sigh) i've already wiped my partition that held my gentoo os. here is a screen of what my xfce4/nautilus looked like (and what it will look like soon after im finished with this guide(fingers crossed) ) using conrad whoosh. :arrow: http://www.smoking-guns.net/e107_files/public/2_screen2.png perty huh? i recently was able to get counterstrike source and hl2 working with cvswine :arrow: http://www.smoking-guns.net/e107_files/public/2_screenie.png
which was the only thing stopping me from wiping windblows off my system for EVER!! :evil: so i will soon have a 40 gig partition free for testing..... if you guys need another tester let me know, as i said i have nothing but time. peace maf
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 4:47 pm    Post subject: Reply with quote

Guide is useable as the edit in my last post said. I had to remove -Bdirect for this version until I can setup my testing box so that I can test and have a working version of gentoo. Spent all weekend trying so for now you will have to settle for this.
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 4:50 pm    Post subject: =sys-devel/binutils-2.16.91* -* Reply with quote

w00t!! you is fast...just a quick question before i begin, in "package.keywords" the entry =sys-devel/binutils-2.16.91* -* is still there, this will pull in the portage version of binutils-2.16.91.0.5 no? this is intended correct? ill get started as soon as i hear back....
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 5:07 pm    Post subject: Reply with quote

Yes that is intended. The binutils overlay was to include the -Bdirect patch but will not be in this version of the guide.
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 5:14 pm    Post subject: sweet Reply with quote

im installing now will let you know how it comes out...
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 6:22 pm    Post subject: first make.conf Reply with quote

this needs to be placed in the first make.conf as well

I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1

else gcc 4.1 will not compile.... small mistake you are forgiven :)
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 6:26 pm    Post subject: Reply with quote

Oops. Forgot to put it in the first make.conf for the first build
Back to top
View user's profile Send private message
BinBashBrad
n00b
n00b


Joined: 17 Jan 2006
Posts: 26
Location: Santa Fe, NM

PostPosted: Sun Jan 29, 2006 9:43 pm    Post subject: Reply with quote

nesl247 wrote:
BinBashBrad wrote:
I would like to try this.....any problems installing from an exsiting gentoo distro (not a livecd).....do you have to chroot differentlly?

I want to bleed,

Brad


No there is no problem as long as you are not trying to install on the same partitions. If you are then you need to start the computer using a livecd and format them and follow the guide. If you are just trying to update to the unstable toolchain you could just follow the guide but make sure to leave out what you need to such as the formating of the partitions and what not.


Thanks for the response...Its going to be a new install. I am going to install on the same hard drive, different partitions...what got me confused is this:" Installing Gentoo from an existing Linux distribution" http://www.gentoo.org/doc/en/altinstall.xml, inparticular "....boot back into your old linux as described. Then go to The Gentoo Handbook: Preparing the Disks and follow the instructions. When chrooting, use the following command to flush your environment:

Code Listing 6.5: Flushing the environment during chroot

# env -i HOME=$HOME TERM=$TERM chroot /mnt/gentoo /bin/bash
# /usr/sbin/env-update
# source /etc/profile


To flush your enviornment????? Not sure about this extra command "env -i HOME=$HOME TERM=$TERM"
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 10:23 pm    Post subject: Reply with quote

If you just follow this guide it can be down from any linux livecd or current install. (As long as it is to a different partition that is) Of course if you want the other install to have the bootloader then you need to reboot to that one when you get to the grub part add in the extra bit for the new install. You don't need to have 2 grub installations.
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 10:37 pm    Post subject: error Reply with quote

here is the error i get on the second pass of the toolkit
!!! Digest verification Failed:
!!! /usr/portage/distfiles/glibc-2.3.6-branch-update-20060121.patch.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 2005477
!!! Expected: 1981788

any ideas?
_________________
persistance is THE key to success


Last edited by mafioso on Sun Jan 29, 2006 11:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 10:38 pm    Post subject: Reply with quote

Code:
# rm /usr/portage/distfiles/*glibc*
The package didn't download correctly.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 10:42 pm    Post subject: Reply with quote

Oops after you do that also do
Code:
# ebuild /usr/local/portage/sys-libs/glibc/*90* digest
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 10:55 pm    Post subject: same problem Reply with quote

edited to protect my pride :oops: see below lol
_________________
persistance is THE key to success


Last edited by mafioso on Mon Jan 30, 2006 12:01 am; edited 1 time in total
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Jan 29, 2006 10:57 pm    Post subject: oops my dam self Reply with quote

oops i did "ebuild /usr/local/portage/sys-libs/glibc/*90* digest" AFTER it dl'ed the ebuild and now seems to be compiling happily :) thx nesl
_________________
persistance is THE key to success


Last edited by mafioso on Mon Jan 30, 2006 12:07 am; edited 1 time in total
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Jan 29, 2006 11:07 pm    Post subject: Reply with quote

Congratulations.
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: Mon Jan 30, 2006 4:18 pm    Post subject: Reply with quote

I'm getting a bad download of the branch updates as well, and have followed your steps on fixing the problem. Not working.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
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: Mon Jan 30, 2006 4:21 pm    Post subject: Reply with quote

My fix was changing the checksum and MD5 info, and it applied correctly, and is now compiling.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Mon Jan 30, 2006 8:09 pm    Post subject: cairo Reply with quote

welp i have the base system installed and i must say once the glibc problem was solved everything went smooth.... i have run into a problem with cairo and i found the fix except i dont know how to do it rofl!! here is the "error"

Code:

pixregion.o >/dev/null 2>&1
{standard input}: Assembler messages:
{standard input}:5702: Error: symbol `_cairo_pixman_composite' is already defined
make[3]: *** [fbpict.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2'
make: *** [all] Error 2

!!! ERROR: x11-libs/cairo-1.0.2 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! Compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

here is the "fix" (found in the 4.1 beta thread)

Here is the solution: https://bugs.freedesktop.org/show_bug.cgi?id=5136

I've added the following:
Code:
sed -i -e '/INT_/d' pixman/src/pixman-remap.h
to my cairo ebuild, and it compiled fine.

Also this very same bug will show up if you compile mozilla-frefox-1.5* and mozilla-thunderbird-1.5*.




maybe someone can tell me how EXACTLY to do it? would be appreciated.
_________________
persistance is THE key to success


Last edited by mafioso on Mon Jan 30, 2006 8:22 pm; edited 3 times in total
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon Jan 30, 2006 8:11 pm    Post subject: Reply with quote

Yeah that problem I have no clue why. It isn't the way the guide is setup. Must be the mirrors or something.
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  Next
Page 1 of 3

 
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