[Arm-dev] 2nd day with C7 pre-alpha on Cubietruck

Wed Aug 19 12:03:12 UTC 2015
Mandar Joshi <emailmandar at gmail.com>

>
> Fortunately, I was logging the serial console (I use screen and turn on
> logging), and see:
>
> /usr/lib/kernel/install.d/51-dracut-rescue.install: line 59:
> /boot/loader/entrie
> s/82bd824c4a564768ba015297f0bec908-0-rescue.conf: No such file or directory
> warning: %posttrans(kernel-core-4.2.0-0.rc2.git0.1.centos.el7.armv7hl)
> scriptlet
>  failed, exit status 1
> Non-fatal POSTTRANS scriptlet failure in rpm package
> kernel-core-4.2.0-0.rc2.git
> 0.1.centos.el7.armv7hl
>

You will have to generate the initrd manually using dracut.

> What I see in the log from the reboot is:
>
> Scanning mmc 0:1...
> Found /extlinux/extlinux.conf
> Retrieving file: /extlinux/extlinux.conf
> Starting kernel ...
>
> ====================
>
> So please tell me how to get my Cubietruck to boot into the newer kernel.
>

Edit /boot/extlinux/extlinux.conf and add a entry for the new kernel.

The rbfkernelup.py yum plugin in RBF is meant for this purpose. For
the Cubietruck, it will add an entry to /boot/extlinux/extlinux.conf.

You can read more about it in the section "Usage of
yumplugins/rbfkernelup.py" in the README
https://github.com/mndar/rbf/blob/master/README.md and in
https://github.com/mndar/rbf/blob/master/doc/KERNELUP_README.md

Regards
Mandar Joshi