9

I have a backup .img file of an old Raspbian installation that I used to have running as a webserver. I'm unable to get the Raspberry Pi to boot from it any more, I think due to running out of space on the card but I could be wrong on that.

This backup has an old Wordpress website on it which I'd like to recover. So I'm wondering is there any way to access the contents, either from Windows? There is a similar question which covers this on a Linux system, but is it possible from Windows?

4

Download Ext for Windows and then mount img file and you will see the contents of mounted image.

| improve this answer | |
7

Alternatively, use DiskInternals' Freeware Linux Reader for Windows (as I was unable to figure out how to mount .img files with Paragon's ExtFS for Windows).

| improve this answer | |
  • This tool works like a charm, and is really easy to use - helped me extract the configuration from Raspbian .img file.+1 – Artanis Jul 5 '18 at 8:04
5

It also turns out that 7zip can extract a .img file just like any other archive file:

7z x raspian.img
| improve this answer | |
  • There I am getting the img file from a zip file using 7-Zip. All I need to do was double click it two more times. First revealed another img file along with a 0.fat file. Click on the second, inner, img and boom. Thanks! OK, copying those OS files on a windows machine and I get strange 7-Zip errors that I'll look into another day. For now, I just want to see a few things in the pile-o-file. – John Dyer Jan 31 at 16:32
1

If you have your backup SD card, or can burn your image to any SD card, you can also use open source tool ext2fsd to access it.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.