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

Changes

Jump to navigation Jump to search
628 bytes added ,  13:39, 13 January 2009
no edit summary
Line 63: Line 63:     
you want to reconfigure "boot it", delete that file.
 
you want to reconfigure "boot it", delete that file.
 +
 +
==Creating compatible filesystem images==
 +
This steps will show how to create a uncompressed filesystem image:
 +
 +
 +
'''Step 1:''' Create an empty file:
 +
dd if=/dev/zero of=<filename> count=<number of MB> bs=1M
 +
 +
'''Step 2:''' Format it in ext2/3
 +
mkfs.ext2 <filename>
 +
 +
'''Step 3:''' Mount the file and copy the filesystem
 +
mount -o loop,rw <filename> <path_to_mount>
 +
cp -r <path_to_filesystem>/* <path_to_mount>
 +
 +
'''Step 4:''' Umount it, and detach it from /dev/loop
 +
umount <path_to_mount>
 +
losetup -d /dev/loop0 (ususally /dev/loop0, might be loop1,2...etc)
 +
 +
'''Step 5:''' Copy it to the root of the first partition of the SDCard/USB
    
==Known Problems==
 
==Known Problems==
26

edits

Navigation menu