Re: Adding command line option in kernel.

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

 



On Tue, Aug 3, 2010 at 7:56 PM, Victor Rodriguez <vm.rod25@xxxxxxxxx> wrote:
> On Tue, Aug 3, 2010 at 2:21 AM, Raahi Mehra <raahi80@xxxxxxxxx> wrote:
>>
>> Hi,
>>
>> I wish to add a new command line option in my kernel.
>> Can anybody help me with steps to achieve that ??
>> As I read somewhere that __setup is now obsolete and since i need to use
>> this new option in early boot time

If you are using GRUB/GRUB2 as your bootloader.
Then one possible option is to let GRUB import that
for you. Have a look at GRUB_CMDLINE_LINUX,
(for GRUB2) and GRUB1's "kernel" option.

This should help https://wiki.ubuntu.com/Grub2

Thanks


so I need to use early_param().
>> So how can I do that ??
>> Is there any documentation available anywhere that i can use ??
>>
>>
>> Regards,
>> Raahi
>>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux