# U74 unmatched ubuntu22.04 kernel replace failed

**URL:** <https://forums.sifive.com/t/u74-unmatched-ubuntu22-04-kernel-replace-failed/5930>\
**Category:** HiFive Unmatched\
**Created:** [December 9, 2022, 5:58am UTC](https://forums.sifive.com/t/u74-unmatched-ubuntu22-04-kernel-replace-failed/5930 "2022-12-09T05:58:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![literming](https://avatars.discourse-cdn.com/v4/letter/l/ce73a5/32.png) [@literming](https://forums.sifive.com/u/literming)\
**Post date:** [December 9, 2022, 5:58am UTC](https://forums.sifive.com/t/u74-unmatched-ubuntu22-04-kernel-replace-failed/5930/1 "2022-12-09T05:58:17Z")

</div>

On U74 unmatched board, using ubuntu22.04 system: [https://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.1-preinstalled-server-riscv64+unmatched.img.xz](https://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.1-preinstalled-server-riscv64+unmatched.img.xz), now i cross-compile to generate a kernel and replace /boot/Image, but the following errror occurred ont statup,

 ![企业微信截图_20221209135742](https://us1.discourse-cdn.com/flex020/uploads/sifive/original/2X/6/66ca4e57fd42d0a48ca0d35733314cb73bf4aec2.png)  
i do not know if the way is right, and had anyone has this problem?

---

<div class="post-metadata">

**Author:** ![JimWilson](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JimWilson](https://forums.sifive.com/u/JimWilson)\
**Post date:** [December 9, 2022, 9:43pm UTC](https://forums.sifive.com/t/u74-unmatched-ubuntu22-04-kernel-replace-failed/5930/2 "2022-12-09T21:43:25Z")

</div>

This site has info that explains how to build a RISC-V Linux system from scratch. It also has a section that explains how to install a linux kernel update for this build. This system may be structured differently than the Ubuntu release, so the info may not be exactly correct for your system, but it might be helpful.  
[https://github.com/carlosedp/riscv-bringup/tree/master/unmatched](https://github.com/carlosedp/riscv-bringup/tree/master/unmatched)

I think the boot image file alone is not enough, you also need the dtb file and the module files installed. Depends on how the image is constructed, and whether you enabled modules, and maybe other things.

---

<div class="post-metadata">

**Author:** ![literming](https://avatars.discourse-cdn.com/v4/letter/l/ce73a5/32.png) [@literming](https://forums.sifive.com/u/literming)\
**Post date:** [December 12, 2022, 7:07am UTC](https://forums.sifive.com/t/u74-unmatched-ubuntu22-04-kernel-replace-failed/5930/3 "2022-12-12T07:07:54Z")

</div>

Thanks a lot, i seem to know a little about it, Using your site is

---

<div class="post-metadata">

**Author:** ![literming](https://avatars.discourse-cdn.com/v4/letter/l/ce73a5/32.png) [@literming](https://forums.sifive.com/u/literming)\
**Post date:** [December 12, 2022, 7:12am UTC](https://forums.sifive.com/t/u74-unmatched-ubuntu22-04-kernel-replace-failed/5930/4 "2022-12-12T07:12:08Z")

</div>

Using your site is normal, in addition, I don’t know where files are stored on unbuntu system, so did not replace it
