Alex Roman's notes on doing this... For Debian 3.1 (Sarge)
Installation Notes
- Make SURE you have the LATEST BIOS update installed! Or else you might end up with the mouse and digitizer conflicting.
- Connect Lawrence's USB CD-RW Drive and insert Sarge CD1 (or netinst image) - it's an IOMEGA External USB CD/RW Drive
- (Linux didn't recognize the Backpack DVD/CDRW)
- Create floppy images for sarge (for debian-installer) from http://http.us.debian.org/debian/dists/sarge/main/installer-i386/current/images/floppy/ MAKE SURE that you have the LATEST floppies (or else, you won't be able to install properly) - This actually depends on your installation CD. The versions of the floppies and the netinst or Sarge CD1 CD MUST match!
- Booted boot.img floppy
- Inserted root.img floppy
- Loaded drivers from cd-drivers.img floppy, the floppy device is the last one in the list...
- The Debian-Installer was loaded automatically from the Sarge CD1 (or netinst CD) I had previously inserted
- Follow Lawrence's instructions below...
Notes
- The Debian Installer found both the wired and the wireless network cards! I used the wired one though for faster speeds.
- The 'backpack CD-RW/DVD-ROM' is flawed... Linux just won't recognize it. Don't bother... :/
- Install kernel 2.6 using apt
- Configure Digitizer
- get wacom_drv.o from http://rekl.no-ip.org/3500/
- get XF86Config from the same site
- ln -s /dev/psaux /dev/mouse --- for some reason /dev/mouse does not exist :/
- setserial /dev/ttyS0 port 0x338 irq 4 autoconfig
- upon restarting the X Server the pen works!
- NOTE: It is currently impossible to get rotation of the screen on the fly. Our solution was 2 X Servers. One for the tablet, and one for the regular laptop screen. They should be running different window managers (eg. gnome on laptop and kde on tablet). To do so, one should edit /etc/gdm/gdm.conf and create a new server type (with a different server LAYOUT) and start it on a second terminal. You also need to create a second server layout in the XF86Config-4 file. This new layout should use a different Device, which is just a copy of the original device, but with the Option "Rotate" "CW". Note that you must also copy the input devices, add the same rotate option to them and make the new layout use THEM instead.
Additional Applications
Wireless
Put all this into /etc/network/interfaces:
auto eth1
iface eth1 inet dhcp
name Wireless LAN Card
wireless_essid uw-wireless
wireless_keymode open
Then do ifup eth1. It should work. Note: change the wireless_essid to match your gateway!
Installing Debian on a Toshiba Portege 3500 Tablet PC
Hardware:
- Toshiba Portege 3500
- External USB floppy drive (LaCie)
- External DVD/CDRW (Plextor PlexCombo) PX-208T
Device info (according to Windows):
- Network adapter: Intel(R) PRO/100 M Mobile (IO 0xeec0-EEFF, irq 11)
- Wireless adapter: Toshiba Wireless LAN Mini PCI Card (IO 0xff40-ff7f, irq 11)
- Video: Trident Video Accelerator CyberBlade XP Ai1 v6.4229.22ICD_Rotation_SE_DXVA_TABLET
- Monitor: Toshiba Internal 1024x768 Panel (60 Hz)
- Mouse: touch: Alps pointing device (PS/2)
- Pen: HID-compliant mouse on Wacom Serial Pen Tablet
- InfraRed: ALi Fast Infrared Controller on ALi
- Audio: ALi Audio Accelerator WDM Driver
- PCMCIA: Texas Instruments PCI-1410 CardBus Controller, Toshiba ToPIC100 CardBus Controller
- SD: Toshiba SD Card Controller Type A
- USB: NEC PCI to USB Enhanced Host Controller
Issues
The Toshiba Portege cannot boot from USB CDROM, therefore we cannot use the standard Debian CD to install, therefore we need to get a set of boot floppies designed for USB floppy drives from:
http://www-user.rhrk.uni-kl.de/~blochedu/usb-install/
We want to keep the existing Windows XP Tablet Edition on the hard drive.
Procedure
- Install Partition Magic and change the Windows XP partition to allow room to install Debian (in our case we reduced it from 40GB to 18GB)
- Download the diskette images from: http://www-user.rhrk.uni-kl.de/~blochedu/usb-install/ and then copy each to their own floppy disk using the following command (under linux): dd if=file of=/dev/fd0 bs=1024 conv=sync ; sync
- Go into the Toshiba BIOS (press Esc while booting the Toshiba, then press F1) and change the boot order so that floppy drive is before the hard drive (FDD HDD -> CD-ROM -> LAN)
- Reboot with the Rescue disk in the floppy drive.
- at the boot: prompt, start the installation with the following command: linux vga=791 (without the vga=791, we discovered that the screen display was small and cutoff the bottom 4 to 5 lines)
- When the boot process pauses, you will need to insert the Root disk and press Enter to continue (it will prompt that a little earlier on the screen)
- You will then start the installation process. You should follow the directions as per our internal Debian installation documentation: https://www.math.uwaterloo.ca/mfcf/internal/procedures/OS/Debian/install.html except as noted below:
- When partitioning, we choose the following:
Name Flags Part Type FS Type Size(MB) Notes
hda1 Boot Primary NTFS 19033.30 (18GB) Windows XP
hda2 Primary Linux swap 1019.94 (1GB)
hda3 Primary Linux ext3 17947.57 (16GB) the root partition
hda4 Primary Win95 FAT32 1006.97 (2GB) to be shared Win/Linux
- "Found a Debian CD-ROM": If you do have the Debian CD in the CD-ROM drive during the installation process it will see it and ask you if you want to use it as the primary installation medium for device -> SAY NO (otherwise, it will not recognize the USB floppy and CD-ROM drives after you reboot, because they're not on the standard installation CD)
- Select Installation Medium -> choose /dev/fd0
-
- Network card: "intel pro/100 m"
-
- You will be prompted to insert the Rescue disk, which it will copy
-
- You will be prompted to insert Driver Disk 1, this will be the disk that was made from the downloaded file: drv14bf2.4-1.bin. It will start reading the disk and say "This is Disk 1 of 4 in the drv14bf2.4 series 0f 13 Sep 2002" Note: when it started reading the disk, it displayed the following "Error: ioctl fdflush failed (not fatal): Invalid argument" and prompted to continue. I did and it continued without problem."intel pro/100 m
-
- When it came to the list of device drivers, I skipped that for now ...
- When it asks about running Lilo, choose to write to the MBR, and then add all listed (there will be an extra one for Windows, but that can be cleaned up later)
- I was unable to create a boot floppy while using the USB drive (???), so I skipped that and went on to Reboot the System
- If the USB CDROM is connected and is in the boot priority before the hard drive, then the system will not boot. You may need to unplug the cdrom until lilo comes up - then plug it in so that Linux will see it. Better still - set the boot order as specified in step (3), above.
- When you reboot the system, and you restart linux, you will need to give the following boot line to have the screen display correctly:
- Continue with the post-reboot steps as per:
- I created a user account
- I did not remove the PCMCIA package
- I loaded the packages off CDROM
- In tasksel, I also chose the following: lapop system, plus all the development and Lex/LaTex env.
- I selected to run dselect
- There are a few other features to configure if you select the items in (d):
IrDa - I chose <Yes>, then <Serial>, /dev/ttyS1, dongle: none
Irda-common: discovery-> yes
- for video I chose "trident", I later said max was "1024x768@60Hz" (using Medium configuration option), then added "1024x768" to the list of options in screen resolution. Color depth: 24
- After that, there is a fairly long process of installing all the necessary files ...
- ispell - I chose [2] for british spelling
Post-installation:
We had difficulty recognizing the Intel Pro 100 card. In order to recognize it ,we needed to:
- Install kernel sources: (not necessary)
- apt-get install kernel-package
- downloaded the intel driver from:
- unzip the file: e100-2.3.18.tar.gz
- cd /usr/local/src/3100-2.3.18/src
- read the README and follow instructions:
- make install
After the network connection was working:
- vi /etc/apt/sources.list
- added: standard entries from Debian30
- scp debian30:/etc/apt/sources.list
- run: apt-get update to update the internal database about which packages are available
- run the command: apt-get upgrade to get all the latest updates
To install xhier:
- apt-get install rsh-client rsh-server
- optional: remove pidentd, portmap
- apt-get --purge remove pidentd
- apt-get --purge remove portmap
- vi /root/.shosts
mudge.math.uwaterloo.ca
mfcf.math.uwaterloo.ca
cscf.cs.uwaterloo.ca
- ln -s .shosts .rhosts
- mkdir /fsys1
- cd /fsys1
- mkdir .software
- cd software
- mkdir arch local regional sgare admin spool
- cd /
- mkdir .software
- cd .software
- ln -s /fsys1/.software/* .
- cd /
- ln -s .software/share software
- mkdir vendor
- mkdir xhbin
Make sure csh is correct (should not resolve to tcsh):
which csh
ls -l /bin/csh
apt-get install csh
Make sure time is correct:
apt-get install rdate
rdate -s ntp1
On MFCF
cd /software/admin/xhier/data
vi access-rights (under RCS
add host and server from which it will get its files
Distribute this access file to meister server:
xh-distribute -h cscf.cs xhier
rsh cscf.cs `which xh-distribute` -h debian30.math xhier
rsh debian30.math `which xh-distribute` -h mudge.math xhier
From mudge:
Test rsh access:
rsh <hostname> ls -al
xh-first-time -v bowen.cs
...
xh-transfer-requests bowen.cs
Discovering hardware:
apt-get install discover