Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling kernel 2.4.6

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I recently compiled kernel 2.4.6 after saving it in /boot and rebooting the kernel goes through what are the correct processes but stop when checking the linux patition /dev/hda5. It does not seem to recognise the patition as a linux partition. Did I leave something out when compiling the kernel.
 
Hi,

The most likely error would be that you left out ext2 (Second extended filesystem) support from the 'filesystems' section when doing your kernel configuration. ext2 is the 'normal' filesystem used with linux. Second most likely would be that it's a reiserfs partition (especially if your system is Suse) in which case the error would be similar, i.e. you left out reiserfs support.

Presumably (hopefully!!) you installed the new kernel alongside at least one proven working kernel. If so, simply choose the last working kernel at boot time, boot that and check your disk by doing '/sbin/fdisk -l /dev/hda'. That should tell you what filesystem partition /dev/hda5 is using. Then re-run your kernel config making sure that the relevant filesystem support is included (built-in) to the new kernel.

If you've compiled kernels before and you've still got the source on your system, you can look in the .config file in the /usr/src/linux-2.4.5 (or whatever) directory to see what you had in that kernel.


Regards, Iain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top