First of all, make sure you compiled in support for your filesystem into the kernel. If you've already done that, then do you have a SATA hard disk?
I have a SATA hard disk which is recognised as /dev/hda
in 2.4, and as /dev/sda
in 2.6. Here's what I do to get a 2.6 kernel working in Slackware:
- edit /etc/fstab, and change every instance of hda to sda.
- Edit /etc/lilo.conf and change the root partition from /dev/hdaX to /dev/sdaX.
- Run /sbin/lilo.
- Reboot with new kernel.
- Edit /etc/lilo.conf again, changing every instance of hda to sda.
- Run /sbin/lilo again.
That solves all of my problems with Slackware and a 2.6 kernel, with a SATA hard disk.