I have wrote the img using raspberry pi imager, with dd I even tried formatting the fs to ext4 then writing with dd and in all of my attempts it ends up only allocating 3.7GB.
My sd card is 64GB, can anyone help?
When the img is written it creates 3 partitions 1 ms-dos, 1 swap, and one for the os and everything else, the third one only has 3.7GB the other 2 much less.
So I created these partitions first then wrote to the partition using dd and the pi doesn't boot.
update
Unable to resize using fdisk already done those steps in the other answer. parted fails as well.
fdiskand withpartedbut it didn't help. – Nickotine Oct 28 '22 at 03:52