kpartx: mount partitions from raw disk images |
Wednesday, 12 June 2013 | ||||
the kpartx tool allows mounting partitions from disk images (created with dd, for example ) Installing on Debian/Ubuntu sudo apt-get install kpartx You must be root to run this tool 1) Creating loop devices for a disk image : kpartx -a /path/to/disk.img
2) Listing available loop devices : kpartx -l /path/to/disk.img > loop0p1 : 0 15826881 /dev/loop0 63 Mounting a device (you must create and list first, see #1 and #2): mount /dev/mapper/loop0p1 /mnt/media/part1 -o loop,ro
Credits: http://robert.penz.name/73/kpartx-a-tool-for-mounting-partitions-within-an-image-file/
Write Comment |
||||
Last Updated ( Wednesday, 12 June 2013 ) |
Joomla stuff
Newsletter
Auto tags
kpartx
kpartx file for mounting partitions
kpartx refreshing