Created
January 22, 2019 04:33
-
-
Save simongcc/f14cbd7c48028d75595b1b920b864726 to your computer and use it in GitHub Desktop.
How to mount clonezilla image file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Credit to: gaebriel @ ubuntuforums.org | |
Reference: | |
https://ubuntuforums.org/showthread.php?t=872832 | |
1. Prepare a large disk in Linux | |
2. Say if your image is /home/partimag/YOURIMAGE/, and the image is /home/partimag/YOURIMAGE/hda1.ntfs-img.aa, hda1.ntfs-img.ab... | |
run | |
"file /home/partimag/YOURIMAGE/hda1.ntfs-img.aa" | |
to see it's gzip, bzip or lzop image. Say it's gzip, then you can run | |
cat /home/partimag/YOURIMAGE/hda1.ntfs-img.* | gzip -d -c | ntfsclone --restore-image -o hda1.img - | |
Then you will have a "hda1.img" which you can mount it by | |
mount -o loop -t ntfs hda1.img /mnt | |
Then all the files are in /mnt/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment