Open main menu

CDOT Wiki β

Changes

Raspberry Pi Disk Partitions

114 bytes added, 10:22, 23 November 2011
no edit summary
* Claim a partition above
* Make sure it's empty!
* Format it with '<code>mkfs'-t ext3 /dev/PARTITIONID</code>* Mount it: <code>mnt /dev/PARTITIONID /mnt/whatever</code>* Copy it: <code>cp -x -R -p -v / /mnt/whatever</code>
** The -x prevents the copy from proceeding to other filesystems
* Copy /boot/cmdline.txt to <code>/boot/cmdline.PARTITIONID</code>* Edit /boot/cmdline.PARTITIONID to say: <code>root=/dev/PARTITIONID</code>* Whenever you want to boot from your partition: <code>cp /boot/cmdline.PARTITIONID /boot/cmdline.txt</code>* Change <code>/etc/motd </code> in your partition to tell people which partition they're on