teslausb icon indicating copy to clipboard operation
teslausb copied to clipboard

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

Open endurance1968 opened this issue 5 years ago • 3 comments

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.

endurance1968 avatar Jul 15 '19 14:07 endurance1968

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.

justinporterfield avatar Aug 17 '19 12:08 justinporterfield

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 avatar Jun 13 '21 21:06 nowjon

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

nowjon avatar Jun 14 '21 00:06 nowjon