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

Re: detecting hardware for custom kernel



deloptes wrote on 01/11/17 09:50:
> HP Garcia wrote:
> 
>> Is there a command to detect hardware for a custom kernel? I would like
>> to take advantages of the newer kernels.
> 
> It is not clear what you want to achieve.
> Most probably your current kernel has already detected the hardware for you.
> Just take the config and base your new kernel on that config. 
> After this do fine tuning and build debian package(s).
> 
> $ cp /boot/config-xxxxxxx .config
> $ make oldconfig

There's also "make localmodconfig" which builds a kernel based on the current
config and loaded modules. See the "README" in the kernel source directory.

> $ make menuconfig
> $ make deb-pkg
> 
> I just installed 4.9.1 few days ago
> 
> $ sudo dpkg -i linux-image-4.9.1eko4_4.9.1eko4-2_amd64.deb
> linux-headers-4.9.1eko4_4.9.1eko4-2_amd64.deb
> linux-firmware-image-4.9.1eko4_4.9.1eko4-2_amd64.deb
> linux-libc-dev_4.9.1eko4-2_amd64.deb
> 
> patch to vmware was however needed for 12.n.
> 

Regards,
jvp.



Reply to: