Win2000/Red Hat 7.0 Dual Boot Install on IBM Thinkpad T21 Model 2647 2BU
These are my notes on the install I did on 13 May 2001.
Notes:
- This computer has a 3COM PCI modem, which is not currently Linux compatible.
References:
- Linux on IBM Thinkpad T21 (2647-5BU)
http://www.altariel.com/linux.html
- S3 Savage/MX and Savage/IX
http://www.probo.com/timr/savagemx.html
- 3Com Mini PCI Device Drivers for Linux
http://www2.neweb.ne.jp/wd/fbm/3c556/
(not needed with 2.4.3 kernel)
- Linux on the IBM ThinkPad T20
http://www.cir.nus.edu.sg/~lzs/linux_t20.html
- Thinkpad T21 2647-47U
http://lisas.de/~david/t21/index.php3
Still to do: sound, USB, IrDA, APM
Steps in installation:
1. install additional memory
2. partition magic: 9.35G
----------------------
2.1 creating pm 6.0 bootdisks
- put PM cd in
- run "cmd"
- cd e:\english\dos_os2
- makedisk a:
2.2 partitioning of hard drive
- note: when pm disk#2 says "write protect error Abort/fail" type "f"
- partitioning:
Primary Partition 2.0 NTFS
Primary Partition 2.3 linux ext2 /home
hda3 Primary Partition 2.0 linux ext2 /
Logical Partition
768M linux swap
1.5 linux ext2 /local
1.0 fat32 /windata
3. install win2000 (this machine comes with win98)
---------------
3.1 creating win2k bootdisks
- 4 formatted disks
- win2k CD
- put win2k cd in
- run cmd
- cd e:\bootdisk
- makeboot a:
3.2 install using four win2k floppy install disks
4. Linux install
-------------
- boot from redhat install floppy with disk1 in CD-Rom
- options:
- don't use GMT
- New York time
- Used disk druid - /windata for hda7
- Didn't format partitions
- didn't check use linear mode (required for some scsi drives)
- used generic savage video card (it won't work anyway)
* shadow password
* MD5
* NIS - didn't have NIS server
- checked lookup using broadcast
- put lilo on root partition of linux
- choose "create boot disk"
5. Making it dual-boot using NT loader
-----------------------------------
- boot from floppy into linux
- dd if=/dev/hda3 of=/windata/bootsect.lnx bs=512 count=1
- reboot to windoze (remove linux floppy)
- move /windata/bootsect.lnx c:
- in explorer, view hidden and o/s files and see that c:\boot.ini exists
- in cmd: do "attrib -s -h -r boot.ini"
- using notepad edit boot.ini and add the line:
c:\Bootsect.lnx="Red Hat Linux 7.0"
- in cmd: do "attrib +s +h +r boot.ini"
Now the machine should be dual boot.
6. Installing Windows Drivers
--------------------------
- DO NOT plug ethernet cable in before drivers set-up
6.1 win: screen
- install savage IX 7.31.06 driver using IBM drivers disk
- reboot
- can now adjust screen size to 1024x768, colours to 32bit
6.2 win: Ethernet driver (3Com PCI)
- Thinkpad drivers CD - first entry
- it will ask to extract files to c:
- creates dirs c:\lansetup, c:\landisk1, etc
- reboot
- go into device driver, click on "?" for ethernet controller, properties,
install driver, specify location c:\landisk3
- the question mark in device manager should now be removed\
- can delete the "lan ..." directories
6.3 win: Installing modem
- IBM thinkpad drivers disk
- don't install via drivers cd - that doesn't seem to work
- goto device manager - click on "?" for simple PCI controller
- install driver, location:
e:\data\win2k\us\3com mini-pci modem\mdmdisk4\wbhaibf.inf
6.4 win: Last "?" in device driver:
- Device Driver -> system devices -> IBM PM device
- let it search cd rom and it found something and installed it
6.5 win:audio (Crystal SoundFusion)
- Thinkpad drivers disk - Audio III - install
- click on "uninstall Crytsal ..."
reboot
- found new hardware, search cd-rom
- finds: e:\data\win2k\us\audio iii(wdm)\cwcwdm.inf
6.6 thinkpad driver cd: doubleclick Intel Priority Packet 1.41
reboot
6.7 speedstep Intel 1.10 (for pIII only)
reboot
6.8 trackpoint 2.03
- follow directions upon double-clicking for installation
from thinkpad CD
reboot
6.9 Utility Driver for Windows 1.17
- choose custom installation
- check 'utility for dos' as well as others
- Utility Features: e:\Data\win98\us\utility\utility features
- Utility Data III: e:\Data\win98\us\utility\utility data II
- Doc Utility Source: e:\Data\win98\us\utility\utility-dos
6.10 Utility Data I 1.11, Utility Features 1.10
- says "thinkpad configuration" does this install
and does nothing
6.11 Utility On-screen 2.24I (seems to be for seeing vol level on screen)
- double-click, it installs
reboot
7. Linux drivers
-------------
- get new XF86_SVGA from:
http://www.probo.com/timr/savagemx.html
download: XF86_SVGA server binary for Linux/x86 and glibc 2.1 (xf336sav.tgz)
put this on /windata
- boot under linux, login as root
- before starting x with startx
- mv /usr/bin/X11/XF86_SVGA /usr/bin/X11/XF86_SVGA.old
- mv /windata/XF86_SVGA /usr/bin/X11/
- before startx, run Xconfigurator as root
- card -> something that matches S3 Savage
- monitor: IBM Thinkpad 1400x
- choose custom resolution of 24bit 1024x768 (it chooses 32bit 1200x...)
- have it boot X on reboot
stored in /etc/X11/XF86Config
ctrl-alt-+ to cycle video resolutions
Note: don't be tempted by XFree86 4.0.2 - vmware doesn't support it
apparently
8. Updating to kernel 2.4.3 (needed for ethernet support)
------------------------
- get .tag.gz from www.kernel.org
- put it in /usr/src
- gunzip, untar
- get kernel.config file from person
- make menuconfig
- scroll down and choose load configuration file
- make dep
- make bzImage
- make bzlilo -> dumps vmlinuz and System.map in /
- put them in /boot with appropriate links
vmlinuz -> /boot/vmlinuz-2.4.3
System.map -> /boot/System.map-2.4.3
- fix lilo.conf to point to /boot/vmlinuz-2.4.3
- /sbin/lilo
- dd if=/dev/hda3 of=/windata/bootsect.lnx bs=512 count=1
- boot to windows
- mv /windata/bootsect.lnx c:\bootsect.lnx (overwrite the old one)
- attrib -s -h -r boot.ini (remember this is a hidden file)
- edit boot.ini
- erase last line, put it in again (possibly reboot in between these steps)
- attrib +s +h +r boot.ini
- reboot
9. making a linux boot disk
------------------------
dd if=/boot/vmlinuz of=/dev/fd0 bs=8192