User:NeddySeagoon/Historical Gentoo

Why?
Like everything else gentoo, because I can.

Background
Gentoo started life on 1999-10-04. I didn't join in the fun until April 2003. I remembered it as April/May 2002, when I finally got ADSL. However I unearthed my original gentoo-minimal-1.4-rc4.iso CD the other day when I was was looking for bits to get and old A7N8X install to boot. Thats another story.

Having unearthed the gentoo-minimal-1.4-rc4.iso I just had to take it for a spin. After 18 years, it still works. That was a suprise.

It also contains a i686 stage 1. I couldn'd have used that in 2003 as my original Gentoo install was on a 450MHz k6-2.

So, I have a bootable ISO, a stage1 tarball. What else do I need for an install.

A contemporary portage snapshot and some distfiles.

I still have a rather dog eared, pages out of order, paper copy of the 2003 handbook if I can find it.

So I'll try an April 2003 Gentoo Install just because I can.

Preparation
Spin up a Virtual Machine. I gave it 1 core and a 20GB sparse HDD. Remember to put the HDD on an IDE controller and that the drive will be /dev/hda

Should you have real 2003 hardware to hand, you can read the compile commands as they scroll by.

In some video drivers MTTR support is optional, in others its not. XFree86 with the 256 colour VESA driver and twm works. gdm does not.

The Minimal ISO
Fetch thei686-gentoo-1.4-rc4-minimal.iso and attach it as the VM CDROM image.

The Portage Snapshot
The original Portage Snapshots have long gone, so in the Gentoo way, we need to make our own.

This cannot be made on our budding install as git is required. Originally, it would have been a download anyway. Clone the historical gentoo-x86 repo and make a portage-snapshot. Choose a date to match the stage tarball you happen to have handy.

A ready made portage-snapshot-2003-04-09 can be downloaded.

Untar the snapshot to /usr/portage.

almost works now. It will complain about a missing /etc/make.conf.

will fix that.

Base System Installation
Follow the Gentoo Linux 1.4 Installation Instructions with the exceptions below.

Do not. Make and install a new portage snapshot.

Set  in /etc/make.conf. All my distfiles since mid 2006 are there, including sources tracked down for this trip down memory lane.

Make an overlay. It will be needed lo work around missing source code files.

VirtualBox Guest Additions
See unresolwed symbol vunmap. In short "Actually we don't support all 2.4 kernels. The oldest guest kernel which is supported by VirtualBox is the RHEL3 kernel which is 2.4.21 with some modifications, among them vmalloc / vfree."

Gentoo Stats
Skip the handbook section 18.Gentoo-Stats. The code may well be available by the Gentoo server is no longer listening for reports.

Base System Files Missing and Workarounds
pam-login-3.10.tar.bz2 net-tools-1.60-gentoo-extra.tar.bz2 util-linux-2.11y-crypt-gentoo.patch.gz

Without  logins are not possible. Boot the liveCD and chroot instead or do a version bump of  to   in your overlay. That installs and works.

Without  there is no networking as   is required to bring up the network. The individual patches are still available so I've rolled a new. The size ane md5sum do not match the original. Copy the ebuild to the overlay and manifest it there.

is required to build util-linux with the default USE=crypt. Set USE=-crypt for.

That's two packages in the overlay so far.

Telnetd
I should have configured telnetd at this point, once  was installed. . Now there is a trap or two for the unwary. drops a ready to go configuration into /etc/xinitd.d. However,  only provides initd and does not install /etc/initd.conf so that it just works.

To get an /etc/initd.conf run Tab completion is a wonderful thing.

Edit /etc/initd.conf and change the telnet line to read Be sure you are happy with the other services configured there.

will start inetd which in turn will start telnetd.

Root logins are not permitted. Its a security design feature. works.

ftpd
pulls in, so migrate telnet to xinetd as its so much easier.

telnetd should pull in  too but its unlikely anyone is interested in a bug now.

ftpd is installed but not configured.

NFS Version Three
nfs version three Is supported. Its probably the easiest way to transfer files out of the Gentoo guest. Its installed and automouts my media server to test media playback.

Installing a DeskTop
Start with XFree86. xorg is a thing of the future.

Follow the Gentoo Linux Desktop Configuration Guide with the exceptions below.

XFree86 Files Missing and Workarounds
The only XFree86 that all the files are found for (so far) is xfree-4.2.0-r12, so use that.

Deal with the failures as they arise.

e.g. gtk+ should depend on pango.

GNOME Files Missing and Workarounds
digests don't match. I have four different sources that all agree with each other an disagree with the portage snapshot. Copy the ebuild to the overlay and remake the manifest.

is missing. as a workaround

is missing, however ...

slackware-9.0/source/l/arts has arts-1.1.tar.bz2 which is the same file size and md5sum as arts-1.1_kde-3.1.tar.bz2 which the arts-1.1.0 ebuild wants to fetch. With the aid of  on the distfiles server   builds. See bug #14639

KDE
The following files are missing arts-1.1.1.tar.bz2 kdelibs-3.1.1.tar.bz2 kdelibs-3.1.1a.diff.bz2 kdebase-3.1.1.tar.bz2 kdenetwork-3.1.1.tar.bz2 kdemultimedia-3.1.1.tar.bz2 kdegames-3.1.1.tar.bz2 kdeaddons-3.1.1.tar.bz2 kdepim-3.1.1.tar.bz2 kdeedu-3.1.1.tar.bz2 kdegraphics-3.1.1.tar.bz2 kdegraphics-3.1.1a.diff.bz2 kdeadmin-3.1.1.tar.bz2 kdetoys-3.1.1.tar.bz2 kdeutils-3.1.1.tar.bz2 kdeartwork-3.1.1.tar.bz2 kdebase-3.1.1a.diff.bz2 kdebase-3.1.1.tar.bz2

KDE Files Missing and Workarounds
Slackware 9.0 sources has version 3.1, which is still in the tree, so that is installed instead.

Resources
Gentoo Linux 1.4 Installation Instructions The Installation Instructions there are for Gentoo Linux 1.4 which is slightly newer than the 1.4-rc4 install we have here.

i686-gentoo-1.4-rc4-minimal.iso

gentoo-x86 git import of CVS

portage-snapshot-2003-04-09

Matching distfiles for portage-snapshot-2003-04-09. Incomplete.

Gentoo Linux Desktop Configuration Guide GNOME and ALSA are installed. Its unlikely I will test KDE as I was GNOME user.

Contemporary Gentoo alsa-guide

Sources of Sources
7.0-respin-SRPMS.iso shrike-SRPMS-disc1.iso shrike-SRPMS-disc2.iso shrike-SRPMS-disc3.iso valhalla-SRPMS-disc1.iso valhalla-SRPMS-disc2.iso

Fedora 1 SRPMS

Old Debian Sources

Slackware 9.0

The Disk Image
Coming Soon ... Once KDE builds.

Basic
Chose Linux and Gentoo (32-bit)

Advanced
Choose a Snapshot Folder.

The other options need VirtualBox Guest additions and our 2.4.20 kernel is too old to support that.

System Tab
I used 1GB RAM.

Choose the boot order. Only boot from the HDD if you can type on a dvorak keyboard. Otherwise boot a liveCD and edit /etc/rc.conf for the console and /etc/X11/XF86Config for the desktop.

Choose the PIIX3 chipset. We have to use emulated hardware as the 2.4.20 kernel knows nothing of Virtio.

Display Tab
I use the VMSVGA Controller.

Storage Tab
Decompress the downloaded image and attach it the primary drive of the first PIIX4 IDE controller. It matters as IDE drives are assigned fixed names.

Audio Tab
Its ICH AC97 audio.

Network Tab
Both Bridged and NAT work. Bridged will make telnet using telnet easier.

Under advanced, choose one of the PCnet Ethernet adaptors an that is what kernel supports.

What you Get
A bootable Virtual Box disk image in a 20GB sparse file for /dev/hda. HDD that size were only a dream in 2003, so that's more that enough. It contains /boot and / (root). root is currently 1.5G. In my build Virtualbox /dev/hdb contains 512MB swap, /home/, /usr/portage and /var/tmp/portage.

A very early /home/gentoo, the gentoo users home, is buried under the real /home.

Things you need to know.

Users and Passwords
root root gentoo gentoo

Keyboard Layout
I normally use dvorak-uk but this old system only has dvorak. That's what is set everywhere.

telnet
xinetd and telnet are both configured and xinetd is in the default runlevel, so telnet will work on boot.

Crypto
There is no working crypto. All the SSL certificates will have expired. All the cyphers from 2003 have not only bee depreciated, they have been removed too.

e.g. /etc/shadow and portage manifests both use md5. There is no ssh or connections to https://, which means most of the internet.

telnet should work, if you need remote access. That must only be used on a trusted network.

VirtualBox Enhancements
To install the VirtualBox Guest Additions a newer kernel is required and the VirtualBox Guest Additions provide most of the nice to haves, like shared folders, USB pass through and so on.

Get-U-Going
To play with Gentoo as it was, build your own, following the instructions above. The hard work is collecting the distfiles and that's already been done for you.

To just look at it, configure a Virtualbox VM, fetch the hda image, decompress it and attach it as master to the primary IDE contoller, so that its hda. That is required to boot it. If you can type on a US dvorak keyboard, log in at the console.

Package List
Gentoo-09-Apr-2003 root # ls /var/db/pkg/* /var/db/pkg/app-admin: addpatches-0.2	fam-oss-2.6.9-r1 gentoolkit-0.1.19-r3	metalog-0.6-r10  sudo-1.6.6

/var/db/pkg/app-arch: cabextract-0.6	file-roller-2.2.3 ncompress-4.2.4  unzip-5.50-r1  zip-2.3-r1

/var/db/pkg/app-editors: gedit-2.2.1 nano-1.2.0

/var/db/pkg/app-shells: bash-2.05b-r3 sash-3.4-r5

/var/db/pkg/app-text: aspell-0.50.3			  docbook-sgml-dtd-4.1-r1	   ggv-1.99.98 docbook-dsssl-stylesheets-1.77-r1 docbook-sgml-utils-0.6.11-r2    ghostscript-7.05.5 docbook-sgml-dtd-3.0-r1		  docbook-xml-dtd-4.1.2-r3	   openjade-1.3.1-r6 docbook-sgml-dtd-3.1-r1		  docbook-xml-simple-dtd-4.1.2.4  scrollkeeper-0.3.11-r1 docbook-sgml-dtd-4.0-r1		  docbook-xsl-stylesheets-1.57.0  sgml-common-0.6.3-r3

/var/db/pkg/dev-java: java-config-0.2.8

/var/db/pkg/dev-lang: nasm-0.98.34 perl-5.8.0-r10  python-2.2.2

/var/db/pkg/dev-libs: atk-1.2.2	 glib-1.2.10-r5 libIDL-0.8.0	 libxml-1.8.17-r2  libxslt-1.0.29     popt-1.7-r1 expat-1.95.6-r1 glib-2.2.1	 libpcre-3.9-r1  libxml2-2.5.6	   openssl-0.9.6i-r2

/var/db/pkg/dev-perl: ExtUtils-MakeMaker-6.05-r4 SGMLSpm-1.03-r4  Safe-2.09

/var/db/pkg/dev-python: PyXML-0.7.1 python-fchksum-1.6.1-r1

/var/db/pkg/dev-util: dialog-0.9_beta20020814 guile-1.4.1  indent-2.2.9  intltool-0.25  pkgconfig-0.15.0

/var/db/pkg/gnome-base: ORBit-0.5.17		  gdm-2.4.1.3		   gnome-session-2.2.1	libgnomecanvas-2.2.0.2 ORBit2-2.6.1		  gnome-2.2.1		   gnome-vfs-1.0.5-r3	libgnomeprint-2.2.1.2 bonobo-activation-2.2.1.1 gnome-applets-2.2.1	   gnome-vfs-2.2.3	libgnomeprintui-2.2.1.2 control-center-2.2.1	  gnome-common-1.2.4-r3   libbonobo-2.2.1	libgnomeui-2.2.0.1 eel-2.2.2		  gnome-desktop-2.2.1-r1  libbonoboui-2.2.0.1	libgtop-2.0.0-r1 gail-1.2.0		  gnome-libs-1.4.2	   libglade-0.17-r6	librsvg-2.2.5 gconf-1.0.8-r3		  gnome-mime-data-2.2.0   libglade-2.0.1	nautilus-2.2.2 gconf-2.2.0		  gnome-panel-2.2.1	   libgnome-2.2.0.1	oaf-0.6.10

/var/db/pkg/gnome-extra: acme-2.0.2	  gconf-editor-0.4.0	gnome-system-monitor-2.0.4-r1  libgail-gnome-1.0.2  nautilus-media-0.2.1 at-spi-1.0.2	  gnome-games-2.2.0	gnome-utils-2.2.1	       libgsf-1.6.0	    yelp-2.2.0 bug-buddy-2.2.103 gnome-media-2.2.1.1	gnome2-user-docs-2.0.6	       libgtkhtml-2.2.1

/var/db/pkg/kde-base: arts-1.1.0 kde-env-3-r2

/var/db/pkg/media-gfx: eog-2.2.1

/var/db/pkg/media-libs: alsa-lib-0.9.0_rc6	gle-3.0.1-r2	     jpeg-mmx-1.1.2-r1   libmovtar-0.1.3-r1  openquicktime-1.0 audiofile-0.2.3-r1	glut-3.7.1	     lcms-1.09		  libmpeg2-0.3.1      quicktime4linux-1.5.5-r1 divx4linux-20020418-r1	gst-plugins-0.6.0-r4 libao-0.8.3	  libogg-1.0	      tiff-3.5.7-r1 fontconfig-2.1-r1	gstreamer-0.6.0-r2   libart_lgpl-2.3.10  libpng-1.2.5-r4     win32codecs-0.90.1-r2 freetype-2.1.3-r2	hermes-1.3.2-r2      libdv-0.98	  libsdl-1.2.5-r1 gdk-pixbuf-0.21.0	imlib-1.9.14-r1      libmikmod-3.1.10	  libvorbis-1.0-r2 giflib-4.1.0-r3		jpeg-6b-r3	     libmng-1.0.4	  netpbm-9.12-r4

/var/db/pkg/media-sound: alsa-driver-0.9.0_rc6 esound-0.2.29   mad-0.14.2b-r2	vorbis-tools-1.0-r1 alsa-utils-0.9.0_rc6  lame-3.93.1-r1  mpg123-0.59r-r2

/var/db/pkg/media-video: avifile-0.7.32.20030219 ffmpeg-0.4.6-r1  mjpegtools-1.6.0-r7

/var/db/pkg/net-fs: nfs-utils-1.0.1-r1

/var/db/pkg/net-ftp: curl-7.10.2 ftp-0.17-r2

/var/db/pkg/net-libs: linc-1.0.1

/var/db/pkg/net-mail: mailbase-0.00-r4

/var/db/pkg/net-misc: dhcpcd-1.3.22_p4 netkit-telnetd-0.17-r3  openssh-3.5_p1  rsync-2.5.6-r1  wget-1.8.2-r2

/var/db/pkg/net-nds: portmap-5b-r6

/var/db/pkg/net-print: cups-1.1.18-r4

/var/db/pkg/net-www: mozilla-1.2.1-r5

/var/db/pkg/sys-apps: baselayout-1.8.5.8    fbset-2.1	   help2man-1.29	pciutils-2.1.10-r1  tcp-wrappers-7.6-r4 bzip2-1.0.2-r2	      file-4.02	   kbd-1.06-r1		portage-2.0.47-r10  texinfo-4.3-r1 cpio-2.5	      fileutils-4.1.11    less-381		procps-2.0.10-r1    textutils-2.1 cronbase-0.2.1-r2     findutils-4.1.7-r3  man-1.5l-r2		psmisc-21.2-r1	    usbutils-0.11 debianutils-1.16.7-r1 gawk-3.1.1-r1	   man-pages-1.56	sed-4.0.6	    util-linux-2.11y devfsd-1.3.25-r3      grep-2.5-r1	   miscfiles-1.3	setserial-2.17-r2   which-2.14 diffutils-2.8.4-r3    groff-1.18.1-r1	   modutils-2.4.25	sh-utils-2.0.15 e2fsprogs-1.32-r2     grub-0.92-r1	   net-tools-1.60-r6	shadow-4.0.3-r3 ed-0.2-r3	      gzip-1.3.3-r1	   netkit-base-0.17-r6	sharutils-4.2.1-r6 eject-2.0.12-r1       hdparm-5.3-r2	   pam-login-3.11	tar-1.13.25-r3

/var/db/pkg/sys-devel: autoconf-2.57-r1 bin86-0.16.0		 flex-2.5.4a-r5       gdb-5.3	      libtool-1.4.1-r10  patch-2.5.4-r4 automake-1.7.2	 binutils-2.13.90.0.18  gcc-3.2.2	      gettext-0.11.5  m4-1.4 bc-1.06-r5	 bison-1.35		 gcc-config-1.3.1-r1  libperl-5.8.0   make-3.80

/var/db/pkg/sys-kernel: linux-headers-2.4.19 vanilla-sources-2.4.20

/var/db/pkg/sys-libs: cracklib-2.7-r6 db-3.2.9-r1	glibc-2.3.1-r4	pam-0.75-r11  readline-4.3-r4  zlib-1.1.4-r1 db-1.85-r1	 gdbm-1.8.0-r5	ncurses-5.3-r1	pwdb-0.61-r4 slang-1.4.5-r2

/var/db/pkg/x11-base: opengl-update-1.5 xfree-4.2.0-r12

/var/db/pkg/x11-libs: gtk+-1.2.10-r10 libwnck-2.2.1	     pango-1.2.1-r1  startup-notification-0.5  xft-2.0.1-r2 gtk+-2.2.1	 openmotif-2.2.2-r1 qt-3.1.2	     vte-0.10.25

/var/db/pkg/x11-misc: ttmkfdir-3.0.9	xscreensaver-4.05-r3

/var/db/pkg/x11-terms: gnome-terminal-2.2.1

/var/db/pkg/x11-themes: gnome-icon-theme-1.0.1	gtk-engines-metal-2.2.0  gtk-engines-redmond95-2.2.0 gnome-themes-2.2.1	gtk-engines-pixbuf-2.2.0 gtk-engines-thinice-2.0.2

/var/db/pkg/x11-wm: metacity-2.4.34

Acknowledgements
All the source code archive sites around the web that have unknowingly contributed their archives to this effort.

All the contributors to Any Old Distfiles ?