Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create rootfs from latest image #122

Open
IvanPizhenko opened this issue Jan 28, 2025 · 0 comments
Open

Can't create rootfs from latest image #122

IvanPizhenko opened this issue Jan 28, 2025 · 0 comments

Comments

@IvanPizhenko
Copy link

IvanPizhenko commented Jan 28, 2025

This is actually issue for the repository https://github.com/abhiTronix/rpi_rootfs
But because issues are not enabled there, putting it here.

Host OS: Ubuntu 22.04 LTS

STR

  1. Installed pre-requisites as described
  2. Cloned the repo git clone https://github.com/abhiTronix/rpi_rootfs
  3. Run cd rpi_rootfs
  4. Run ./build_rootfs.sh download which gives me file 2024-11-19-raspios-bookworm-armhf-lite.img.xz.
  5. Run unxz 2024-11-19-raspios-bookworm-armhf-lite.img.xz
  6. Run ./build_rootfs.sh create 2024-11-19-raspios-bookworm-armhf-lite.img

But this last step produces multiple errors like this:

Error please report bug on initramfs-tools
Include the output of 'mount' and 'cat /proc/mounts'
update-initramfs: failed for /boot/initrd.img-6.6.62+rpt-rpi-v6 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.6.62+rpt-rpi-v6 (--configure):
 installed linux-image-6.6.62+rpt-rpi-v6 package post-installation script subprocess returned error exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant