Reversing the effects of mkimage to get an original gzipped file back
Posted
by Alex Marshall
on Stack Overflow
See other posts from Stack Overflow
or by Alex Marshall
Published on 2010-04-17T15:55:03Z
Indexed on
2010/04/17
16:03 UTC
Read the original article
Hit count: 261
Hello,
We develop for a specific embedded device at our company, and part of that is making initial root disks that get loaded onto the devices over ethernet via netboot. We've experienced some problems, and as a result, the original folder with the contents of the initial root disks was lost along with its backups, but we do still have the initrd images, that have been created by gzipping the contents of a ramdisk that's been mounted as a local loop device, and then running mkimage on the gzipped file. Is there any way to undo the effects of mkimage and obtain the original gzipped content so that we can recover the original images ?
© Stack Overflow or respective owner