Simplest is  do $make menuconfig

Change the boot options for command line paramenter.

If you see .config it is CONFIG_CMDLINE=" "

 

 

Regards

Vivek

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chetan Nanda
Sent: Friday, September 19, 2008 2:13 PM
To: kernelnewbies@nl.linux.org
Subject: Kernel command line parameter?

 

Hi All,

I have to pass a new command line parameter to linux kernel at bootup
time, I am using Intel x86 machine.

How will I go about this?
I have seen in kernel code many statements like:
__setup("str",fn);

Is statement of this kind is sufficient enough?
How/where (in code) kernel parse these parameters?

Thanks,
Chetan Nanda



Reply via email to