Modifying contents of a RAMDISK
From Texas Instruments Embedded Processors Wiki
Translate this page to
Starting with example ramdisk.gz
1. Unzip the ramdisk
[root@localhost user]# gunzip ramdisk.gz
2. Mount the image using the loop file system
[root@localhost user]# mount -o loop ramdisk /mnt
3. Copy any files you want to add where ever you want them on /mnt
4. Unmount the disk
[root@localhost user]# umount /mnt
5. Zip up the directories with gzip
[root@localhost user]# gzip ramdiskLeave a Comment
