jumbo125 Posted September 29, 2023 Posted September 29, 2023 (edited) Hello I tried to shrink my sdcard (64gb, 17gb in use) and copy it to a 32gb card. I found a tutorial, but it don't work I fownloaded gparted and create a bootable device. The instruction 1.resize2fs /dev/sda1 [new size of the partition] in my case the original card is sdc1 2. Copy the shrinked device to the new device dd if=/dev/sda of=/dev/sdb In my case dd if=/dev/sdc of=/dev/mmcblk0 Is it really correct to use it without the "1" ? Sda, not sda1? However It didn't work.... Gparted gui shows me, that the original sd card has the original size 58.24gb. But I shrinked it to 27gb..... with resize2fs /dev/sdc1 27000M So I use gpated gui, by right click on device and select change volumesize. This worked, now I shrink the partition to 17gb. So looks good. After this , i tried dd if=/dev/sdc1 of=/dev/mmcblk0 to copy the partition. The odroid not boot, when I insert the card. Thd card hasn't a partition table, maybe this is the fail. So I do it again, but create a partition on the new sdcard, before i copy the old files on it. When I copy the files with dd, i will lose the partitions table. What is the fail Should i try to copy the full card to the new card Remember: on the new card is one shrinked partition with my armbian (17gb) and the rest of the card isn't as a partition. Thank you Edited September 29, 2023 by jumbo125 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.