MyTetra Share
Делитесь знаниями!
https://ru.gaming-goods.com/
How can I mount a partition from dd-created image of a block device (e.g. HDD) under Linux?
Время создания: 22.02.2017 18:58
Раздел: root - Linux - Console
Запись: Yurons/mytetra/master/base/1487779124qngjstqzxj/text.html на raw.github.com

How can I mount a partition from dd-created image of a block device (e.g. HDD) under Linux?


Nowadays, there is a better way, no need to use offsets or kpartx anymore:

losetup --partscan --find --show disk.img


mount /dev/loop0p1 /mnt


to free up loop0, use after umount:

losetup -d /dev/loop0



 
MyTetra Share v.0.65
Яндекс индекс цитирования