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

Does not work with new rasbian images due to auto root expansion #150

Open
endurance1968 opened this issue Jul 15, 2019 · 3 comments
Open

Comments

@endurance1968
Copy link

endurance1968 commented Jul 15, 2019

Since new rasbian images autoexpand after first boot there is no space left on the device for new partitions. Workaround is to disable autoexpand in cmdline.txt prior to first boot.

@justinporterfield
Copy link

After you flash the SD card but before you put it into the Pi edit the cmdline.txt file and remove the init=/usr/lib/raspi-config/init_resize.sh text at the end of the file.

@nowjon
Copy link

nowjon commented Jun 13, 2021

I don't see the line above mentioned in the cmdline.txt
This is what's in it:
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=3f98dc8b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether modules-load=dwc2,g_ether quiet

@nowjon
Copy link

nowjon commented Jun 14, 2021

Used this image instead and didn't have the issue: https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-04-09/

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

3 participants