Compiling new linux Kernel
Posted on 2008-11-10
I have a linux system which was installed on a very small hard disk of the size 2GB , meant to be embeded system , the kernel version is 2.6.10 and was compiled by the system supplier to support very limited set of drivers , also almost all development utilities are removed from the file system , i managed to move the system to another PC with larger hard disk by taking an image with 'dd' and restore it , however i faced the problem that kernel cant detect the network card and a lot of other system prepherals m my question is :
1- How to increase the linux root file system size
2- How to Compile and install a new kernel to detect all hardware , noting that the system is a minimized version which doesnt have gcc and other things.
3- Note that the kernel .config file doesnt exist , means also i dont know which options were configured in the exisiting kernel , how can i detect which options are enabled in it.