Inspecting an image (firmware) without installing

Is there a way to inspect an image (i.e. firmware, either factory or sysupgrade) without having to install it to a router?

The image may be one you have downloaded or created using an image builder.

Inspecting would include:

  • seeing which packages and config files are in the image
  • opening and reading a config file
  • extracting the config files out of the bin file.
1 Like
gunzip openwrt-*.img.gz
sudo partx -a openwrt-*.img
ls /dev/loop*
sudo mount /dev/loop0p2 /mnt
cat /mnt/usr/lib/opkg/status
ls /mnt/etc/{board.d,uci-defaults,config}

Thank you. I'll try. Is there also any GUI method?

1 Like

One of them best tools for inspecting any binary image in general would be binwalk.


Looks great. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.