Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Expanding filesystem currently broken #1

Closed

Description

@ghollingworth

Expanding the ext4 filesystem to fill the SD card on first boot is currently broken.

Activity

  1. BlackNet commented on Aug 22, 2023

    @BlackNet

    Correct. I was able to manually extend that with raspi-config. I tested with a cm4 on an oratek tofu carrier board with m2 1TB mounted as root. Same issues.

  2. paulober commented on Aug 22, 2023

    @paulober

    Can confirm. Had the same issue but raspi-config was able to extend it manually.

  3. added this to the Bookworm launch milestone on Aug 23, 2023
  4. lurch commented on Sep 22, 2023

    @lurch
    Collaborator

    @XECDesign This has been fixed now, right?

  5. XECDesign commented on Sep 22, 2023

    @XECDesign

    yes

  6. martignoni commented on Sep 27, 2023

    @martignoni

    Confirming, resizing works out of the box with image 2023-09-22.

  7. lurch commented on Mar 21, 2024

    @lurch
    Collaborator

    @munderwoods I've just tested this myself, writing the image you linked above onto a 16GB microSD card, and booting it up on a Raspberry Pi Zero 2 W.
    On the first bootup, it generates the SSH keys and resizes the root filesystem. It then automatically reboots and on the second bootup it asks me for keyboard and username settings. When I then login and run lsblk I can see that mmcblk0p2 (the root filesystem) has been resized to 14.3GB.

    Can you please give more details on how this isn't working for you / what behaviour you're seeing instead?

  8. munderwoods commented on Apr 4, 2024

    @munderwoods

    @munderwoods I've just tested this myself, writing the image you linked above onto a 16GB microSD card, and booting it up on a Raspberry Pi Zero 2 W. On the first bootup, it generates the SSH keys and resizes the root filesystem. It then automatically reboots and on the second bootup it asks me for keyboard and username settings. When I then login and run lsblk I can see that mmcblk0p2 (the root filesystem) has been resized to 14.3GB.

    Can you please give more details on how this isn't working for you / what behaviour you're seeing instead?

    Super sorry, I totally wasted your time. It was entirely my mistake! I was doing some pre-configuration on the image and didn't realize (for far too long) that I was over-writing the boot/config.txt instead of appending to it. Really dumb.

  9. lurch commented on Apr 4, 2024

    @lurch
    Collaborator

    Easily done, when the difference is > vs. >> 🙂 Glad to hear that things are working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions