How-TO:Mount root.cramfs.secure

From Gen4Wiki
Jump to: navigation, search

Once the hidden partition is revealed, you will notice the 4 files located in this hidden partition.

dc.dat
optfs.cramfs.secure
rootfs.cramfs.secure
sst.dat

Again, Linux is required for this:

The two cramfs files can be mount just like anyother filestsyem in Linux, but this file has an OFFSET which needs to be specified.

mount -t cramfs -o loop,offset=256 ./root.cramfs.secure [Destination]


mount -t cramfs -o loop, ./optfs/cramfs.secure [Destination/opt]


There is something I still do not understand about the optfs.cramfs.secure. Looking at it with a hex editor, the cramfs starts at an offset of 512. But, when it is mounted with this offset the only thing that is displayed is a softlink, which links to itself; an infinite loop. Howerver, when the optfs.cramfs.secure is mounted without specifying an offset, it works.
P.S. I cheated by looking in the fstab and notice there where no special options.

Google ads
Personal tools