[Bug 2148511] Re: Don't set bootable flag on boot partition on preinstalled riscv64 images

Valentin Haudiquet 2148511 at bugs.launchpad.net
Mon Apr 20 08:14:42 UTC 2026


Resolute images do not have a bootable flag set:

Disk resolute-preinstalled-server-riscv64.img: 4.5 GiB, 4831838208 bytes, 9437184 sectors
Device                                      Start     End Sectors Type-UUID                            UUID                                 Name   Attrs
resolute-preinstalled-server-riscv64.img1  227328 9437150 9209823 0FC63DAF-8483-4772-8E79-3D69D8477DE4 A456F438-CD74-44BE-BA55-05498789D345
resolute-preinstalled-server-riscv64.img12 219136  227327    8192 0FC63DAF-8483-4772-8E79-3D69D8477DE4 42A40F8C-57FE-4EBB-8C2A-DEF4E3A05BF0 CIDATA
resolute-preinstalled-server-riscv64.img15   2048  219135  217088 C12A7328-F81F-11D2-BA4B-00A0C93EC93B F3777F96-9DA3-4ACC-99A2-4092091FA682

That code was removed when removing image generation for non-RVA23
boards, it seems.

Only Noble will need fixing.

** Changed in: livecd-rootfs (Ubuntu Resolute)
       Status: New => Invalid

** Changed in: livecd-rootfs (Ubuntu Resolute)
     Assignee: (unassigned) => Valentin Haudiquet (vhaudiquet)

** Summary changed:

- Don't set bootable flag on boot partition on preinstalled riscv64 images
+ Don't set bootable flag on root partition on preinstalled riscv64 images

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2148511

Title:
  Don't set bootable flag on root partition on preinstalled riscv64
  images

Status in livecd-rootfs package in Ubuntu:
  Invalid
Status in livecd-rootfs source package in Noble:
  In Progress
Status in livecd-rootfs source package in Resolute:
  Invalid

Bug description:
  [ Impact ]

  Nezha D1 and LicheeRV use file boot.env to store boot variables but
  cannot write on ext4 file system. The file should be stored on the
  ESP.

  A U-Boot looks for the first bootable partition we must ensure that
  only the ESP is detected as bootable via its partition type. The root
  partition should not be marked as bootable.

  [ Test Plan ]

  Build Generic, the Nezha and the LicheeRV images.

  Check that env save is usable on the Nezha and the LicheeRV and
  creates file boot.env on the ESP.

  Check that all boards boot.

  [ Where problems could occur ]

  We might mess up the partition definitions leading to build or boot
  failure.

  [ Other Info ]

  Nezha D1 and LicheeRV do not implement the RVA23 ISA and therefore are
  only supported up to Ubuntu 24.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2148511/+subscriptions





More information about the foundations-bugs mailing list