<div dir="ltr"><div>I've posted a mail with the screenshot (waiting for moderation) when I try to boot from make defconfig built kernel. Basically the kernel doesn't boot because "Missing modules (cat /proc/modules; ls /dev " it says...It's the same screen that appeared when I tried using make oldconfig pressing enter for default values.<br><br></div>I tried using make localmodconfig but It again asks for many config params that I don't know anything about.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Saludos,</span><i><span style="font-family:arial,helvetica,sans-serif"><br><br> Abel.</span></i><i><span style="font-family:arial,helvetica,sans-serif"></span></i></div></div></div></div></div>
<br><div class="gmail_quote">On 30 January 2017 at 01:11, Abel <span dir="ltr"><<a href="mailto:akronix5@gmail.com" target="_blank">akronix5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi.<br><br></div>I just built using make defconfig and it, again,
doesn't boot. Instead it displays the error that I've described before
(sorry I forgot to attach the screenshot, I attach it here).<span class=""><br><br>As I already stated, neither /boot/${uname -r} nor make oldconfig work for me, they both show the screen above.<br> </span></div><div class="gmail_extra"><br clear="all"><div><div class="m_4550407900913735371gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Saludos,</span><i><span style="font-family:arial,helvetica,sans-serif"><br><br> <wbr> Abel.</span></i><i><span style="font-family:arial,helvetica,sans-serif"></span></i></div></div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On 30 January 2017 at 01:08, Guru Das S <span dir="ltr"><<a href="mailto:gurooodas@gmail.com" target="_blank">gurooodas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_4550407900913735371HOEnZb"><div class="m_4550407900913735371h5">On 29 January 2017 at 15:32, 慕冬亮 <<a href="mailto:mudongliangabcd@gmail.com" target="_blank">mudongliangabcd@gmail.com</a>> wrote:<br>
> Hello,<br>
> If you want to reuse the config of current kernel, you can use<br>
> `make oldconfig` to generate config file.<br>
><br>
> --<br>
> My best regards to you.<br>
><br>
> No System Is Safe!<br>
> Dongliang Mu<br>
><br>
> 2017-01-29 18:24 GMT-05:00 Ozgur Karatas <<a href="mailto:mueddib@goosey.org" target="_blank">mueddib@goosey.org</a>>:<br>
>><br>
>> Hello,<br>
>><br>
>> you can get .config files in two ways, firstly get the existing .config file<br>
>> and compile to kernel.<br>
>><br>
>> $ cp /boot/config-x.x.x /bla/linux/.config<br>
>><br>
>> Second, use the generate command:<br>
>><br>
>> $ make defconfig<br>
>><br>
>> Regards,<br>
>><br>
>> ~Ozgur<br>
>><br>
>> 30.01.2017, 01:18, "Abel" <<a href="mailto:akronix5@gmail.com" target="_blank">akronix5@gmail.com</a>>:<br>
>><br>
>> Hi!<br>
>><br>
>> Where do you get the config file from? or do you generate it yourself?<br>
>><br>
>> I'm using xUbuntu 16.04 in a VM inside VMWare, following the instructions<br>
>> described in kernelnewbies wiki. (By the way, the download links to the iso<br>
>> images of Ubuntu don't work for me)<br>
>><br>
>> If I copy the latest config file in /boot, kernel 4.4.0, it starts to ask me<br>
>> many config parameters that I don't know what to answer. I tried to press<br>
>> always <enter> to set up the default parameters, but after compiling I get<br>
>> an error trying to boot from that kernel (see atachment).<br>
>><br>
>> I tried with make menuconfig and that seems to work, but it takes too long<br>
>> because it builds and includes many many drivers modules.<br>
>> Yeah, I know I could navigate through the ncurses window and select the<br>
>> stuff I want and deselect what I don't want, but I'd rather prefer just a<br>
>> simple config file that builds and works and don't waste time in<br>
>> understanding all the stuff that it's in there.<br>
>><br>
>> So, isn't there a way to get a simple config file just to develop kernel<br>
>> stuff for an Ubuntu image?<br>
>> I've even gone to the kernel ppa sources for Ubuntu:<br>
>> <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.5/" rel="noreferrer" target="_blank">http://kernel.ubuntu.com/~kern<wbr>el-ppa/mainline/v4.9.5/</a>; but it only provides<br>
>> a patch using the debian config files (which don't come from git sources of<br>
>> course).<br>
>><br>
>> I just want a config file, copy it to the kernel root code and compile.<br>
>><br>
>> Greetings,<br>
>><br>
>> Abel<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Kernelnewbies mailing list<br>
>> <a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.or<wbr>g</a><br>
>> <a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.or<wbr>g/mailman/listinfo/kernelnewbi<wbr>es</a><br>
>><br>
><br>
> ______________________________<wbr>_________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.or<wbr>g</a><br>
> <a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.or<wbr>g/mailman/listinfo/kernelnewbi<wbr>es</a><br>
<br>
</div></div>Hi Abel,<br>
<br>
To add to what Ozgur said, you may first copy the existing .config<br>
file that comes along with your Linux distribution to your kernel<br>
tree, and then use:<br>
<br>
$ make localmodconfig<br>
<br>
instead of defconfig. A quick Google search should tell you the<br>
differences between the two - and from what I've read, localmodconfig<br>
is preferred to defconfig.<br>
<br>
Hope this helps.<br>
<br>
<br>
Guru Das Srinagesh.<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>