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

NMAP

It's been about 15 years since I used NMAP, I forgot how useful the tool is. To find out what services are running on an IP address simply use something like nmap -n -v -p1-10000 x.x.x.x -n tells nmap not to do name resolution (saves about 13 seconds if the IP you're scanning isn't in DNS_ -v verbose -p1-10000 says scan ports 1 to 10,000 (otherwise nmap will only scan the first 1000 ports)