extract and mount image

Post Reply
zemerdon
Site Admin
Posts: 310
Joined: Mon Jan 23, 2023 8:13 pm

extract and mount image

Post by zemerdon »

You should be able to mount your CloneZilla image to extract files from it. See instructions here.

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/

Note: For lzo images, replace gzip -d -c with lzop -d -c
Post Reply