Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CONRAD Installation Guide 2.8.0 "Owning the small guys!"
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
thoffmeyer
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 208
Location: GMT -5 Hours

PostPosted: Sat Jul 01, 2006 7:31 pm    Post subject: CONRAD Installation Guide 2.8.0 "Owning the small guys! Reply with quote

CONRAD Installation Guide 2.8.0 "Owning the small guys!"
-----
I personally have not tested this guide, so if it breaks on certaint points please let me know for a quick fix, thanks! - thoffmeyer


Updates
07.08.06
-----------
- Fixed the gcc ebuild problem!

07.05.06
-----------
- Fixed glibc stuff, now it's the newest version.
- Added mounting /proc and /dev to it's own step.

Upgrading
2.7.0-2.8.0:
Install all suitable upgrades.
Code:
# cd /
# wget conrad-projects.org/portage-overlays.tar.bz2
# tar -jxvf portage-overlays.tar.bz2
# wget conrad-projects.org/portage-configs.tar.bz2
# tar -jxvf portage-configs.tar.bz2
# wget conrad-projects.org/gcc-svn-update
# mv gcc-svn-update /usr/bin
# chmod +x /usr/bin/gcc-svn-update
# gcc-svn-update
# emerge glibc gcc libstdc++-v3 libtool
# emerge -uD world

------
Forewarning
This is an advanced install guide for Gentoo Linux, it assumes you have previous knowledge of both Gentoo and GNU/Linux in general!
Also, DO NOT POST BUGS ON BUGS.GENTOO.ORG! I Will handle your support requests personally. The CONRAD Installation Guide is not supported in any way, shape, or form by Gentoo Linux.
Please report your requets in #conrad (FreeNode), bugs.conrad-projects.org, or this thread.
------
FAQ
(Q) This is pure unadulterated insanity, it is completely unstable, a system would never run like this!
(A) It is a little intense, but it is stable enough for 98% of users - There are only very few packages known to break. The result is a high performance system, which is definitely worth the long and tedious compiles.
(Q) I thought Reiser4 was unstable? Will I lose data?
(A) Reiser4 is certainly not unstable, it has been extremely stable for quite a while for many users. It handles hard reboots and power outages much better than it previously did. It is also rarely corrupted due to it's atomic nature.
(Q) How do I submit bug reports including unsupported testing items, related problems to bugs.gentoo.org?
(A) Only post bugs regarding unsupported software to the upstream developers. If a package fails to build try it with a set of stable CFLAGS, if it still fails to build post a bug to the developer of that product. If you have a patch you may wish to submit it to bugs.gentoo.org.
------
Toolchain Links
Gcc SVN Page
Glibc-2.5 Snapshot (nxsty overlay)
Binutils 2.17
------
Conrad IRC Channel
We have a great group of individuals who stick around and are glad to help you, or just chat with you.
Join - #conrad on FreeNode
-----
Conrad Development Team
(Project Manager) - Cheater-Conrad
(Temp. Guide maintainer) - thoffmeyer
(Super Cool Editor) - vipernicus
(Scripter) - Brainiac Ghost
(Scripter) - mdshort
(GUIs) - djpharoah
-----
Notes: You can safely assume that x in 'hdx' is a drive letter throughout this guide. Example: 'hdx = hda or hdb'

[-1-] - The Conrad LiveCD (Reiser4/MPlayer/SVGA)

1.1 - Obtaining the Latest Conrad LiveCD

Code:
http://linktrim.com/5c5


If you are unsure of the features let me fill you in.
01. Complete Reiser4 support
02. Framebuffer console and splash with default boot option
03. MPlayer, for playing videos and music (mplayer file.mpg/mp3/avi/etc)
04. Links with framebuffer support (links -g)
05. Irssi to chat on IRC during installation
06. Pork AIM client, for instant messaging
08. Ndiswrapper, for supported wireless cards
09. Linux Kernel 2.6.17-rc2
10. XMMS2

1.2 - Burn Conrad LiveCD and Boot
This is self explanatory. if this step is beyond your abilities, do not continue.

[-2-] - Preparing Your Network

2.1 - Check For Internet Connection
Quick test:
Code:
# ping http://google.com

If failed:
Code:
# net-setup eth0


[-3-] - Using HDPARM

3.1 - View Hard Disk Configuration
Code:
# hdparm -i /dev/hdx


3.2 - Test Hard Disk Speed

Code:
hdparm -tT /dev/hdx


3.3 - Enhance Hard Disk Performance - Optional

Code:
(IDE ATA133 drives only)
hdparm -A1 -d1 -c1 -X70 /dev/hdx
(IDE ATA100 drives only)
hdparm -A1 -d1 -c1 -X69 /dev/hdx
(All else)
hdparm -A1 -d1 -c1 /dev/hdx


[-4-] - Partitioning


4.1 Using Fdisk


Remember that once you have the partition layout, you need to set the type to 82 (A.K.A Linux Swap) for the swap partition. Once you have it setup correctly, hit *w* to write and exit.
Code:
# fdisk /dev/hdx
Command (m for help): p

Disk /dev/hdx: xxx heads, xx sectors, xxxx cylinders
Units = cylinders of xxxxx * 512 bytes

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


4.2 - Creating Partitons
It is recommended that you use Reiser4 for '/', and Ext3 for '/boot'.

Code:
# mkfs.reiser4 /dev/hdx3
# mkfs.ext3 /dev/hdx1
# mkswap /dev/hdx2
# swapon /dev/hdx2


4.3 - Mounting your hard drives
Code:
# mount /dev/hdx3 /mnt/gentoo
# mkdir -p /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/var/log/portage /mnt/gentoo/usr/local/portage
# mount /dev/hdx1 /mnt/gentoo/boot


[-5-] - Preparing Chroot

5.1 - Downloading and Extracting Stage3 Tarball
Code:
# cd /mnt/gentoo
# wget http://gentoo.osuosl.org/releases/x86/2006.0/stages/stage3-i686-2006.0.tar.bz2
# tar -jxvpf stage3-i686-2006.0.tar.bz2


5.2 - Downloading and Extracting 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/

5.4 - Mounting /dev and /proc
Code:
# mount --bind /dev /mnt/gentoo/dev
# mount -t proc none /mnt/gentoo/proc


[-6-] - Preparing New Environment

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


6.2 - Updating Portage Cache
Code:
# emerge --metadata


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


[-7-] - Preparing For Installation

7.1 - Downloading Make.conf
Code:
# wget conrad-projects.org/make.conf --output-document=/etc/make.conf


7.2 - Downloading Overlay
Included in this package
01. Glibc-2.5 snapshot (nxsty)
02. GCC-4.1.2 overlay, (nxsty edit)
03. Patched coreutils
Code:
# cd /
# wget conrad-projects.org/portage-overlays.tar.bz2
# tar -jxvf portage-overlays.tar.bz2


7.3 - Downloading Portage Configuration Files
We are going to download the following files from 1 convenient package:
01. package.keywords (Toolkit unmasked)
02. package.unmask (Toolkit/Kopete/Util-linux, Hal, and Eselect Compiler)
03. package.use (Appropriate USE flags for the toolkit)
04. package.mask (Xorg 7.1 is currently masked because of NVidia/ATI compatibilty)
Code:
 # cd /
# wget conrad-projects.org/portage-configs.tar.bz2
# tar jxvf portage-configs.tar.bz2


7.4 - Customizing Make.conf
You will need to change '-march=ARCH', to your supported processor.
Options: pentium2, pentium3, pentium4, prescott, k8, opteron, pentium-m, i686, athlon-xp, etc.

Code:
# nano /etc/make.conf


Code:
# Conrad Installation Guide 2.8.x make.conf file
# <etc/make.conf>

# Replace ARCH, with your architecture
CFLAGS="-O2 -march=ARCH -fomit-frame-pointer -pipe -fweb -frename-registers -fno-ident"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
CHOST="i686-pc-linux-gnu"

ACCEPT_KEYWORDS="~x86"

PORT_LOGDIR="/var/log/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORTAGE_NICENESS="10"
FEATURES="distlocks -userpriv"

USE="-nls nptlonly unicode"




7.5 - Choosing Processor-specific USE flags - OPTIONAL

This is optional, if you are unsure of yourself, skip to next step. Check /proc/cpuinfo for available options.
Code:
# nano /etc/make.conf

# Options for Athlon64
USE="nptlonly sse sse2 sse3 3dnow 3dnowext mmx mmxext"

NOTICE: You can BREAK packages if you choose the wrong options.


[-8-] - Manual Bootstrap (Building Base System)

8.1 -Setting Locales - OPTIONAL
This is optional. Set this according to your area. It 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.2 - Upgrading Portage
Code:
# emerge portage
# emerge --metadata


8.3 - GCC 4.1.2 Snapshot - OPTIONAL
This is completely optional, and if you feel uncomfortable using this, GCC 4.1.1 in portage
Code:
# wget conrad-projects.org/gcc-svn-update --output-document=/usr/bin/gcc-svn-update
# chmod +x /usr/bin/gcc-svn-update
# gcc-svn-update
(This is an interactive script, it will ask to emerge subversion, get latest gcc 4.1 from svn, and setup the gcc 4.1 snapshot ebuild)


8.4 - Building Toolkit
Code:
# emerge glibc binutils gcc libstdc++-v3 libtool portage


8.5 - Configuring New Toolkit
Code:
# gcc-config -l
(Lists installed gcc(s), if you see 4.1.2-$SNAPSHOT at #6 you are in good shape)
# gcc-config 6
# binutils-config -l
(Lists installed binutil(s), if you see 2.17 at #2 we are in really good shape)
# binutils-config 2
# env-update; source /etc/profile
# emerge -aP gcc binutils


8.6 - Rebuilding Toolkit
Rebuild your toolkit again. It is the proper method that with a new toolkit, that it be built on itself.
Code:
# emerge binutils glibc gcc libstdc++-v3 libtool portage


8.7 - Removing Pam-login
We need to remove the version of pam-login included in the stock Stage3. It is now included in the shadow package, and creates a world confict on ~x86.
Code:
# emerge -C pam-login; emerge shadow
(the "c" is capital "C")


8.8 - Rebuilding the World
Code:
# emerge -e world
# etc-update
(Merge all files....) -5


[-9-] - Setting up No-Sources (best performance/interactivity)

9.1 - Obtaining No-Sources
We need to download the latest no-sources ebuild, and set it up.
Code:
# wget http://no.oldos.org/files/2.6.17-no2/no-sources-2.6.17-r2.ebuild
# mkdir -p /usr/local/portage/sys-kernel/no-sources
# mv no-sources-2.6.17-r2.ebuild /usr/local/portage/sys-kernel/no-sources
# ebuild /usr/local/portage/sys-kernel/no-sources/no-sources-2.6.17-r2.ebuild digest


9.2 - Emerging No-Sources
Code:
# emerge no-sources


9.3 - Configuring and Compiling Kernel
-----
All 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 (Used for amd64/em64t cpus)
  (Change accordingly)
  (Your Processor Family) Processor family
  [*] Symmetric multi-processing support
  # If you have exactly 1GB of memory use the following else just leave it at default.
         Memory Split (3G/1G user/kernel split (for full 1GB Low memory)) ---->

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

Device Drivers --->
  ATA/ATAPI/MFM/RLL support --->
    [*] Generic PCI bus-master DMA support
    [*]   Use PCI DMA by default when available
    [ ] SCSI Emulation Support

Device Drivers --->
  Networking support --->
    <*> PPP (point-to-point protocol) support
    <*>   PPP support for async serial ports
    <*>   PPP support for sync tty ports
  100 MBIT/1000 MBIT --->
   (make sure you compile in your proper network driver
   Sound --->
    [M] Sound card support
        Alsa --->
            PCI Cards --->
                 [M] Your Driver, mine is intel8x0, a common one is emu10k1 for soundblaster cards

USB Support --->
  <*>   USB Human Interface Device (full HID) support

Device Drivers > Graphics support:
 [*] Support for frame buffer devices
 <*>   VESA VGA graphics support
         VESA driver type (vesafb)  --->

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 - Choosing an IO Scheduler
We're going to configure another important aspect in our kernel. Here is a run down of each IO Scheduler.
ANTICIPATORY (AS): This is a decent scheduler, it works well with all file systems, works best on older drives.
DEADLINE: This is a surprising scheduler, it is light and performs the extremely well on most file systems, including reiser4. Works best on newer drives.
CFQ: Only use it on ext3, this scheduler's goal is not performance, but about balancing IO among all resources.
Code:
KERNEL CONFIGURATION
Block Devices > IO Schedulers
 [*] Anticipatory
 [*] Deadline
 [*] CFQ
 (Default = Anticipatory/Deadline/CFQ)

NOTE: To test different IO Schedulers, you can use 'elevator=' boot parameter in Grub (Example: elevator=deadline)

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

The Conrad Install Guide does not support installing on a root partition only. Grub does not support reiser4 on '/boot'

9.7 - Compiling the Kernel
Code:
# make all ; make modules_install ; make install


[-10-] - Emerging Additional System Files

10.1 - Emerging Services and Tools
Code:

# emerge syslog-ng reiserfsprogs reiser4progs sysfsutils dhcpcd gentoolkit acpid slocate vixie-cron


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 acpid default
# rc-update add vixie-cron default
# rc-update add gpm default
# rc-update add numlock default


[-11-] - Setting up the CONRAD Gensplash

11.1 - Emerging Splashutils and the Conrad Boot Theme
Code:
# emerge conrad-fbsplash
# rc-update add splash default


11.2 - Generating an Initramfs
Please select your default resolution here.
Code:
# cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash -r 1024x768 conrad


[-12-] - Configuring and Installing Grub

12.1 - Modifying '/boot/grub/menu.lst'
In grub, hdx1 is (hd0,0), and hdx2 is (hd0,1) and so forth.
Code:
nano -w /boot/grub/menu.lst

timeout 30
default 0
# Splash is on boot partition
splashimage=(hd0,0)/grub/splash.xpm.gz

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

title=Windows Partition
rootnoverify (hd0,3) # pretend it is on hda4
makeactive
chainloader +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
Replace 'hdx' with the correct drive letter.
Code:
# nano -w /etc/conf.d/hdparm


13.2 - Set Your Hostname and Domainname
Code:
# nano /etc/conf.d/hostname
HOSTNAME="conrad-gentoo"


Code:
# nano -w /etc/hosts
127.0.0.1 conrad-gentoo localhost


If you don't understand these 2 files, leave them alone.
Code:
# nano -w /etc/conf.d/domainname
# DNSDOMAIN=""
# NISDOMAIN=""


13.3 - Editing the /etc/conf.d/net
(Not necessary for dhcp users.)
Code:
# nano -w /etc/conf.d/net
For help, refer to '/etc/conf.d/net.example'


13.4 - Configuring FSTAB
NOTE: Reiser4 users use noatime and nodiratime in the options
Code:
# nano /etc/fstab


13.5 - 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,audio,video <user>
# passwd <user>


[-14-] - Rebooting System

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


14.2 - Booting New System

Hopefully you'll have a grub menu, and be able boot into your new system.
If you get a kernel panic then check to make sure you configured everything correctly by booting back into the Conrad LiveCD and following, Steps 4.3, 5.3, 6.1

[-15-] - USE flags and additional 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 kde/gtk/nvidia system, here is how I will set my use flags
Code:
# nano -w /etc/make.conf
USE="nptlonly alsa X gtk -gnome qt kde -arts win32codecs nvidia opengl -gstreamer"


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 Modular X and a graphical environment

16.1 - Emerging Xorg
Code:
# emerge virtual/x11


16.2 - Getting an xorg.conf setup
You should be able to do this on your own.
Code:
# xorgconfig

or
Code:
# X -configure


16.3 - Installing a DE/WM
You can choose to install any DE or WM, by typing "emerge gnome gnome-light kde openbox fluxbox blackbox etc"

16.4 - KDE - The CONRAD Reccomended Way*
Code:
First of all, we are going to emerge the base of kde

# emerge kdelibs kdebase-startkde
We need to emerge a file manager, I recomend emerging konqueror too

Now we need to emerge some nice applications we use, here is a list of applications that I use with KDE
01. konqueror - KDE/QT Web Browser and File Browser
02. net-im/kopete - Latest Kopete instant messanger, I reccomend this one instead of the kde-base/kopete one, as this is newer
03. konversation - QT Irc Client
04. kmail - QT E-mail Client
05. ksnapshot - KDE Screenshot Taker
06. kpdf - pdf viewer
07. Amarok - audio player
08. Konsole - KDE Terminal Program
09. KTorrent - KDE Torrent
There are tons of more qt applications for certain items, you can check the kde-base directory in /usr/portage. Also check the meta ebuilds if you are looking for a certain app included in one of the bundles (e.g. kdegraphics-meta)


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 - NVIDIA USERS!!!!
You need to download the latest overlay for nvidia to work with the 2.6.17 kernels...
Code:
# wget http://no.oldos.org/files/mm-nvidia-fix.tar.bz2
# mkdir -p /usr/local/portage/media-video
# tar -jvxf mm-nvidia-fix.tar.bz2
# mv nvidia-kernel /usr/local/media-video/


16.7 - Configuring Login Manger (GDM)
If you did gnome-light or kde you need to emerge gdm
Code:
# emerge gdm
# nano /etc/rc.conf
DISPLAYMANAGER="gdm"
# rc-update add xdm default


[-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
(Assuming you have the sound card and alsa items as modules in-kernel)
Code:
# emerge alsa-lib alsa-headers alsa-utils


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...
(if it is already there, just ignore it)
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 Default Runlevel
Code:
# rc-update add alsasound default


[-18-] - Keeping an Up-To-Date System

18.1 - Updating the world
First of all always keep the sync up-to-date, a emerge sync once a day at least is recommended
Code:
# emerge --sync

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


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 (with deadline IO sched)
* GCC 4.1.X (exclusive overlay) based system
* Incredibly quick system, surprisingly more stable than needed for everyday desktop use
* The latest packages portage has to offer
* A very nice boot-up splash with a progress bar
-----
Please leave your feedback, suggestions, and support issues.

For Support
For support issues, post in this forum.

If you need other assistance, have suggestions, or need to contact me personally, do so at.
Email: thoffmeyer@conrad-projects.org
AIM: veg
IRC: #conrad ON Freenode
------
Messages from Conrad

If you are interested in developing/help develop something for Conrad Gentoo Projects, email me at, thoffmeyer@conrad-projects.org

Thanks,
thoffmeyer

Post all support issues in this thread or on IRC at #conrad
_________________
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad


Last edited by thoffmeyer on Sat Jul 08, 2006 9:55 pm; edited 7 times in total
Back to top
View user's profile Send private message
CybeRDukE
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2002
Posts: 92

PostPosted: Sun Jul 02, 2006 10:08 am    Post subject: Reply with quote

Hi,

thanks for the great howto. I've been waiting for this.

But there are 2 things you should change:
I got an error message when i extracted the stage3 tarball. The solution is to first extract it and bind proc and dev afterwards.
And you forgot the /mnt/gentoo prefix when you create the directory /var/log/portage.

Edit: you also forgot the path to gcc-svn-update. The line should read chmod +x /usr/bin/gcc-svn-update

Edit2: emerge glibc complains, that the file glibc-2.4-patches-1.14.tar.bz2 can't be downloaded. It seems to be no longer on the official gentoo mirrors. It can be downloaded e.g. from here
Back to top
View user's profile Send private message
thoffmeyer
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 208
Location: GMT -5 Hours

PostPosted: Sun Jul 02, 2006 5:13 pm    Post subject: Reply with quote

CybeRDukE wrote:
Hi,

thanks for the great howto. I've been waiting for this.

But there are 2 things you should change:
I got an error message when i extracted the stage3 tarball. The solution is to first extract it and bind proc and dev afterwards.
And you forgot the /mnt/gentoo prefix when you create the directory /var/log/portage.

Edit: you also forgot the path to gcc-svn-update. The line should read chmod +x /usr/bin/gcc-svn-update

Edit2: emerge glibc complains, that the file glibc-2.4-patches-1.14.tar.bz2 can't be downloaded. It seems to be no longer on the official gentoo mirrors. It can be downloaded e.g. from here

Thanks, fixed some of it, gotta leave for now, will fix the glibc ebuild when I return.
_________________
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Sun Jul 02, 2006 8:35 pm    Post subject: Reply with quote

If you're using the latest nxsty glibc ebuild you don't need the 1.14 patches. The new ebuild calls for the 1.17 patches which are on the mirrors.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
micr0c0sm
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2005
Posts: 148
Location: New York

PostPosted: Mon Jul 03, 2006 12:04 pm    Post subject: Reply with quote

What's the chance of making this into the guide officially?

https://forums.gentoo.org/viewtopic-t-475538.html
Back to top
View user's profile Send private message
CybeRDukE
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2002
Posts: 92

PostPosted: Mon Jul 03, 2006 4:42 pm    Post subject: Reply with quote

enderandrew wrote:
If you're using the latest nxsty glibc ebuild you don't need the 1.14 patches. The new ebuild calls for the 1.17 patches which are on the mirrors.


Thanks for the hint. You are absolutely right. And so I realized, that the overlay mentioned above does not include the newest glibc ebuild from 1st July but an older one. It's not surprising because the installation guide was posted on the same day, but it's good to know
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 Jul 03, 2006 6:10 pm    Post subject: Reply with quote

micr0c0sm wrote:
What's the chance of making this into the guide officially?

https://forums.gentoo.org/viewtopic-t-475538.html


A bit too early at the moment, I'd think. If you look again at that link, soon, Jakub Jelinek will be releasing a reworked patch according to Michael Meek's suggestions.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
thoffmeyer
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 208
Location: GMT -5 Hours

PostPosted: Wed Jul 05, 2006 11:27 am    Post subject: Reply with quote

micr0c0sm wrote:
What's the chance of making this into the guide officially?

https://forums.gentoo.org/viewtopic-t-475538.html


I don't know...
_________________
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Wed Jul 05, 2006 3:03 pm    Post subject: Reply with quote

Hello Everyone,
Cheers to another conrad guide release. (We can only hope hoffy did a good job, it appears he did). The upgrade guide will be fixed soon, I pointed it out to hoffy.
-----
micr0c0sm wrote:
What's the chance of making this into the guide officially?

https://forums.gentoo.org/viewtopic-t-475538.html


There's a good chance, but I won't push it until heavy testing is done. I may push it at 3.0.0, or I may push it before, or someone else might push it, we'll see.
-----

Conrad LiveCD 1.0.0 (unionfs and best release ever) - Done, kernel needs to be re-done, and then ISO needs to be built.
No-Sources v2.6.17-no3 (-mm6 and loads more) - About to be started.
_________________
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
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Wed Jul 05, 2006 5:16 pm    Post subject: Reply with quote

thoffmeyer wrote:
micr0c0sm wrote:
What's the chance of making this into the guide officially?

https://forums.gentoo.org/viewtopic-t-475538.html


I don't know...


Well nesl247 has updated overlays which have a USE flag. If you use those overlays people can choose to use the new or old patches at their discretion.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Wed Jul 05, 2006 6:16 pm    Post subject: Reply with quote

enderandrew wrote:
Well nesl247 has updated overlays which have a USE flag.


This is a fine philosophy, but something I don't personally want to do. I do not want to do this because if the feature is unstable to the point where it can't be default it shouldn't be used (I'm not saying it is, but I haven't tested it). Options are good, but I don't want different users to have different flags for the same guide. This causes confusion I don't want. (maybe thoffmeyer does)

enderandrew wrote:
If you use those overlays people can choose to use the new or old patches at their discretion.


When hoffy or I push it into the guide (soon, maybe 2.8.1 <-- I plan on cleaning up for thoffmeyer the upgrade archives and guides as well) It's a brand new feature, and when it's pushed it will be in permanently and by default.

Due to request though, I'll take this into more serious consideration :)

The final decision is up to thoffmeyer though.
_________________
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
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Wed Jul 05, 2006 6:35 pm    Post subject: Reply with quote

I wouldn't call the feature unstable just because it is new. If you use the old patches, then arguably your system is more unstable. Those have been cast aside by the binutils team and will never make it into mainline. -Bdirect arguably breaks the way that prelink works. If you want to update your system, then you need to continually find updated versions of those patches for new glibc and binutils patches. And I don't think that will happen. The new patches have been accepted into mainline and will have more support down the road.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
five0
n00b
n00b


Joined: 04 Jul 2006
Posts: 8

PostPosted: Thu Jul 06, 2006 1:25 am    Post subject: Reply with quote

Were any of you able to install xorg-x11 (# emerge virtuals/x11) following the guide?

virtuals/x11 points to package versions (eg. for xorg server) that have been masked by package.mask, so I can't install a thing.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Thu Jul 06, 2006 2:05 am    Post subject: Reply with quote

Hello, everyone.

I apologize for the disappointments so far.

Everything should be back_in_order now.
We'll release the 3.0.0 guide in a week at best, which is going to include tons of features and enhancements, features aren't going to be announced entirely yet, some are (gcc 4.2, probally prelink stuff, glibc 2.5, menu/ncurses update script, organized overlays and configuration files <-- only available from scratch installation due to the entirely new base setup)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.


Last edited by cheater1034 on Thu Jul 06, 2006 5:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Donman
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2005
Posts: 117

PostPosted: Thu Jul 06, 2006 2:55 am    Post subject: Reply with quote

Good job thoffmeyer! I love the conrad install guides, always end up with a great, fast, stable system! I especially like the gcc-svn-update!

But going off topic, I was wondering cheater1034, if there was any plans for an updated amd64 LiveCD. Cause I'm lacking a good 64-bit, reiser4 enabled Livecd with at least a kernel version of 2.6.16. And the RR64 livecd just doesnt work good for me. If not, thats fine too!

BTW:
five0 wrote:
Quote:
Were any of you able to install xorg-x11 (# emerge virtuals/x11) following the guide?

virtuals/x11 points to package versions (eg. for xorg server) that have been masked by package.mask, so I can't install a thing.


Try '# emerge xorg-x11' instead of '# emerge virtuals/x11'. That'll get X.org installed for you.
Back to top
View user's profile Send private message
five0
n00b
n00b


Joined: 04 Jul 2006
Posts: 8

PostPosted: Thu Jul 06, 2006 11:16 am    Post subject: Reply with quote

emerge xorg-x11 gave me a similar error:
Code:

These are the packages that would be merged, in order:

Calculating dependencies |
!!! All ebuilds that could satisfy ">=x11-base/xorg-server-1.0.99" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-base/xorg-server-1.1.0-r1 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "x11-drivers/xf86-video-vmware-10.13.0" [ebuild])
Back to top
View user's profile Send private message
Donman
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2005
Posts: 117

PostPosted: Thu Jul 06, 2006 4:12 pm    Post subject: Reply with quote

five0, are you going to be using the binary ATI or NVIDIA drivers? If you let me know, I can help you out more.
Back to top
View user's profile Send private message
elkhunter
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2004
Posts: 138

PostPosted: Thu Jul 06, 2006 6:58 pm    Post subject: Reply with quote

Any plans to create a script to automate some/most/all of this installation process? Most of it is simply tedious typing and doesn't vary from machine to machine.
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: Thu Jul 06, 2006 8:57 pm    Post subject: Reply with quote

suggestion for future guides: im sure adding XGL to the guide has been mentioned a time or two in the past but i would just like to mention that it is much more stable at this time... i have it up n running on my box... Zero problems with it once it is set up. in the past i was unable to get it working on this box (specs in sig) but now it works great direct rendering n all :wink: im using guide version 2.7.0 and i used the gentoo xgl wiki http://gentoo-wiki.com/HOWTO_XGL to install it following it word for word. hehe sweet eye candy 8)
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
five0
n00b
n00b


Joined: 04 Jul 2006
Posts: 8

PostPosted: Fri Jul 07, 2006 3:45 am    Post subject: Reply with quote

Donman wrote:
five0, are you going to be using the binary ATI or NVIDIA drivers? If you let me know, I can help you out more.


Yeah, I'd like to be able to use the Nvidia drivers. Atm, I've settled for the nv drivers on Xorg 7.1, after moving package.mask elsewhere.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Jul 07, 2006 4:16 am    Post subject: Reply with quote

mafioso wrote:
suggestion for future guides: im sure adding XGL to the guide has been mentioned a time or two in the past but i would just like to mention that it is much more stable at this time... i have it up n running on my box... Zero problems with it once it is set up. in the past i was unable to get it working on this box (specs in sig) but now it works great direct rendering n all :wink: im using guide version 2.7.0 and i used the gentoo xgl wiki http://gentoo-wiki.com/HOWTO_XGL to install it following it word for word. hehe sweet eye candy 8)


It's not up to me, but I wouldn't include it. XGL might work for you, and it might work for others, but the amount of possible problems is too great. It is still not extremely simple. Things go wrong to much, and then there is the fact that there is a gentoo-wiki entry that is huge..
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Jul 07, 2006 3:09 pm    Post subject: Reply with quote

elkhunter wrote:
Any plans to create a script to automate some/most/all of this installation process? Most of it is simply tedious typing and doesn't vary from machine to machine.


Lucky Install Scripts:
bfgraphics.net/conrad/lucky

<-- No longer maintained, need a maintainer and we will have that option again.
_________________
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
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Jul 07, 2006 10:26 pm    Post subject: Reply with quote

Severe update that for some reason never merged for 2.8.0 :\

Code:
# rm /usr/local/portage/sys-devel/gcc/files/ebuild/gcc
# wget bfgraphics.net/gcc
# mv gcc /usr/local/portage/sys-devel/gcc/files/ebuild


NOTE: This should be done BEFORE running gcc-svn-update.

This was an important update to the gcc ebuild, hoffy must of left it out :(

(You need it, otherwise you won't be able to run gcc-svn-update!)

PS: thoffmeyer: merge it to the portage-overlays.tar.bz2

-B
_________________
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
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Sat Jul 08, 2006 12:04 am    Post subject: Reply with quote

cheater1034 wrote:
Severe update that for some reason never merged for 2.8.0 :\

Code:
# rm /usr/local/portage/sys-devel/gcc/files/ebuild/gcc
# wget bfgraphics.net/gcc
# mv gcc /usr/local/portage/sys-devel/gcc/files/ebuild


NOTE: This should be done BEFORE running gcc-svn-update.

This was an important update to the gcc ebuild, hoffy must of left it out :(

(You need it, otherwise you won't be able to run gcc-svn-update!)

PS: thoffmeyer: merge it to the portage-overlays.tar.bz2

-B


I was wondering, because I tried the script and it kept telling me I was missing that file from the overlay! I just ended up taking the svn dump and making my own ebuild afterwards!
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
thoffmeyer
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 208
Location: GMT -5 Hours

PostPosted: Sat Jul 08, 2006 9:52 pm    Post subject: Reply with quote

cheater1034 wrote:
Severe update that for some reason never merged for 2.8.0 :\

Code:
# rm /usr/local/portage/sys-devel/gcc/files/ebuild/gcc
# wget bfgraphics.net/gcc
# mv gcc /usr/local/portage/sys-devel/gcc/files/ebuild


NOTE: This should be done BEFORE running gcc-svn-update.

This was an important update to the gcc ebuild, hoffy must of left it out :(

(You need it, otherwise you won't be able to run gcc-svn-update!)

PS: thoffmeyer: merge it to the portage-overlays.tar.bz2

-B


will add this tonight
--------------
added :)
_________________
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad
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  Next
Page 1 of 2

 
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