jlelse's Blog

Thoughts, stories and ideas

Mount NTFS partition images on Linux

in 👨‍💻 Dev
Share  Subscribe 

Today I started sorting out a couple of old computers from the flat. To save the data from those, I took the hard drives, connected them via adapters to my PC and cloned each partition to a huge external hard drive. Now I have a bunch of NTFS partition image files. One also with Windows 2000. 😅

This post is more of a note to myself, to remember how to mount them on Linux (TIL). It’s actually very easy, but my first attempt to open it with the GUI entry “Mount partition image” didn’t work. So I had to do it manually.

sudo mount -o loop,ro /path/to/imgfile.img /mnt/path

That should also work with other partition formats (like FAT32), because the type gets guessed. If that’s not possible, there’s also the option -t ntfs to specify the partition type.


Jan-Lukas Else
You can also create an anonymous comment.