Differences
This shows you the differences between two versions of the page.
mount_a_single_partition_from_a_dd_disk_image [26.01.2017 11:10] – created Pascal Suter | mount_a_single_partition_from_a_dd_disk_image [26.04.2017 10:03] (current) – Pascal Suter | ||
---|---|---|---|
Line 21: | Line 21: | ||
ioctl: LOOP_CLR_FD: | ioctl: LOOP_CLR_FD: | ||
simply unmount that now defunct partition and the mapping will disappear | simply unmount that now defunct partition and the mapping will disappear | ||
+ | |||
+ | You can also remove the mapping by loop device: | ||
+ | kpartx -d /dev/loop1 | ||
+ | |||
+ | in case you have lost track of which image was mounted to which loop device, you can use '' | ||
+ | losetup -a | ||
+ | or on newer versions of losetup: | ||
+ | losetup --list | ||
+ | | ||