Red Hat Linux/i386 6.2 VMware image Submitted by: Greg Bailey Description: Red Hat Linux/i386 6.2 and all available updates as of March 2003. The "Server Configuration" was chosen during the installation. A username of "user" and password "password" can be used to access the system via telnet (ssh was not included by default in Red Hat 6.2 but could certainly be added). This distribution could be useful for those performing compatibility testing, supporting old software versions, honeypots, etc. Configuration: Red Hat 6.2 server configuration with all available updates Server Configuration (web server, database, etc.) VMware tools has NOT been installed User accounts: Superuser: root/password Unprivileged user: user/password Specifications: Disk space: 2.0 GB Memory: 64 MB How this image was made: (1) Download the Red Hat 6.2 distribution from: ftp://archive.download.redhat.com:/pub/redhat/linux/6.2/en/iso/i386/zoot-i386.iso (2) Download the Red Hat 6.2 updates from: ftp://archive.download.redhat.com:/pub/redhat/linux/updates/6.2/en/os/ You'll need everything in the i386, i586, i686, noarch subdirectories (3) Unpack the .iso into a directory tree that can be shared via NFS (4) Modify the "rpmrc" file in the installation image so that the Red Hat 6.2 installer can deal with the CPU type returned by Pentium 4 processors: edit "/RedHat/instimage/usr/lib/rpm/rpmrc" and substitute all occurrences of "i786" with "i?86" (5) Boot from the "bootnet.img" floppy image and choose an NFS installation (6) Choose "Server Configuration" (7) After the installation has completed, but before the system is restarted, perform the following additional steps: (a) Press ALT-F2 to get to a shell prompt and chroot into /mnt/sysimage (b) NFS mount the updates retrieved in step (2) above (c) Iteratively apply updates from noarch, i686, and i386 subdirectories using "rpm -Fvh *" until no more updates need to be applied. This will take several steps and will involve installing previously uninstalled RPMs. (d) NOTE: once RPM itself is upgraded, save a copy of the rpmrc that's part of the newly upgraded RPM 4.0.2 package, and modify /usr/lib/rpm/rpmrc again to change references of "athlon" to "i?86". When you're all done upgrading RPMs, put the rpmrc (with references to "athlon") from RPM 4.0.2 back. Once the virtual machine is booted with the kernel 2.2.24-6.2.3, it will properly recognize the i686 processor and no longer need to rpmrc workaround (with references to "i?86"). (e) Execute "rpm --rebuilddb" to convert from RPM v3 to RPM v4 (f) Generate initrd for the new kernel and install lilo (g) Create "user" account so a remote user can telnet to the server