copy_larger_sd_card_to_smaller_sd_card
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
copy_larger_sd_card_to_smaller_sd_card [2017/01/28 22:03] – [Restore the SD Card] walkeradmin | copy_larger_sd_card_to_smaller_sd_card [2017/01/28 22:08] – [The Raspberry Pi] walkeradmin | ||
---|---|---|---|
Line 226: | Line 226: | ||
\\ | \\ | ||
Note the time taken: 2306867200 bytes (2.3 GB, 2.1 GiB) copied, <color red> | Note the time taken: 2306867200 bytes (2.3 GB, 2.1 GiB) copied, <color red> | ||
+ | \\ | ||
+ | \\ | ||
+ | Remove the SD Card from the Linux PC and put it in to the Raspberry Pi. | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | ==== The Raspberry Pi ==== | ||
+ | \\ | ||
+ | If all has worked, the Raspberry Pi should now boot up. Once booted and logged in, we can check the partition sizes. | ||
+ | \\ | ||
+ | \\ | ||
+ | From the command line, use: | ||
+ | \\ | ||
+ | \\ | ||
+ | df -h | ||
+ | \\ | ||
+ | < | ||
+ | This will show the following: | ||
+ | |||
+ | Filesystem | ||
+ | / | ||
+ | devtmpfs | ||
+ | tmpfs | ||
+ | tmpfs | ||
+ | tmpfs | ||
+ | tmpfs | ||
+ | / | ||
+ | </ | ||
+ | \\ | ||
+ | We can see from the /dev/root line above that the size is reported as 2.0G and that 880M is available. This is an 8Gb SD Card, and we need to reclaim that extra space. To do this, from the command line enter: | ||
+ | \\ | ||
+ | \\ | ||
+ | sudo raspi-config | ||
\\ | \\ | ||
\\ | \\ | ||
Line 252: | Line 286: | ||
- | df -h | ||
- | Filesystem | ||
- | / | ||
- | devtmpfs | ||
- | tmpfs | ||
- | tmpfs | ||
- | tmpfs | ||
- | tmpfs | ||
- | / | ||
copy_larger_sd_card_to_smaller_sd_card.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1