FG
💻 Software

How to mount a multi-partition disk image in Linux?

Fresh5 days ago
Mar 15, 202659676 views
Confidence Score1%
1%

Problem

I downloaded an raw SD card image that has two partitions. It caused some file system errors when I tried to dd it directly into an SD card. I am not sure if the card is defective or the image. Is there a way to examine this image without writing it to a physical card? Like trying to mount the partitions separately or checking the tables?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to mount a multi-partition disk image in Linux?

Low Risk

You can use kpartx or partx to create loop devices for the partitions on the image, and then mount them. So either: or: See also How can I mount a disk image?

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment