Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

Modifying contents of a RAMDISK

From Texas Instruments Wiki
Jump to: navigation, search


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 ramdisk