Mount CloneZilla image: Difference between revisions
From WickyWiki
No edit summary |
|||
| Line 33: | Line 33: | ||
== Linux ext4 partition == | == Linux ext4 partition == | ||
3. you will need | 3. you will need partclone, install | ||
Go to: | |||
* http://sourceforge.net/projects/partclone/ | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
sudo | sudo dpkg -i partclone-dbg_0.2.42_i386.deb | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 42: | Line 46: | ||
Note: the image will be sized to the original partition-size, unused space included. This can also take quite some time. | Note: the image will be sized to the original partition-size, unused space included. This can also take quite some time. | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
sudo cat *.ext4-ptcl-img.* | gzip -d -c | | sudo cat *.ext4-ptcl-img.* | gzip -d -c | partclone.restore -C -s - -O ext4.img - | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 16:05, 1 January 2012
2009 mounting, system, Command-line
1. locate image and go there, you will find files like: "sda1.ntfs-img.aa" and "sda1.ntfs-img.ab" ...
2. find what compression has been used, gzip, bzip or lzop?
file *.ntfs-img.aa
Windows NTFS partition
3. you will need ntfsclone, install
sudo apt-get install ntfsprogs
4. lets say its gzip (as it probably is), then we need to extract the NTFS image using gzip.
Note: this will take considerable time.
Note: the image will be sized to the original partition-size, unused space included
sudo cat *.ntfs-img.* | gzip -d -c | ntfsclone --restore-image -o ntfs.img -
5. mount with:
sudo mkdir /media/ntfs-img sudo mount -o loop -t ntfs ntfs.img /media/ntfs-img
Linux ext4 partition
3. you will need partclone, install
Go to:
sudo dpkg -i partclone-dbg_0.2.42_i386.deb
4. lets say its gzip (as it probably is), then we need to extract the NTFS image using gzip.
Note: the image will be sized to the original partition-size, unused space included. This can also take quite some time.
sudo cat *.ext4-ptcl-img.* | gzip -d -c | partclone.restore -C -s - -O ext4.img -
5. mount with:
sudo mkdir /media/ext4-img sudo mount -o loop -t ext4 ext4.img /media/ext4-img