You can skip this section if you can detect the ide-scsi module using lsmod (see SCSI emulation in the previous section). Otherwise, you must install a kernel with the ide-scsi module. The pre-compiled kernel images are supplied as .deb packages on the official CDROMs. A safe choice is kernel-image-2.2.20.
![]() | Make sure that you have an up-to-date emergency repair disc for systems such as Windows NT. |
athlon:/home/chris# mount /floppy |
athlon:/home/chris# dd if=/dev/hda of=/fd/MBR bs=512 count=1 |
athlon:/home/chris# umount /floppy |
You can restore the mbr from the floppy using this command:
athlon:/home/chris# dd if=/fd/MBR of=/dev/hda bs=446 count=1 |
You can check which pre-compiled kernels are available using apt-cache.
athlon:/home/chris# apt-cache pkgnames | grep kernel-image | more |
athlon:/home/chris# apt-get install kernel-image-2.2.20 |
A new kernel has been installed at /boot/vmlinuz-2.2.20 |
Would you like to create a boot floppy now? [No] |
Enter y if you would like to create a boot floppy, and follow the instructions.
Would you like to create a boot floppy now? [No] y |
Install a boot block using the existing /etc/lilo.conf [Yes] n |
Wipe out your old LILO configuration and make a new one? [No] y |
Do you wish to set up Linux to boot from the hard disk? [Yes] y |
Install a partition boot block on partition /dev/hda7? [Yes] y |
Make /dev/hda7 the active partition? [Yes] n |
This command un-installs the kernel image:
athlon:/home/chris# dpkg --purge --force-remove-essential kernel-image-2.2.20 |
athlon:/home/chris# apt-cache --generate search kernel-image | more |