I have a raspbian lite SD Card Image.
I have expanded the
cmdline.txt file by the following line
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes logo.nologo vt.global_cursor_default=0 rootwait quiet init=/usr/lib/raspi-config/init_resize.sh
On the first boot, I get the blue screen (see picture below) for 1-2 seconds.
"Resized Root filesystem. Restart in 5 seconds." (<- this is the right text; picture is only an example!)
But the filesystem is not expanded!
If I call the script (
/usr/lib/raspi-config/init_resize.sh) by myself after boot, I get the following error: