Mounting overlayfs on another router

Long story short, a box died and I've trying to figure out how to access the overlayfs on another system as the router used a flash drive for storage.

fdisk (and kernel) lists two partitions
/dev/sda1 - 16M (boot) Type: W95 FAT32
/dev/sda2 - 64M Type: Linux

mounting /dev/sda2 shows up as a 9.3M squashfs mount (lets say in /mnt/router
While it might very well be that the fs is hosed in some way I can't find any relevant information on how to mount overlayfs manually or whatever take seems to take up the rest of the space fdisk claims to allocated.

Best regards,
Daniel

Check this:

lsblk -o +FSTYPE

Hmm... Not in by default, guess I'll have to recompile the firmware. Thanks for pointer :slight_smile:

2 Likes

If anyone needs to do the same, binwalk -e <imagefile> will extract all files :slight_smile:

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