[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem of compiling kernel



Lian Liming wrote:
Hi all,
I just have problem of compiling kernel. The standard debian way of compiling kernel is using the make-kpkg. But i never successfully compile any kernel(2.6.*) on my box(AMD althon1400, 256DDR, 40IDE hard disk).

What strange is that there is different error on different time. The compiling error occur on a different C file every time. So i think it should not be the bug of the kernel source. There are maybe something wrong with my compiling enviroment.

As if there is error when using make-kpkg, you should start from the beginning. So i try download the kernel source and compile it as the common linux way: first "make menuconfig", and then "make && make modules_install". I do successfully compile kernel.

But there is another error: When boot using the new compiled kernel, it stop at the following message: ------------------------------------------------------------------------------------------------------------------------------
  fsck.ext2: No such file or directory while trying to open /dev/hda1


  The superblock could not be read or does not describe a correct ext2
  filesystem.  If the device is valid and it really contains an ext2
  filesystem (and not swap or ufs or something else), then the superblock
 is corrupt, and you might try running e2fsck with an alternate
 superblock:
    e2fsck -b 8193 <device>
----------------------------------------------------------------------------------------------------------------------------------------

This seems to suggest nothing wrong with your kernel but that partition. OR the disk is bad, OR no mke2fs has been run. Have you run something in that partition before you made the kernel?

H.





Reply to: