[wellylug] modifying a boot img

Jethro Carr dodocaptain at paradise.net.nz
Wed Jun 16 16:04:40 NZST 2004


On Wed, 2004-06-16 at 15:58, E.Chalaron wrote:
> Hi There
> I need to modify (or extract files) from an img to add a file to it. 
> 
> How can I do that ? 
> Thanks

okay, you have to mount it using loops as it's a file.


I think it goes:
mount -o loop boot.img boot-image

Modify the files in boot-image. When you have finished, simply unmount
the folder.


Of course, if you have compression, like cloop, it gets much harder.


good luck,



-- 
-- Jethro

dodocaptain at paradise.net.nz

http://homepages.paradise.net.nz/jethroc
http://homepages.paradise.net.nz/jethroc/cv.html

http://www.wellylug.org.nz




More information about the wellylug mailing list