I'm running an LFS system. And was running the 2.4.24 kernel which is installed by default in the LFS book. I recently decided to upgrade to the 2.6.1 kernel.
Everything went smoothly (I followed a hint written for migrating an LFS system to the new kernel) except one thing.
Apparently my swap partition isn't recognized. So, I double-checked my 'make menuconfig' and lo-and-behold, I
do have 'Allow anonymous paging of memory' (or something like that) built into the kernel.
So, I did an fdisk /dev/hdb as root.
The printed the partition table.
/dev/hdb5 isn't listed anymore.
As a matter of fact, /dev/hdb1 (the partition linux is on) is listed as an 'EZ-Drive' under the system category.
When I replace my System.map and bzImage for 2.6 by the ones for 2.4.24 (glad I kept the other source
), the swap partition is seen by fdisk (and labeled correctly as 'Linux Swap') and is used by my system. And /dev/hdb1 is properly labeled as 'Linux'.
Sounds to me like 2.6.1 doesn't recognize partitions properly. Anyone have any idea what's going on?