Do you mind to share what exact command you execute after comment out do_resize line?I run the code like below:Where mnt is where I mount my image file. However seems like it did nothing. SD card still expand to max size.Code:
chroot mnt /usr/sbin/update-initramfs -u
In anticipation of your reply, I tested using image-chroot to modify the image file by commenting out the 'do_resize' line and then running update-initramfs. Auto-expansion does NOT occur.
I can't over-emphasize that it's so much easier to use the original approach I pointed you to. No chroot nor update-initramfs is needed.
Statistics: Posted by rasp14 — Mon Mar 04, 2024 7:28 am