11

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?

Jamie Bull
  • 1,107
  • 3
  • 9
  • 22

4 Answers4

9

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

7z x raspian.img
Matthias Braun
  • 221
  • 2
  • 7
Mike Young
  • 199
  • 1
  • 2
  • 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 '20 at 16:32
8

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).

sschuberth
  • 191
  • 1
  • 7
  • This tool works like a charm, and is really easy to use - helped me extract the configuration from Raspbian .img file.+1 – Artanis Jul 05 '18 at 08:04
4

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

KernelPanic
  • 438
  • 1
  • 11
  • 23
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.