Re: Best way to configure Linux kernel for a machine

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

 



Sorry, my email client somewhat broke...

On 16 January 2013 21:22, Leonid V. Fedorenchik <leonidsbox@xxxxxxxxx> wrote:
On Wed, 16 Jan 2013 17:47:08 +0530
Shraddha Kamat <sh2008ka@xxxxxxxxx> wrote:

> I normally do the kernel configuration on my machine like this -
>
> * copy the distro configuration file  to the kernel dir
> * make menuconfig (answer Y's/N's/M's) Normally keep return key
> pressed for default answers
> * then do the actual kernel compilation
>
>
> Now, I know that this is not a clean way to do the kernel compilation
> (although it has worked for me for thousands of times that I have
> compiled and successfully booted up with the kernel - without any
> issues
> - whatsoever !)
>
> But this time , I am bent upon coming up with a configuration
> specifically targeted to my machine. What is the best way to do this ?
>

Although I am not professional in this, I would suggest to read Linux
Kernel in a Nutshell by Greg Kroah-Hartman which is available online
at http://www.kroah.com/lkn/ . Specifically, Chapter 8 provides good
details about custom configurations.

Hope this helps.

>
> Also, while creating a initrd image
>
> # mkinitrd /boot/initramfs.img 3.8.0-rc3+ -f
> ERROR: modinfo: could not find module ipt_MASQUERADE
> ERROR: modinfo: could not find module iptable_nat
> ERROR: modinfo: could not find module nf_nat
> ERROR: modinfo: could not find module snd_hda_codec_intelhdmi
> ERROR: modinfo: could not find module joydev
>
> I got the above errors - I know how to resolve these errors , but want
> to understand why in the first place mkinitrd should complain in the
> first place ??
>
> Thanks list for help for all these years.
>
> -- Shraddha
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Leonid V. Fedorenchik

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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