Open main menu

CDOT Wiki β

Changes

Raspberry Pi Disk Partitions

541 bytes added, 10:20, 23 November 2011
no edit summary
If you want a disk partition, claim it by filling in the list above.
 
Recommendation for copying partitions:
* Claim a partition above
* Make sure it's empty!
* Format it with 'mkfs'
* Mount it: /mnt/whatever
* Copy it: cp -x -R -p -v / /mnt/whatever
** The -x prevents the copy from proceeding to other filesystems
* Copy /boot/cmdline.txt to /boot/cmdline.PARTITIONID
* Edit /boot/cmdline.PARTITIONID to say: root=/dev/PARTITIONID
* Whenever you want to boot from your partition: cp /boot/cmdline.PARTITIONID /boot/cmdline.txt
* Change /etc/motd in your partition to tell people which partition they're on