I have debian running on a 16 GB sd card and it recently ran out of space (/dev/root is a 100%). I bought a 64 GB sd card and flashed my image of debian over to it. Even though it's running on the 64 GB sd card, it still says the memory is full. Is there a way I can show the OS that there is more space available? Or does it only know about the 16 GB?
closed as unclear what you're asking by Rui F Ribeiro, jimmij, Mr Shunz, Christopher, Jeff Schaller♦ Feb 6 at 22:59
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
I assumes that by "flashing" you meant do an exact copy od SD card, using another device (like windows, or another unix).
you increase physical space (16G to 64G), while leaving logical space (16G) untouched.
When copying you have to change underlaying strcuture :
- resize second partition on disk level size (
- grow physical volume (
- grow logical volume (
- extend filesystems (
This might be done from local system (unsure about fdisk part).