Installing the Filesystem to an SD Card: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
<pre> | <pre> | ||
$ cd <sdk install dir> | $ cd <sdk install dir> | ||
$ FSROOT=$ | $ FSROOT=$PWD/fs/fs | ||
</pre> | </pre> | ||
Revision as of 21:30, 23 December 2010
Installing a filesystem to an SD card
This tutorial will guide you on manually installing the filesystem onto an SD card.
Locate the filesystem
Locate the filesystem you want to use as your root filesystem. By default, this is located at <sdk install dir>/fs/fs.
$ cd <sdk install dir> $ FSROOT=$PWD/fs/fs
Mount the SD card
Create a temporary mount point and mount the SD card.
$ mkdir temp $ sudo mount /dev/sdc1 temp
Copy the filesystem to the SD card
Copy the filesystem to the SD card, ensuring that you preserve all of the file attributes and ownership.
$ sudo cp -adpr $FSROOT/* temp $ sync $ sudo umount temp $ rm -rf temp
The filesystem should now be ready to use on your board.
See also: