Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

CONRAD Install Guide 0.7.5 - (__DEPRECATED__)

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
238 posts
  • Page 1 of 10
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 10
  • Next
Author
Message
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

CONRAD Install Guide 0.7.5 - (__DEPRECATED__)

  • Quote

Post by cheater1034 » Wed Oct 26, 2005 1:18 am

Conrad Installation Guide Version: 0.7.5
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!
The RIGHT way to get a GCC 4.0 based system!
-----
Conrad Install 1.0 Development
Working on new plans for the Conrad install method upgrade to 1.0
* FOUND a more optimized make.conf (Open for suggestions!)
* Devising 3 Methods (Insane = LDFLAGS+Bdirect+Glibc-2.3.90*+New CFLAGS, LSANE = LDFLAGS+New CFLAGS, SFLBSAL "settle for less but still a lot"= new CFLAGS)
the FOLLOWING CFLAGS WILL be used by the new version

Code: Select all

      CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -ftracer -pipe"
      CHOST="i686-pc-linux-gnu"
      CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
      LDFLAGS="-Wl,-O1 -Wl,--sort-common -s,-Wl, -Bdirect"
* LDFLAGS are being thoroughly testing! - -Bdirect is ONLY Supported on nxsty's glibc overlays!
* Slightly different toolkit build process
* e17 instructions
<!Looking for Suggestions!>
------
For an automated version of this install method See
Lucky-1.0.1 'Piñata'
------
CONRAD IRC CHANNEL
Join - #conrad on FreeNode (no longer #conrad-gentoo)
FOR REISER4 AS MENTIONED IN GUIDE...
You need the Conrad Install LiveCD
http://forums.gentoo.org/viewtopic-t-405729.html
-----
NOTICE:
The Conrad method is not supported in any way by the Gentoo Linux Foundation.
Well, I love the gentoo foundation, but it is the truth and the right thing to say :wink:
-----
11/24/05 - Upgraded to 0.7.5 - Safety First
-----
The only guide with GCC 4.0.x/latest support!
The only guide with 100% Reiser4/Without copying the filesystem!
The only guide that is updated almost EVERY Day!
-----
0.7.5 - "Safety First"
* Revised to old method (4.0.2)
* Fixed make.conf
<REASON: The new GCC 4.1 snapshot apparently conflicted with the CFLAGS>
-----
Various Fixes/Updates - 0.7.5
None
-----
CONRAD Currently installs with (GCC 4.0, GLIBC 2.3.6, Binutils 2.16.9x)
-----
Conrad Development Team
!WooHoo!
(/Builder/Tester/Scripter/Graphic\Web Designer) - Cheater1034
(Scripter-Lucky/Tester/IRC) - Brainiac Ghost
(Scripter-Lucky/Tester) - mdshort
-----
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
-----
As always, this is not supported by gentoo - This is experimental - For advanced users only - So on and so forth
-----
Version: 0.7.5 "Safety First"
-----
IMPORTANT
* GCC 4.X is unsupported and EXPERIMENTAL/MASKED!
* Glibc-2.3.90* is a pre-release/cvs/unsupported snapshot!
* Binutils 2.16.90* is a pre-release/cvs/unsupported snapshot!
* DO NOT POST BUGS REGARDING UNSUPPORTED SOFTWARE TO GENTOO!
-----
The Guide Begins...
-----
Getting Started
Well, there is one last chance for you to turn back - remember CONRAD is not responsible for Heart Attacks, head injuries, or any other injury that may occur after you boot your system.
-----
Oh well, stop hearing me talk about how fast it is, learn how to make it that fast.

1 - The LiveCD

1.1 - First of all, we are going to download the LATEST Conrad Gentoo Installation LiveCD - This is required for reiser4 installation
REISER4 IS NOT REQUIRED! If you do not want to use reiser4, you can use this livecd, or the Gentoo liveCD

Code: Select all

http://bfgraphics.net/conrad/releases
1.2 - Burn it to a CD and boot it - You should be welcomed with a grub screen - with a pretty splash of the dog who made this all possible...Conrad as a puppy.

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: Select all

net-setup eth0
Or if you simply run by dhcp

Code: Select all

dhcpcd eth0
3 - Hard disk configuration

3.1 - View the hard disk configuration

Code: Select all

 # hdparm -i /dev/hda
3.2 - Test the Hard Disk's speed

Code: Select all

hdparm -tT /dev/hda
3.3 - Get the maximum from your hard disk

Code: Select all

hdparm -d1 -c1 -X69 /dev/hda
4 - Partitioning the Drive

4.1 Using Fdisk

Code: Select all

# 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: Select all

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 Reiser4  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: Select all

# mkfs.reiser4 /dev/hda3
# mkfs.ext2 /dev/hda1
# mkswap /dev/hda2
# swapon /dev/hda2
4.4 - Mounting your hard drives

Code: Select all

# 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: Select all

# cd /mnt/gentoo
Choose and download your architecture here... (NPTL Requires i586 or higher)
http://gentoo.osuosl.org/releases/x86/2005.1-r1/stages/
# tar -jxvf stage3-ARCH-2005.1-r1.tar.bz2

5.2 - Downloading and extracting a portage snapshot

Code: Select all

# http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
# tar jxvf portage-latest.tar.bz2 -C /mnt/gentoo/usr
5.3 - Copying resolv.conf/mounting proc and dev

Code: Select all

#cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
6 - Chrooting into an environment

6.1 - Chrooting and Running env-update;source /etc/profile

Code: Select all

# chroot /mnt/gentoo /bin/bash
# env-update; source /etc/profile
6.2 - Emerging Sync

Code: Select all

# emerge sync
7 - Downloading 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: Select all

# rm /etc/make.conf
NOW- You need to copy-paste this, or edit it manually, or type the lines, here is the make.conf reccomended.

Code: Select all

CFLAGS="-O2 -march=YOURARCH -fomit-frame-pointer -pipe"
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
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="ccache distlocks userpriv"
USE="nptl nptlonly pic"
7.3 - Making appropriate portage TMP and OVERLAY directories

Code: Select all

#mkdir -p /var/log/portage
#mkdir -p /usr/local/portage
8 - Building/rebuilding/system-rebuilding with gcc 4.0

8.1 - Adding Necessary entries to package.keywords/package.unmask
Here are the files you need to create...
/etc/portage/package.use

Code: Select all

sys-libs/glibc nomalloccheck nptl nptlonly pic userlocales
sys-devel/libperl ithreads
dev-lang/perl ithreads
sys-devel/binutils multislot
sys-devel/gcc multislot
/etc/portage/package.keywords

Code: Select all

=sys-libs/glibc-2.3.6-r1 -*
=sys-devel/gcc-4.0* -*
=sys-devel/binutils-2.16.9* -*
sys-libs/libstdc++-v3 ~x86
dev-libs/mpfr ~x86
dev-libs/gmp ~x86
sys-libs/timezone-data ~x86
/etc/portage/package.unmask

Code: Select all

=sys-devel/binutils-2.16.9*
=sys-libs/glibc-2.3.6
=sys-devel/gcc-4.0*
>=dev-libs/lzo-2.0
=media-video/transcode-1.0*
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: Select all

# nano /etc/locales.build
8.3 - Building the toolkit

Code: Select all

# emerge gcc-config mpfr glibc binutils libstdc++-v3 gcc
8.4 - Running gcc-config and binutils-config

Code: Select all

# gcc-config -l
(view options)
1 ) i686-pc-linux-gnu-3.3.5_2005* (should be similar to this...)
2 - 5 ) (other hardned, etc compilers of 3.3.5)
6 ) i686-pc-linux-gnu-4.0.2* (should be similar to this...) 
# gcc-config 6
# binutils-config -l
(should be 2 because we are using the unstable binutils snapshot)
# binutils-config 2
# env-update; source /etc/profile
8.5 - Fetching nxsty's Glibc-2.3.90* ebuild - OPTIONAL

Code: Select all

# wget http://snigel.no-ip.com/~nxsty/linux/glibc-overlay.tar.bz2 
# mkdir -p /usr/local/portage/sys-libs
# tar jxvf glibc-overlay.tar.bz2 -C /usr/local/portage/sys-libs
# rm glibc-overlay*
# echo =sys-libs/glibc-2.3.9* -* >> /etc/portage/package.keywords
8.6 - Rebuilding the toolkit

Code: Select all

# emerge glibc binutils libstdc++-v3 gcc
8.7 - Pruning the old Compiler and Binutils

Code: Select all

# emerge -aP gcc (make sure it wants to prune the old version)
# emerge -aP binutils (make sure it wants to prune the old version)

8.8 - Rebuilding the System

Code: Select all

# emerge --emptytree system
9 Configuring the kernel

9.1 - Choosing your kernel
Choose a kernel source based on what your needs/likes are
The DEFAULT Conrad Install uses NITRO-Sources - But there are 4 other trusted kernels.

Code: Select all

[b]/DEFAULT Kernel in Conrad[/b]

2 - Nitro-Sources 2.6.14-r2- Courtesy of Tiger683
Release Announcement: http://forums.gentoo.org/viewtopic-t-401300.html
Ebuild: http://www.stud.uni-karlsruhe.de/~uyavl/public/nitro-sources/2.6.14-nitro2/nitro-sources-2.6.14-r2.ebuild

[b]/Optional Trusted Kernels[/b]

2 - ArchCK-Sources 2.6.14-archck5 - Courtesy of iphitus
Release Announcement: http://forums.gentoo.org/viewtopic-t-400536.html
Ebuild: http://bugs.gentoo.org/attachment.cgi?id=72791

3 - Acid-Sources 2.6.14-r2 - Courtesy of Tiger683
Release Announcement: http://forums.gentoo.org/viewtopic-t-397773.html
Ebuild: http://www.stud.uni-karlsruhe.de/~uyavl/public/acid-sources/2.6.14-acid2/acid-sources-2.6.14-r2.ebuild
4 - Gentoo-Sources - NO REISER4
emerge gentoo-sources

5 - Vanilla-Sources - NO REISER4
emerge vanilla-sources
9.2 - Downloading the NITRO-Sources ebuild
(Nitro is the default kernel now)

Code: Select all

# wget http://www.stud.uni-karlsruhe.de/~uyavl/public/nitro-sources/2.6.14-nitro2/nitro-sources-2.6.14-r2.ebuild
9.3 - Emerging The Kernel
(NOTE: Depending on which kernel you chose, substitute as necessary)

Code: Select all

# mkdir -p /usr/local/portage/sys-kernel/nitro-sources
# mv nitro-sources-* /usr/local/portage/sys-kernel/nitro-sources
# ebuild /usr/local/portage/sys-kernel/nitro-sources/nitro-sources-2.6.14-r2.ebuild digest
# echo sys-kernel/nitro-sources ~x86 >> /etc/portage/package.keywords
# emerge nitro-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: Select all

# cd /usr/src/linux
# make menuconfig

Code: Select all

Required Options...
Nitro Sources Menu --->
  [*] Reiser4 <experimental>
  [*] 1 GB Lowmem Support (optional)
(Also check out Nitro's other features in this menu, but reiser4 is required)

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: Select all

# mount /dev/hda1 /boot
# echo sys-boot/grub ~x86 >> /etc/portage/package.keywords
# 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: Select all

# make && make modules_install && make install
10 - Emerging additional system files

10.1 Emerging necessary programs

Code: Select all

# emerge syslog-ng reiser4progs sysfsutils dhcpcd hotplug coldplug gentoolkit acpid
10.2 Adding the programs to the default runlevel

Code: Select all

# rc-update add syslog-ng default
# rc-update add net.eth0 default
# rc-update add hotplug 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: Select all

# emerge splashutils splash-themes-gentoo
# rc-update add splash boot
11.2 - Downloading the CONRAD-fbsplash theme - OPTIONAL
Preview1: http://www.bfgraphics.net/conrad-gentoo ... plash1.png
Preview2: http://www.bfgraphics.net/conrad-gentoo ... plash2.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: Select all

# 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: Select all

# cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash-conrad -r 1024x768 conrad
# rm -rf /etc/splash/default/*
# ln -s /etc/splash/conrad/* /etc/splash/default/
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: Select all

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: Select all

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 | GCC4
root (hd0,0) # boot partition
kernel /vmlinuz-2.6.14-nitro2 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: Select all

# grub
<grub:> root (hd0,0) # boot partition
# boot partiton 
<grub:> setup (hd0)
<grub:> quit
13 - Configuring your system

13.1 - Editing configuration files

Code: Select all

# nano /etc/conf.d/hdparm
Add the following
hda_args="-d1 -X69 -c1"
cdrom0_args="-d1"
13.2 - Set your hostname and domainname

Code: Select all

# 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: Select all

# 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: Select all

# 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: Select all

# nano /etc/fstab
# <fs>               <mountpoint>  <type>       <opts>               <dump/pass>
# Reiser4 Users use, noatime and nodiratime - in opts
/dev/hda1            /boot         ext2     noauto,notail        1 2
/dev/hda3            /             reiser4     notail               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: Select all

# passwd
<enter new password>
<confirm new password>
Then set up a user

Code: Select all

# useradd -m -G users,wheel conrad
# passwd conrad
<set conrads password
14 - Rebooting and Booting!


14.1 - Rebooting And Unmounting

Code: Select all

# 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: Select all

# nano /usr/portage/profiles/use.desc
There are tons of user variables, by x86 the following are used by default

Code: 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"
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: Select all

# nano /etc/make.conf
USE="nptl 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: Select all

# rc-update del netmount
For more In-Depth configuration information, consult the Gentoo Handbook


16 - Installing Xorg-X11 6.9RC and a graphical environment

16.1 - Downloading and Extracting the xorg 6.9 ebuild

Code: Select all

# wget http://snigel.no-ip.com/~nxsty/linux/xorg-x11-overlay.tar.bz2
* Thanks to nxsty
# mkdir -p /usr/local/portage/x11-base
# tar jxvf xorg-x11-overlay.tar.bz2 -C /usr/local/portage/x11-base
# nano /etc/portage/package.keywords
<add this line>
=x11-base/xorg-x11-6.9_pre* -*
[/code]

16.2 - Editing xft.pc
THIS IS IMPORTANT! if this hasnt been fixed in your snapshot yet...

Code: Select all

# nano /usr/lib/pkgconfig/xft.pc 
(FIND THE DEPENDENCIES)
if 'xproto' is there, delete it
16.3 - FIXING CAIRO
CAIRO-1.0* fails to build on ALL newer version of binutils, and if you followed this guide, you are using a newer ver: of binutils :)

Bug #: http://bugs.gentoo.org/show_bug.cgi?id=113538

Code: Select all

(taken from the LUCKY CONRAD Script...)
# wget http://bugs.gentoo.org/attachment.cgi?id=73553
# mv attachment* cairo-1.0.2-r1.ebuild
# mkdir -p /usr/local/portage/x11-libs/cairo
# mv cairo-1.0.2-r1.ebuild /usr/local/portage/x11-libs/cairo
# mkdir -p /usr/local/portage/x11-libs/cairo/files
# wget http://bugs.gentoo.org/attachment.cgi?id=73554
# mv attachment* cairo-1.0.2-pkg_macro.patch
# mv cairo-1.0.2-pkg* /usr/local/portage/x11-libs/cairo/files
# wget http://bugs.gentoo.org/attachment.cgi?id=73555
# mv attachment* pixman-remap.patch
# mv pixman-re* /usr/local/portage/x11-libs/cairo/files
# ebuild /usr/local/portage/x11-libs/cairo/cairo-1.0.2-r1.ebuild digest
16.2 - Installing GNOME or KDE

For Gnome...

Code: Select all

# emerge gnome gdm
(light)
# emerge gnome-light gdm
For KDE

Code: Select all

(monolithic)
# emerge kde gdm
(meta)
# emerge kde-meta gdm
16.3 - Additional configuration

Code: Select all

# 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.4 - 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.5 - The CONRAD Wallpaper Archive

Code: Select all

# 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: Select all

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

Code: Select all

# alsaconf
17.3 - the asoundrc/asound.conf file
Phaeronix has made an excellent asound.conf file, here is the url to it, copy it and past it in either ~/user/.asoundrc, or /etc/asound.conf

Code: Select all

www.phaeronix.net
----
Go to the "Alsa Config" Section
17.4 - Editing Additional Files

Code: Select all

# 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.5 - Adding alsasound to the default runlevel

Code: Select all

# 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 - Keeping your system up-to-date

18.1 - Keeping the kernel sources up-to-date
If you get to a point in which you want to upgrade the kernel - it can be maybe different when using a custom patchset

First and foremost you want to check back at the Gentoo Forums "Unsupported Software" section, and look for any new Nitro-Sources threads.

Code: Select all

# cp nitro-sources-2.6.xx-*.ebuild /usr/local/portage/sys-kernel/nitro-sources
# ebuild /usr/local/portage/sys-kernel/nitro-sources/nitro-sources-2.6.xx-*.ebuild digest
# cp /usr/src/linux/.config /usr/src/config
# rm /usr/src/linux
# emerge nitro-sources
# cd /usr/src/linux
# make menuconfig
Load an alternate Configuration file --->
"../config"
18.2 - Updating the world
First of all always keep the sync up-to-date, a emerge sync once a day atleast is reccomended

Code: Select all

# emerge sync
Then, to update the world you have a few commands, all similar

Code: Select all

# emerge -uD world
# emerge -u world
I don't reccomend using any other commands than that, that should be sufficient

//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...
* Reiser4 Filesystem (possibly)
* GCC 4.0.2 based system
* The LATEST Packages portage has to offer
* The speed of a military jet x 3
* Possibly the latest GNOME, KDE, and xorg 6.9RC/CVS
* Nitro-Sources-<latest> (possible)
* 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 0.7.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.
Email: conrad-gentoo@bfgraphics.net
AIM: cheater1034
IRC: #conrad
------
Be sure to check out the Conrad Gentoo Projects Home Page

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

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

Donate (Hardware or through PayPal
I wont beg anyone for donations - anywhere from $1-$1000 is accepted and appreciated (well maybe $1000 a little bit more :lol:)
If you have some extra money or obsolete computer parts - I would love any of it :)

Currently, Conrad is all built on, 1 Machine : AMD Athlon 64 2800+ (O/C'd 200 mhz to 3000+ speed), 768 MB Ram, 120 GB ATA133 HDD
I have a second built machine, a Duron 1.2 GHZ - with everything needed to run, except no hard drive :( (A HDD donation for this machine would be a big help:)

If you are interested in helping Conrad get better hosting ($20/mo for 400 GB Bandwidth and 10 GB space) or helping us get new build machines to setup and built constantly new concepts for conrad, it is a big help to donate.
PayPal - 1
If you are interested in helping Conrad Gentoo Projects through a small cash donation (PayPal) Please do the following:
1. Go to http://conrad-gentoo.bfgraphics.net/
2. Go to the support page (link at top of page)
3. Click the "Make a Donation" button at the bottom of the support page
Hardware - 2
Any hardware donation is accepted (except ISA Cards and P2 or lower class CPUs)
If you have any of the following items - (CPUs, Hard Drives, Memory Sticks, Motherboards, Vid Cards, or already Built systems, etc) - That aren't in use, why not Donate them to Conrad? I will pay for shipping on any item you donate :)
HOWTO:
1. Email conrad-gentoo@bfgraphics.net with the item you are willing to donate, a picture (for proof), and your PayPal account information - and a shipping quote from UPS, USPS, DHL, Fed-Ex, etc. I will send you the electronic funds through paypal.

All donors will be recognized in red bold letters in this guide, the pages of all the other Conrad releases, and the official conrad website :)
-----
Future Conrad Projects
* Conrad Stage3 Install Tarballs - (GCC 4.0 Enabled - Athlon-XP, i686, i586, Pentium3 <maybe>, pentium4 <maybe>, prescott <maybe>) - They can be used in this install to save a bundle of time.
-----
Again, if you are interested in joining Conrad Development, email me at, conrad-gentoo@bfgraphics.net - If you have any suggestions, also reach me there :)

LUCKY - 1.0.1 'Piñata' Released
RELEASED - http://forums.gentoo.org/viewtopic-t-411116.html

CONRAD Install LiveCD 0.2.5 "ambition" Release Date
Date: NOT SET - In Development!
Last edited by cheater1034 on Thu Dec 22, 2005 4:08 am, edited 121 times in total.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Fri Oct 28, 2005 1:11 am

Made crucial fixes to the guide as of 10/27/05

Added net/hostname/domainname/adding users/root passwd

Changed method to install grub --- And upgraded to 0.97 instead of 0.96

Also added how to install KDE with all kde packages in package.keywords
- Will install KDE 3.4.3 as of 10/27/05

Added how to install Gnome with all of the GNOME packages in package.keywords
- Will install Gnome 2.12 as of 10/27/05
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Fri Oct 28, 2005 2:24 pm

well shucks. oh well I hacked away at your script which is written nicely, i <3 bash scripting. anyways what i did was make it so i could have the system stop at the point where its about to emerge -e system what i did instead was had it emerge -ef system then i compiled/emerged grub and nitro-sources and all the system programs vixxie-cron reiser4utils dhcpcd etc... so that i could hopefully reboot into my system with nothing but the necessary things i need to do emerge -e system with a rocksolid gcc-3.4.4 and reiser4 (havent been home I left it last night it was compiling gcc for the first time.). i also made a script that unmasked and fetched kde-3,5.0_beta2 ebuilds. ill let you know how it worked.
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Fri Oct 28, 2005 2:36 pm

both scripts look identical im about to check for sure but why do you have yo run the same script twice?


yes they are identical...
Last edited by seren on Fri Oct 28, 2005 2:46 pm, edited 2 times in total.
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Fri Oct 28, 2005 2:40 pm

seren wrote:a question is, both scripts look identical im about to check for sure but why do you have yo run the same script twice?
nevermind i get it its because the first script stops when it has chrooted to /mnt/gentoo/ so you have to continue on, well
would it make sence for the first script to look like this so it wouldnt be confusing and do the same things twice ie. extract stage tarballs and portage snapshot

Code: Select all

#!/bin/bash
echo "----"
echo "Starting CONRAD Gentoo i686 GCC 3.4.4 BASE Install Script............................."
echo "----"
echo "Make sure your Filesystem is properly mounted to /mnt/gentoo !"
echo "----"
echo "Make sure your network is configured properly before continuing"
echo "----"
cd /mnt/gentoo
echo "Downloading Stage3 i686 Tarball From gentoo.osuosl.org"
wget http://gentoo.osuosl.org/releases/x86/2005.1/stages/i686/stage3-i686-2005.1.tar.bz2
echo "Done!"
echo "Extracting Stage3 i686 Tarball"
echo "...Depending on your system, this may take awhile"
tar xjpvf stage3-i686-2005.1.tar.bz2
echo "...Done!"
echo "Downloading Latest Portage Snapshot"
wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2
echo "...Done!"
echo "Extacting portage snapshot to usr/portage"
echo "...This can take quite some time"
tar jxvf portage-latest.tar.bz2 -C /mnt/gentoo/usr
echo "...Done!"
echo "Deleting Stage3 Tarball and Portage Tarball..."
rm portage-latest.tar.bz2 && rm stage3-i686-2005.1.tar.bz2
echo "...Done!"
echo "Copying mounts, mounting proc, and chrooting"
cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
cp /proc/mounts /mnt/gentoo/etc/mtab
chroot /mnt/gentoo /bin/bash

and just go on from here in script 2

Code: Select all

env-update && source /etc/profile
echo "Editing make.conf..."
rm /etc/make.conf
wget http://bfgraphics.net/make.conf-1
mv make.conf-1 /etc/make.conf
rm -r /var/log/portage
rm -r /usr/local/portage
mkdir /var/log/portage
mkdir /usr/local/portage
echo "The portage overlay directory is set to /usr/local/portage"
echo "The mirrors are set to DEFAULT, use mirrorselect to change"
echo "...Done!"
echo "Making GCC 3.4.4 Part of the stable branch"
echo ~sys-devel/gcc-3.4.4 ~x86 >> /etc/portage/package.keywords
echo sys-devel/gcc-config ~x86 >> /etc/portage/package.keywords
echo sys-libs/libstdc++-v3 ~x86 >> /etc/portage/package.keywords
echo sys-libs/glibc ~x86 >> /etc/portage/package.keywords
echo "...Done!"
echo "Updating the portage tree..."
emerge sync
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Fri Oct 28, 2005 2:57 pm

and another thing, when changing your stage tarballs arch (fron i686 to whatever you use) its necessary to change the make.conf according to the arch right (?) so durring this step

Code: Select all

echo "Editing make.conf..."
rm /etc/make.conf
wget http://bfgraphics.net/make.conf-1
mv make.conf-1 /etc/make.conf
it would default to i686 arch
i got around this by editing the script like this

Code: Select all

echo "Editing make.conf..."
rm /etc/make.conf
mv make.conf-1 /etc/make.conf
and

Code: Select all

wget http://bfgraphics.net/make.conf-1 && wget http://bfgraphics.net/make.conf-2
then i edited make.conf-1 and 2 according to my arch

also changed this so it wouldnt go back to i686 again

Code: Select all

echo "Editing make.conf..."
rm /etc/make.conf
mv make.conf-2 /etc/make.conf
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Fri Oct 28, 2005 6:01 pm

The scripts are identical, but one (the second one) is commented out up to where it needs to be, so they run different things.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Fri Oct 28, 2005 6:05 pm

your right /me smacks /me =), was i right about changing the make .conf's?
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Fri Oct 28, 2005 7:56 pm

You were right about the make.conf, if it worked for you :)

I am working on a few more bash scripts, I will update the guide majorly over the weekend
* New make.conf setup, more optimized
* More than one install script - There will be one for x86, 586, and 686
^^ I will keep the webserver more organized with conrad/ directory, including the iso, i686/ i586/ and x86/, all containing their personal make.conf(s) and other files
* New hdparm setup
* Gnome and KDE Install Bash Scripts
^ (both scripts will contain a package.keywords containing all of the KDE components, GNOME components, and a few others ^
* Gensplash will be in the guide
* More complete descriptions in the guide
-----
I am re-building my entire system and gnome with the new make.conf to test it, as it contains more options (-mtune=<arch>, -ffast-math, keeping the -Os flag
Slightly changed LDFLAGS
-----
After I get a working make.conf, I will experiment building bash scripts.
And for some reason grub has no splash support, I will resolve this as well.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Sat Oct 29, 2005 7:59 pm

You are also free to browse the recently setup, conrad mirror.

http://www.bfgraphics.net/conrad/
-----
It contains installation scripts for i386(testing), i586 (testing), i686 (testing)
the i386 (x86) doesn't conatin NPTL threading support, as it is only supported by i586+
It contains make.conf files for all 3 supported archs (tested, proven stable)
It contains a grub 0.95 reiser4 install script, which is untested.
It contains a grub 0.95 reiser4 and splash patch (not tested when patched together)
It contains a KDE and GNOME installation script to install the LATEST KDE and GNOME (untested)
It contains a package.keywords file, which has all of the KDE, GNOME, and system components in it (such as gcc)

And it contains a releases directory, which is where all of the iso's of the livecd will go.

Remember, everything on the mirror is use at your own risk, and not supported by the guide as of 10/29/05
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
RobNyc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Tue Oct 11, 2005 11:42 pm
Location: NYC

  • Quote

Post by RobNyc » Sat Oct 29, 2005 10:17 pm

im about to try this hope it goes good for me// guess not

got into some trouble and confusing
also was tryin to do it on vmware and i couldnt get the net going there
vmware uses pcnet32
Thank You
Top
Phk
Guru
Guru
User avatar
Posts: 428
Joined: Mon Feb 02, 2004 8:25 pm
Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time

  • Quote

Post by Phk » Sun Oct 30, 2005 3:03 pm

Clap clap clap! Nice work you have there ;) I bet it works like a charm :)

If i had found it a week ago, i'd use it for my x86 Laptop new Gentoo install! Now... I promise i'll try it soon on another machine ;)

But how about a "copy-paste" from this, but for AMD64?
I'll start my AMD64 installation this week, on a RAIDed-0 400GB, DualCore 5.5GHz, and a nVidia 7800 GTX GDDR3........
It's like a "Freaks come out" installation, LOL! It surely would be better if you already have those neat scripts for this architecture ;)

cheers,
Phk!
"# cat /dev/urandom >> /tmp/life"
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Sun Oct 30, 2005 3:31 pm

I could make athlon64 scripts, at the moment I have, i386, i586, i686, p4, and athlon-xp scripts/make.conf files.

I reccomend athlon-xp for amd64 users (like myself) because it runs the fast on it, and it's a stable x86 environment. If you want an amd64 install script, I'll work on it :)

To see the scripts avaliable, visit...
http://bfgraphics.net/conrad

Also I will be soon making GCC 4.0.X Install Scripts --- Because I recently discovered installing it with gcc 4.0.2 successfully, now I'm going to make it into scripts
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Sun Oct 30, 2005 7:04 pm

Phk wrote:Clap clap clap! Nice work you have there ;) I bet it works like a charm :)

If i had found it a week ago, i'd use it for my x86 Laptop new Gentoo install! Now... I promise i'll try it soon on another machine ;)

But how about a "copy-paste" from this, but for AMD64?
I'll start my AMD64 installation this week, on a RAIDed-0 400GB, DualCore 5.5GHz, and a nVidia 7800 GTX GDDR3........
It's like a "Freaks come out" installation, LOL! It surely would be better if you already have those neat scripts for this architecture ;)

cheers,
Phk!
i want your pc =) nice /me drools
Top
Phk
Guru
Guru
User avatar
Posts: 428
Joined: Mon Feb 02, 2004 8:25 pm
Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time

  • Quote

Post by Phk » Mon Oct 31, 2005 12:26 am

Heh, nice computer isn't it?
It was expensive.. but it worths it ;)
"# cat /dev/urandom >> /tmp/life"
Top
fank
l33t
l33t
Posts: 794
Joined: Sat Oct 16, 2004 7:14 am
Location: Minsk, Belarus

  • Quote

Post by fank » Mon Oct 31, 2005 5:56 am

can I get 0.2 release?
all this links points to 0.1 version
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Mon Oct 31, 2005 4:45 pm

Moved from Documentation, Tips & Tricks to Unsupported Software.
No-one's more important than the earthworm.
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Tue Nov 01, 2005 4:03 am

Updated - 10/31/05

See above for changes and updates, including improved scripts, more archs supported, and gcc 4.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
RobNyc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Tue Oct 11, 2005 11:42 pm
Location: NYC

  • Quote

Post by RobNyc » Tue Nov 01, 2005 5:00 am

cheater1034 wrote:Updated - 10/31/05

See above for changes and updates, including improved scripts, more archs supported, and gcc 4.
cheater i need ur help to install :)
Thank You
Top
jastom
n00b
n00b
Posts: 6
Joined: Wed Feb 11, 2004 11:00 am

  • Quote

Post by jastom » Tue Nov 01, 2005 8:30 am

hi,

will there be a complete install CD (like kororaa) for those who have no network (or slow internet) connection?
if Yes - what will be included and when will it be available?

cheers Jastom
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Tue Nov 01, 2005 7:48 pm

RobNYC, Of course, I'll go on IRC tonight possibly.

Jastom, An install cd like kororaa is not going to be made.
However, I will be making an install cd, that will basically have stage3 tarballs on the CD, and a portage snapshot - It will be executed by similar scripts as shown above.

I will not make a fully automated install cd LIKE KORORAA, I will make one that will guide the process of installing gentoo, but not install all of the prebuilt graphical/kde applications, but there will be an install cd, less automated than kororaa, and it won't be nearly as advanced or anything.

I was debating taking the kororaa installer script, and making extreme changes to it to have it basically follow the bash scripts, provided here.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
RobNyc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Tue Oct 11, 2005 11:42 pm
Location: NYC

  • Quote

Post by RobNyc » Tue Nov 01, 2005 10:52 pm

cheater1034 wrote:RobNYC, Of course, I'll go on IRC tonight possibly.
Thanks, I was doing the new installation on my celeron but I was up to step #2 but was thinking what to do. and I was thinking about i686 gcc4.0 or i686 gcc3.4.4 , i noticed the make.conf-2 for i686/gcc4.0 is -O3
Thank You
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Wed Nov 02, 2005 12:12 am

i have gcc4 running smooth as butter right now, but i had problems, heres how i got around it, i first used the gcc3.4.4 scripts and commented everything in the second script out at emerge -e sytem so all it did was get me to a standard chroot with gcc3.4.4 the system was still compiled in gcc 3.3.5 so then i emerged grub and the nitro kernel sources. then i emerged all the necesary system progs, reiser4progs dhcpcd coldplug etc.. got my kernel compilesd and grub.conf set up also remember to set a root password =) then i booted to my 50% gcc 3.4.4 install. then i downloaded the gcc4 scripts and ran them against gcc 3.4.4 best thing is the live cd wasnt hogging all my memory since i was no longer chrooted. this method worked out PERFECTLY, when i tried doing just the gcc4 scripts i was having problems because when you chroot your using gcc 3.3.5 to compile 4.0.2 and some reason it didnt work, but im halfway through emerge -e system and havent had a problem yet with the method i used. i also tweaked my make.conf to --fmarch=sse --ffast-math and -03 =) still no issues and let me tell you its fast.

any questions let me know
Top
cheater1034
Veteran
Veteran
User avatar
Posts: 1558
Joined: Thu Sep 09, 2004 7:38 pm
Contact:
Contact cheater1034
Website

  • Quote

Post by cheater1034 » Wed Nov 02, 2005 1:23 am

seren wrote:i have gcc4 running smooth as butter right now, but i had problems, heres how i got around it, i first used the gcc3.4.4 scripts and commented everything in the second script out at emerge -e sytem so all it did was get me to a standard chroot with gcc3.4.4 the system was still compiled in gcc 3.3.5 so then i emerged grub and the nitro kernel sources. then i emerged all the necesary system progs, reiser4progs dhcpcd coldplug etc.. got my kernel compilesd and grub.conf set up also remember to set a root password =) then i booted to my 50% gcc 3.4.4 install. then i downloaded the gcc4 scripts and ran them against gcc 3.4.4 best thing is the live cd wasnt hogging all my memory since i was no longer chrooted. this method worked out PERFECTLY, when i tried doing just the gcc4 scripts i was having problems because when you chroot your using gcc 3.3.5 to compile 4.0.2 and some reason it didnt work, but im halfway through emerge -e system and havent had a problem yet with the method i used. i also tweaked my make.conf to --fmarch=sse --ffast-math and -03 =) still no issues and let me tell you its fast.

any questions let me know
Glad to hear!
I'm exploring stable CFLAGS for GCC4, I'd love to see your make.conf, so far here's what I got, that's proven stable
CFLAGS="-O2 -march=<arch> -mtune=<arch> -fomit-frame-pointer -ftracer -pipe"
CXXFLAGS="$CFLAGS, -fvisibility-inlines-hidden

Also, you were saying... that GCC 4.0.2 did NOT compile in the chroot? could you explain a little further, if this is the case, I will change to as you suggested.

I will make the DEFAULT conrad install, 3 scripts, the fetch scripts, the gcc 3.4.4 script, with emerge -e system commented out, then explain kernel and grub, then execute the GCC4 script, as this method may be faster.

ALSO.
Remove the -O3 from your CFLAGS please :) I get scared just thinking about it, in GCC4 it can actually increase the size of the code, and slow down your compilation (after tests, the O2 flag was faster for me in GCC4)

Just a strong suggestion, keep your CFLAGS stable for GCC4, I'm experimenting with flags for GCC4 to determine what is fastest.
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

  • Quote

Post by seren » Wed Nov 02, 2005 6:37 am

cheater1034 wrote:
seren wrote:i have gcc4 running smooth as butter right now, but i had problems, heres how i got around it, i first used the gcc3.4.4 scripts and commented everything in the second script out at emerge -e sytem so all it did was get me to a standard chroot with gcc3.4.4 the system was still compiled in gcc 3.3.5 so then i emerged grub and the nitro kernel sources. then i emerged all the necesary system progs, reiser4progs dhcpcd coldplug etc.. got my kernel compilesd and grub.conf set up also remember to set a root password =) then i booted to my 50% gcc 3.4.4 install. then i downloaded the gcc4 scripts and ran them against gcc 3.4.4 best thing is the live cd wasnt hogging all my memory since i was no longer chrooted. this method worked out PERFECTLY, when i tried doing just the gcc4 scripts i was having problems because when you chroot your using gcc 3.3.5 to compile 4.0.2 and some reason it didnt work, but im halfway through emerge -e system and havent had a problem yet with the method i used. i also tweaked my make.conf to --fmarch=sse --ffast-math and -03 =) still no issues and let me tell you its fast.

any questions let me know
Glad to hear!
I'm exploring stable CFLAGS for GCC4, I'd love to see your make.conf, so far here's what I got, that's proven stable
CFLAGS="-O2 -march=<arch> -mtune=<arch> -fomit-frame-pointer -ftracer -pipe"
CXXFLAGS="$CFLAGS, -fvisibility-inlines-hidden

Also, you were saying... that GCC 4.0.2 did NOT compile in the chroot? could you explain a little further, if this is the case, I will change to as you suggested.

I will make the DEFAULT conrad install, 3 scripts, the fetch scripts, the gcc 3.4.4 script, with emerge -e system commented out, then explain kernel and grub, then execute the GCC4 script, as this method may be faster.

ALSO.
Remove the -O3 from your CFLAGS please :) I get scared just thinking about it, in GCC4 it can actually increase the size of the code, and slow down your compilation (after tests, the O2 flag was faster for me in GCC4)

Just a strong suggestion, keep your CFLAGS stable for GCC4, I'm experimenting with flags for GCC4 to determine what is fastest.

heres the scripts i would use... 1 conrad-arch*-gcc3.4.4-ntpl-1 wget the secont gcc 3.4.4 comment lines from emerge -e system so basically all you want it to do is emerge gcc-3.4.4 glibc libdtdc++v3, then it does the same by switching to the gcc version over to its self and then make sure all you have left is gcc3.4.4, now you get the second install script for gcc4 and simpily run it it will do everything that already has been done for gcc 3.4.4 to gcc 4.0.2 and then it emerges -e system with 4.0.2 (why bother doing a emerge -e system with gcc 3.4.4 when your going to do it with gcc 4.0.2) now emerge nitro sources grub and everything else you need to reboot to your gcc-4.0.2, mine is also running reiser4 stable =) im using -0
2 now i was having problems compiling with 03

edit
when i was trying to compile gcc 4.0.2 i got a error along the lines of "not using supported version of compiler (?) so i went and for 3.4.4 and tried compiling 4.0.2 and it worked so far.... read my last few posts on page 2 of this thread
Last edited by seren on Wed Nov 02, 2005 9:53 pm, edited 1 time in total.
Top
Post Reply

238 posts
  • Page 1 of 10
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 10
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy