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

Expanding filesystem currently broken #1

Closed
ghollingworth opened this issue Aug 22, 2023 · 9 comments
Closed

Expanding filesystem currently broken #1

ghollingworth opened this issue Aug 22, 2023 · 9 comments

Comments

@ghollingworth
Copy link
Contributor

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

@BlackNet
Copy link

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.

@paulober
Copy link

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

@ghollingworth ghollingworth added this to the Bookworm launch milestone Aug 23, 2023
@lurch
Copy link
Collaborator

lurch commented Sep 22, 2023

@XECDesign This has been fixed now, right?

@XECDesign
Copy link

yes

@martignoni
Copy link

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

@munderwoods
Copy link

I'm actually having this issue on the version I downloaded from here:
https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2023-12-11/2023-12-11-raspios-bookworm-armhf-lite.img.xz

Am I doing something dumb?

@lurch
Copy link
Collaborator

lurch commented Mar 21, 2024

@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?

@munderwoods
Copy link

munderwoods commented Apr 4, 2024

@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.

@lurch
Copy link
Collaborator

lurch commented Apr 4, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants