Last modified 10 Apr 2003
My experiences with other thinkpads and older versions of RedHat are available here.
Notation: I use '----' to mark the beginning and end of bits of text that go in files.
Preparation: Preserve important parts of previous installation:
> cd / > tar zcf /storage/root/RH73_etc.tgz etc > tar zcf /storage/root/RH73_root.tgz \ --exclude root/.mozilla --exclude root/.wastebasket rootI am keeping my separate /home and /usr/local and /storage partitions untouched by the reinstallation.
No need to worry about cylinder 1024 limitations for linux, we will use GRUB which is above such things. So no separate /boot partition.
Boot with RH8.0 CDROM in DVD drive English UK Keyboard 3 button PS/2 mouse Install Custom Manual partition-Disk Druid, all ext3 except the swap. Note all linux partitions are logical, ie in the extended partition, leaving all primary partitions free for DOS, Windows etc. mount point size format / hda5 4000 M Y /storage hda6 3780 M N /home hda7 2997 M N /usr/local hda8 1499 M N swap hda9 524 M Y Format hda5 only (leave /home,/storage,/usr/local alone) boot loader: GRUB, installed in /dev/hda MBR let it boot /dev/hda1 as Windows Network: No DHCP on boot. Give hostname. Ignore warnings. Medium security, do not trust eth0, allow incoming ssh and DHCP Language: English GB Time zone: Europe/London, sys clock on UTC UTC offset: leave it alone Add user accounts MD5 and shadow paswords, no NIS, LDAP, Kerberos X Config: S3 Savage4, 8MB Monitor: unprobed, 31.5-48 kHz, 50-70 Hz 16 bit color, 1024x768 Login: text select packagesI set up my fstab as follows. This allows anyone to write files on /dos and /win, and allows anyone to mount /mnt/cdrom and /mnt/floppy and anyone to unmount them again.
---- LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda1 /dos msdos uid=99,gid=99,umask=000 0 0 /dev/hda3 /win msdos uid=99,gid=99,umask=000 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/storage /storage ext3 defaults 1 2 LABEL=/usr/local /usr/local ext3 defaults 1 2 /dev/hda9 swap swap defaults 0 0 /dev/hdc /mnt/cdrom iso9660 noauto,users,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,users 0 0 ----I did not use Gnome1 very much, but found Gnome2 to be surprisingly inferior. Its default window manager "metacity" is much less configurable than sawfish, and the help documentation is simply not adequate. So I got some fvwm RPMs from rpmfind and installed them. If you want actual control over your desktop then edit .Xclients, otherwise try switchdesk.
> cd /usr/src/linux-2.4 > make mrproper > make xconfigxconfig lets you change kernel parameters. First, load configs/kernel-2.4.18-i686.config. To get suspend working, alter the following settings in General Setup:
Parameter | Setting | |
---|---|---|
APM BIOS? | y | |
Ignore user suspend? | n | |
Enable PM at boot? | y | |
Make CPU calls when idle? | y | |
Enable console blanking by APM? | y | |
RTC time in GMT? | y | |
Allow interrupts during APM BIOS calls? | y | |
Use real mode APM BIOS call to power off? | n |
---- EXTRAVERSION = -14apm ----and have it installed to the right place by uncommenting
---- export INSTALL_PATH=/boot ----Now compile the kernel:
> make dep > make clean > make bzImage > make modules > make modules_install > make install > mkinitrd -f /boot/initrd-2.4.18-14apm.img 2.4.18-14apm > cp .config /boot/config-2.4.18-14apm # needed by ltmodem builderEnsure that /boot/grub/grub.conf has lines to boot the new kernel. For me, these are
---- title Red Hat Linux (2.4.18-14apm) root (hd0,4) kernel /boot/vmlinuz-2.4.18-14apm ro root=LABEL=/ hdc=ide-scsi initrd /boot/initrd-2.4.18-14apm.img ----Reboot, and select the new kernel from the grub menu. The nice thing about this whole procedure is that you have not made any irrevocable changes: the original kernel is unaffected. If the new kernel doesn't work, you can reboot and select the original kernel instead.
> rpm -ivh ltmodem-kv_2.4.18_14-8.26a9-1.i686.rpmNote that it makes /dev/modem a link to /dev/ttyLT0.
> cd /usr/share/doc/ltmodem-kv_2.4.18_3-8.22a3/utils > ./checkoutFor allowing users access to the modem, see below.
> rpm -e ltmodem-kv_2.4.18_14-8.26a9Download ltmodem-8.26a9.tar.gz from the ltmodem home page www.heby.de/ltmodem/, or this HTTP URL. Unpack to /usr/local/src/ltmodem-8.26a9. While running the custom kernel,
> ./build_module > ./ltinst2 > ./autoloadTo let selected users access the modem, add them to the "uucp" group (ie the group that owns the modem, obtained from ls -l /dev/ttyLT0). To do this, either use redhat-config-users, or edit /etc/group, and add names of users to "uucp" line. Eg,
---- uucp:x:14:uucp,username1,username2 ----
> echo atz > /dev/modemwhich should not produce any error message.
You can use minicom for a more sophisticated check. Make sure that minicom uses /dev/modem (minicom -s), then fire up minicom and type "ATZ". It should echo "OK".
Sometimes it complains that there is "no such device" as /dev/modem. In that case, try
> modprobe lt_modem > echo atz > /dev/modemand the driver will be reloaded.