thedevil
Unregistered
|
|
Posted: Nov. 03 2005,10:40 |
|
Quote (nilux @ Oct. 25 2005,09:31) | THEDEVIL
How are you supplying the kernel (if you are not using a flash card)? Are you using DHCP , if yes then how are you getting to the init file (which must be somewhere )?
Also have u compiled ur own kernel ? Please explain ..
Thanks in advance |
if you don't have a cf card you can use nfs or tftp to supply the kernel. nfs works better for me 'coz i have to use nfs root anyway.
when you setup the n2200 bios to look for the kernel on an nfs server the bios connects to the nfs server, loads the pretected mode kernel into memory, sets up boot prompt arguments such as the nfsroot related arguments and starts the kernel. the kernel then takes care of the rest (including finding /etc/init, /sbin/init and executes them)
dhcp is an option but static ip can also be used. if dhcp is used you can just restrict the dhcp reply to contain just the ip info and use the kernel location saved in the bios. in case of nfsroot (regardless of how ip setting is obtained) the parent directory of the nfs share where the kernel is will be used for root fs and that's where the kernel will look for /etc/init and /sbin/init.
yes, i did compile the kernel so that i could include the cloop driver required by dsl. i used the 2.4.26 stock with only one patch to disable keyboard controller check (n2200 doesn't have one) you don't have to patch it but the kernel will complain about the missing controller and spend some time looking for it.
|