HOWTO Install Gentoo with a glibc 2.3.2 from Stage 1

From Gentoo Linux Wiki

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

Contents

[edit] Introduction

The aim of this HOWTO is to describe a way of bootstraping a system with a glibc 2.3.2. It adds the necessary things to the Gentoo Linux Install Reference.

The procedure is devided into three parts:

  1. Extract a stage tarball
  2. After emerge --sync
  3. After bootstrap

[edit] Extract a stage tarball

We need to take a stage1 tarball of the 2004.1 release, because this comes with a glibc 2.3.2-r9

# tar -xvjpf /path/to/stage/stage1-x86-2004.1.tar.bz2

After that follow all steps until

# emerge --sync

[edit] After emerge --sync

First we need to update portage

# emerge --nodeps portage

then we change the current profile

# cd /etc
# rm make.profile
# ln -sf ../usr/portage/profiles/default-linux/x86/2004.2 make.profile

To avoid the bootstrap script to install a glibc greater than 2.3.2

# echo ">=sys-libs/glibc-2.3.3" > /etc/portage/package.mask

Now edit your make.conf and

# cd /usr/portage; scripts/bootstrap.sh

[edit] After bootstrap

I don't really know if this is necessary but at least it does not harm:

# emerge portage

and now continue with

# emerge system

and the Gentoo Linux Install Reference.

Personal tools