teslausb
teslausb copied to clipboard
Does not work with new rasbian images due to auto root expansion
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.
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.
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
Used this image instead and didn't have the issue: https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-04-09/