Skip to main content

Mounting a Clonezilla Image

  • Prepare a large disk in Linux

  • 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/

Comments

Popular posts from this blog

Javascript Form Validation

It's real simple. All you need to do is call a javascript function in a html  " onsubmit " in the form tag as a javascript return, like this       <form method="post" action="dosomething.php" onsubmit="return validateForm();"> If the code completes ok, the form is then sent to the page listed in "action" http://www.w3schools.com/js/js_form_validation.asp If the function specified in the onsubmit returns false, then the form is not sent to the page mentioned in action.