Running from ext2 partition
Submitted by vettorazzo on 1 August, 2008 - 04:28.
I'm trying to run pie from a real ext2 partition on the card, but i'm not sure if it work ...
after create and format the partition, i've used dd if=opie-rotfs.ext2 of=/dev/mmc_partition to transfer the system and edited the cocobot.conf to ROOT=/dev/mmcblk0p2. is that right ? There are something i missed ?
»
- Login to post comments
- 7097 reads

Rather than dd'ing the
Rather than dd'ing the filesystem image directly onto the partition it's probably beter to copy the contents of it (otherwise you'll have some wasted space unless the partition is exactly the same size as the image):
mount -o loop opie-rootfs.ext2 /mnt/tmp
mkfs.ext2 /dev/mmc_partition
mount /dev/mmc_partition /mnt/mmc
cp -a /mnt/tmp/* /mnt/mmc
umount /mnt/tmp
"root=/dev/mmcblk0p2" should normally be in lower-case, not sure if it'll work with "ROOT".