In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
46 bytes added ,  13:40, 13 January 2009
no edit summary
Line 68: Line 68:       −
'''Step 1:''' Create an empty file:
+
'''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
+
'''Step 2:''' Format it in ext2/3<br/>
 
mkfs.ext2 <filename>
 
mkfs.ext2 <filename>
   −
'''Step 3:''' Mount the file and copy the filesystem
+
'''Step 3:''' Mount the file and copy the filesystem<br/>
mount -o loop,rw <filename> <path_to_mount>
+
mount -o loop,rw <filename> <path_to_mount><br/>
cp -r <path_to_filesystem>/* <path_to_mount>
+
cp -r <path_to_filesystem>/* <path_to_mount><br/>
   −
'''Step 4:''' Umount it, and detach it from /dev/loop
+
'''Step 4:''' Umount it, and detach it from /dev/loop<br/>
umount <path_to_mount>
+
umount <path_to_mount><br/>
losetup -d /dev/loop0 (ususally /dev/loop0, might be loop1,2...etc)
+
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  
+
'''Step 5:''' Copy it to the root of the first partition of the SDCard/USB <br/>
    
==Known Problems==
 
==Known Problems==
26

edits

Navigation menu