modprobe mtdram modprobe mtdblock dd if=rootfs.bin of=/tmp/mtdfile losetup /dev/loop0 /tmp/mtdfile mount -t jffs2 /dev/loop0 /mnt If unknown custom format – check for CRC , TABLE headers, or use firmware-mod-kit :
| Start | End | Likely content | |-------|-----------|----------------------| | 0x0 | 0x3FFFF | Bootloader (U-Boot) | | 0x40000| 0x4FFFFF | Kernel (zImage) | | 0x500000| end | Root filesystem | ps-22a.bin
Extract regions manually:
dd if=ps-22a.bin of=bootloader.bin bs=1k skip=0 count=256 dd if=ps-22a.bin of=kernel.bin bs=1k skip=256 count=768 dd if=ps-22a.bin of=rootfs.bin bs=1k skip=1024 If Binwalk identifies SquashFS: modprobe mtdram modprobe mtdblock dd if=rootfs
unsquashfs -d rootfs_extracted rootfs.bin If JFFS2: ps-22a.bin