Hi, sorry again for the delay in replying.
Firstly, my hardware (as requested by the last poster):
Abit IN9-MAX-32X motherboard (with core 2 duo CPU), Creative Audigy soundcard, Gigabyte (NVIDIA) GTX560 TI graphics card, Technotrend satellite receiver card.
3 Samsung spinpoint SATA Hard Disks, SATA LG Blu-Ray re-writer, a memory card reader/writer and the normal floppy disk and usb and firewire ports.
Secondly, how to fix this problem :
First get a copy of KNOPPIX 6.0.1. I found one to download from this site
http://www.pcworld.pl/ftp/linux_2765/Knoppix.601.html (using Google translate as it is in Polish).
The download button is labelled "Pobierz". Then burn it to a CD and boot from it. This linux kernel will show the hard (fixed) disks before the removable disks
(i.e hard disks listed starting from sda) and will be able to read and write ext4 filesystems. Then do the following as root
(this is what I did - my root partition is ext4 on partition sda3 and I have a boot partition on sda1) :
Code:
mount -t ext4 /dev/sda3 /media/sda3
mount -t ext2 /dev/sda1 /media/sda1
mount --bind /dev media/sda3/dev
mount --bind /media/sda1 /media/sda3/boot
chroot /media/sda3
Then (after you have changed /etc/lilo to point to your /dev/sda (or whatever disk you want) partitions) and specified the
generic kernel in the new lilo.conf you can then run /sbin/lilo successfully.
Then you can re-boot.
The first time that I rebooted I got an error message that it could not mount the root filesystem so I had to do a "mount /dev/sda3 /mnt -o ro" at the prompt given.
This will then boot into your slackware linux using /dev/sda.
After I had done all this I checked the /boot/initrd-tree/dev directory and found that the reason for the boot up error message was that this directory still had the devices for the disks sdf, sdg and sdh and their partitions.
So I ran a new mkinitrd_command_generator.sh (in /usr/share/mkinitrd) and that corrected the problem (you may/should be able to run this command in your chroot when you have booted into KNOPPIX but I haven't tested that).
It is important that you use the generic kernel. I found that the generic kernel (with an initrd in my case) will work with the fist hard disk as /dev/sda but the huge kernel will not.
So this problem is now fixed. But I have a question - Why does the huge kernel list removable devices first but the generic kernel lists fixed disks first ?