User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
parted [2023/12/15 15:01] normanparted [2025/06/20 13:35] (current) – [Attach IMG file] norman
Line 36: Line 36:
 Source: [[https://askubuntu.com/questions/69363/mount-single-partition-from-image-of-entire-disk-device|External Link]] Source: [[https://askubuntu.com/questions/69363/mount-single-partition-from-image-of-entire-disk-device|External Link]]
  
 +====== Attach IMG file ======
  
 +<code>
 +losetup --find --show --partscan fred.image.dd
 +</code>
 +there should be partitions ( /dev/loopXpY )
 +Find one, You need:
 +<code>
 +cat /proc/partitions
 +ls -l /dev/loop*
 +</code>
 +
 +<code>
 +mdadm -A -R /dev/md9 /dev/loop1p4
 +</code>
 +
 +<code>
 +mount /dev/md9 /mnt/loop
 +</code>
 ====== Parted Use ====== ====== Parted Use ======