Search:  
Gentoo Wiki

HOWTO_Install_Gentoo_Linux:_Stage_Progression


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc

Image:Gentoo_tux.png

Base Install

  1. What is Gentoo?
  2. About
  3. Preparation
  4. Partitioning
  5. Configuring
  6. Stage Progression
  7. Kernel
  8. Bootloader
  9. Test
  10. Converting from or to a non-Gentoo distribution
  11. Troubleshooting
  12. Maintaining

Configuration

Base Extras

Server

Desktop

Other Articles

edit

Going from stage1 to stage2

Last time I tried this I used gcc-3.4.3, prelink and TIP Safe LDFLAGS. The end result was a nearly perfect desktop system. However, nothing I tried cured me of alsasink error from gstreamer, which is a very important part of the Gnome multimedia experience, so after all of my troubleshooting attempts failed I've decided to start over much safer and see if I can work myself up to just before the point I tried to fix gstreamer and everything else started breaking. This time I'm trying a stage1 one again using gcc-3.3.5 without prelink or LDFLAGS. I also changed my -Os flag to -02 for the bootstrap process (I think it's more important that GCC and such are CPU effecient than size efficient).

Code: The loooooooooong stage2 instructions
cd /usr/portage && scripts/bootstrap.sh -f && scripts/bootstrap.sh

Going from stage2 to stage3

If you're dangeresque, you should have gcc-3.4.x at this point, so you can go back and change a few things in /etc/make.conf. I'm not dangeresque, but I did change the -O2 back to -Os. At this stage, having a lot of USE flags set may create some miscellaneous issues.

If you're setting up another machine similar to this one and builkpkg is in your FEATURES in /etc/make.conf follow the steps I outlined in the /etc/make.conf example above and append the -g option to emerge or use nfs to export the server's /usr/portage on the workstation.

Code: The also terribly long stage3 instructions
# emerge prelink # potentially dangerous, best to manually prelink later on I think.
emerge -ef system && emerge -e system
rm /etc/localtime
ln -s /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
Note: If some event causes you to have to halt the emerge, restart it with emerge --resume - otherwise you'll waste a lot of time starting from scratch.


I prefer to fetch everything in advance, to speed up things later on. For example:

Code: Fetch all packages that I will emerge later
emerge --fetchonly --quiet gentoo-sources genkernel slocate vixie-cron dhcpcd syslog-ng \
coldplug hotplug  reiserfsprogs pcmcia-cs grub gentoolkit  
Retrieved from "http://www.gentoo-wiki.info/HOWTO_Install_Gentoo_Linux:_Stage_Progression"

Last modified: Fri, 05 Sep 2008 22:52:00 +0000 Hits: 9,581