Installation manual

3. 3. Configuration of the Keyboard 9
/dev/hda4 hibernation 577MB 619.32MB A0 IBM Thinkpad Hibernation
We use fdisk and repartition into:
Fourth preliminary partition layout:
Partition: Purpose: Intended: Actual: Type:
/dev/hda1 /boot 8MB 15.49MB 83 Linux
/dev/hda2 preliminary 512MB 541.91MB 83 Linux
/dev/hda3 hibernation 577MB 619.32MB A0 IBM Thinkpad Hibernation
/dev/hda4 extended rest 05 Extended
/dev/hda5 / 64MB 69.68MB 83 Linux
/dev/hda6 LVM rest 58765.28MB 8e Linux LVM
Note: Tomove the hibernation partition, we use the “extra functionality (experts only)” mode of fdisk and then
“fix partition order” — preferably before we create anyother partition.
We create the filesystems by hand, since we don’tneed no reserved blocks for /boot and the root filesystem /.
Manual creation of the filesystems:
#> mke2fs −m 0 /dev/hda1
#> mke2fs /dev/hda2
#> mke2fs −m 0 /dev/hda5
Nowwehav e another problem. Weshould nowdefine the LVM volume group and create the physical/logical
volumes for /usr,/var, /tmp and /home. Unfortunately however, the Debian installation system does not support
LVM. For this reason, we use the intended swap partition /dev/hda2 to install a preliminary Debian system with-
out swap partition. As soon as possible, we will compile our custom kernel, setup LVM and then proceed rear-
ranging things into their final layout.
3. 2. Installation of the Preliminary System
After having partitioned the hard disk and having formatted the partitions, we install a preliminary kernel as well
as the base system and reboot, we makeuse of the good old tasksel and dselect install the following tasks and
packages,
Debian tasks and packages for the preliminary system:
Task Development C
kernel−source−2.4.18
bzip2
linbz2−1.0
kernel−package
libncurses5−dev
lvm−common
lvm10
ext2resize
3. 3. Configuration of the Keyboard
We want put the <Control> in the Right Place™ where God has intended it to be, namely left to the <A> key.
The old <Control> should takeoveras<Compose>. Wedon’tneed no <CapsLock>. Toachieve this, we copyall
the relevant kernel keymaps into /etc/console and modify them accordingly.
Copying the necessary files for the new keyboard layout:
#> cd /etc/console
#> cp /usr/share/keymaps/i386/qwerty/uk.kmap.gz .
#> cp /usr/share/keymaps/i386/include/qwerty−layout.inc.gz .
#> cp /usr/share/keymaps/i386/include/linux−keys−bare.inc.gz .
#> cp /usr/share/keymaps/i386/include/linux−with−alt−and−altgr.inc.gz .