Mount CloneZilla image: Difference between revisions
From WickyWiki
m moved Mount CloneZilla NTFS image to Mount CloneZilla image: Not only NTFS |
No edit summary |
||
| Line 1: | Line 1: | ||
2009 mounting, system, Command-line | 2009 mounting, system, Command-line | ||
Note: extracted an ext4 image but couldn't mount it. | |||
Locate image and go there, you will find files like: "sda1.ntfs-img.aa" and "sda1.ntfs-img.ab" ... | Locate image and go there, you will find files like: "sda1.ntfs-img.aa" and "sda1.ntfs-img.ab" ... | ||
Revision as of 17:55, 1 January 2012
2009 mounting, system, Command-line
Note: extracted an ext4 image but couldn't mount it.
Locate image and go there, you will find files like: "sda1.ntfs-img.aa" and "sda1.ntfs-img.ab" ...
Find what compression has been used, gzip, bzip or lzop?
file *.ntfs-img.aa
Note: the image you are about to extract will be sized to the original partition-size, unused space included. This can take quite some time and disk space.
Windows NTFS partition
You will need ntfsclone, install
sudo apt-get install ntfsprogs
Lets say the compression is gzip (as it probably is), then we need to extract the image using gzip.
sudo cat *.ntfs-img.* | gzip -d -c | ntfsclone --restore-image -o ntfs.img -
Mount with:
sudo mkdir /media/ntfs-img sudo mount -o loop -t ntfs ntfs.img /media/ntfs-img
Linux ext4 partition
You will need partclone, download the deb package from:
Install with:
sudo dpkg -i partclone_0.2.22-2_amd64.deb
Lets say compression is gzip (as it probably is), then we need to extract the image using gzip:
cat *.ext4-ptcl-img.* | gzip -d -c | sudo partclone.restore -C -s - -O ext4.img
Mount with:
sudo mkdir /media/ext4-img sudo mount -o loop -t ext4 ext4.img /media/ext4-img