標題: 【Raspberry Pi】——How to clone a large size SD card to a low size SD card? [打印本頁] 作者: 角色 時間: 2013-10-8 07:19 標題: 【Raspberry Pi】——How to clone a large size SD card to a low size SD card?
本帖最後由 角色 於 2013-10-8 07:21 編輯
Assumption, the file size of the system is less than 8GB, let say 6GB, otherwise the following procedures does not give the expected results.
1. Using partition tool like linux gparted or dd command to resize the 16GB SD card to a smaller size
2. Using DD command to make the image, dd if=/dev/sdb of=/tmp/sdcard.img, where /dev/sdb is 16GB SD card
3. Using DD command to copy image to dd card, dd if=/tmp/sdcard.img of=/dev/sdb, where /dev/sdb is 8GB SD card
4. Inset 8GB card into the Raspberrry Pi box and give DC power to the box
5. Using the command "raspi-config" to expand the system file to maximise the SD card memory space.作者: 角色 時間: 2013-10-8 21:25
本帖最後由 角色 於 2013-10-8 22:32 編輯
Please note that 8GB SD cards with different brands, the size might be different. You need the information described previously in order to make it (larger size) fit a smaller size SD card.