Link to home
Start Free TrialLog in
Avatar of esam9831
esam9831

asked on

Compiling new linux Kernel

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.
ASKER CERTIFIED SOLUTION
Avatar of Rance_Hall
Rance_Hall

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of esam9831
esam9831

ASKER

i found the kernel config file under /proc , it is compressed , this solves part of the problem .
1- which tools are required to recompile the kernel , i need explicit list ?
2- How to install them noting that the system is having the bare minimum binaries

I appreciate the detailed steps rather than general tips and guidance
Just as a beginning what architecture is the embedded system (x86, x86_64 or any other)? What is the kernel version?
It is x86 , the kernel version is 2.6.10
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial