Re: Segmentation faults with aptitude and apt-get on some packages
I kinda figured that. I was trying to be clear in case someone else was
following along. My question still is, is it necessary to run
"update-initramfs -c -k 4.8.11" if "make install" performs that
function? Does make install do the same thing as the update-initramfs
command or do they do something different.
Either way running "make install" and pointing
image=/boot/vmlinuz-4.8.11 works. It now boots and uname-r returns 4.8.11.
Now to see if it has eliminated the segfault I got when trying to access
webmin (don't know if it's localized to webmin but it's what I was
working on when this came up.
Thanks for the help.
Rod
On 12/2/2016 1:00 PM, John Paul Adrian Glaubitz wrote:
> You don't need to go through all steps again. Just "make install" is enough. Unless you call "make clean", the compiled files and kernel are still in the kernel's source directory.
>
> Adrian
>
>> On Dec 2, 2016, at 7:45 PM, rod <r.schnell@mythos.freeddns.org> wrote:
>>
>>> On 12/2/2016 12:13 PM, John Paul Adrian Glaubitz wrote:
>>> Did you run "make install" in the kernel's source directory after building kernel or did I forget mentioning it?
>>>
>>> Adrian
>>>
>>> PS: Sorry for the bad quoting style. Currently on mobile.
>>>
>>>>> On Dec 2, 2016, at 7:05 PM, rod <r.schnell@mythos.freeddns.org> wrote:
>>>>>
>>>>> On 12/2/2016 11:51 AM, John Paul Adrian Glaubitz wrote:
>>>>> Change the first SILO entry to:
>>>>>
>>>>> image=/boot/vmlinuz-4.8.11
>>>>> label=Linux
>>>>> initrd=/boot/initrd.img-4.8.11
>>>>>
>>>>> You simply forgot to modify silo.conf to point to the correct kernel and initrd.
>>>>>
>>>>> Currently it's configured to boot "vmlinuz" from the system's root directory which is most likely a symlink to a kernel in /boot (check "ls -l /vmlinuz") and use /initrd-4.8.11 as the initrd which is probably a symlink as well.
>>>>>
>>>>> Adrian
>>>>>
>>>>>> On Dec 2, 2016, at 6:32 PM, rod <r.schnell@mythos.freeddns.org> wrote:
>>>>>>
>>>>>> image=/vmlinuz
>>>>>> label=Linux
>>>>>> initrd=/initrd.img-4.8.11
>>>>
>>>>
>>>> I noticed that whilst typing the email and have gone looking for
>>>> vmlinuz-4.8.11.
>>>>
>>>> It's not in /boot and updatedb/locate doesn't show one on the system
>>>> symlinked or otherwise.
>>>>
>>>> Did we not create it somehow? Is it supposed to be created when the
>>>> kernel is built?
>>>>
>>>> Building kernels is fun! ;)
>>>
>> I did make "modules_install" but not "make install".
>>
>> $ cd linux-4.8.11
>> $ cp -av /boot/config-$(uname -r) .
>> $ make oldconfig (Just always <Enter> until the prompt comes back)
>> $ make && make modules_install
>> $ update-initramfs -c -k 4.8.11
>>
>> If I run "make install" it appears to run update-initramfs
>> automatically. So is the last line not needed?
>>
>> Personally I'd rather top reply. I find it easier to see new comments
>> that way. No big deal either way.
>>
>> Rod
>
Reply to: