Line 69:
Line 69:
−
'''Step 1:''' Create an empty file: <br/>
+
'''Step 1:''' Create an empty file: <br/>
−
dd if=/dev/zero of=<filename> count=<number of MB> bs=1M
+
dd if=/dev/zero of=<filename> count=<number of MB> bs=1M
−
'''Step 2:''' Format it in ext2/3<br/>
+
'''Step 2:''' Format it in ext2/3<br/>
−
mkfs.ext2 <filename>
+
mkfs.ext2 <filename>
−
'''Step 3:''' Mount the file and copy the filesystem<br/>
+
'''Step 3:''' Mount the file and copy the filesystem<br/>
−
mount -o loop,rw <filename> <path_to_mount><br/>
+
mount -o loop,rw <filename> <path_to_mount><br/>
−
cp -r <path_to_filesystem>/* <path_to_mount><br/>
+
cp -r <path_to_filesystem>/* <path_to_mount><br/>
−
'''Step 4:''' Umount it, and detach it from /dev/loop<br/>
+
'''Step 4:''' Umount it, and detach it from /dev/loop<br/>
−
umount <path_to_mount><br/>
+
umount <path_to_mount><br/>
−
losetup -d /dev/loop0 (ususally /dev/loop0, might be loop1,2...etc)<br/>
+
losetup -d /dev/loop0 (ususally /dev/loop0, might be loop1,2...etc)<br/>
−
'''Step 5:''' Copy it to the root of the first partition of the SDCard/USB <br/>
+
'''Step 5:''' Copy it to the root of the first partition of the SDCard/USB <br/>
== Known Problems ==
== Known Problems ==