Can an image made with Clonezilla be restored without using Clonezilla?
I created several images with Clonezilla. If I don't have Clonezilla's live CD but I have another Linux distro, Knoppix, for example, that does not have Clonezilla, is there another program to restore the images to the local drive? My understanding is that Clonezilla is an automator of gparted. I don't know.
disk-image clonezilla
add a comment |
I created several images with Clonezilla. If I don't have Clonezilla's live CD but I have another Linux distro, Knoppix, for example, that does not have Clonezilla, is there another program to restore the images to the local drive? My understanding is that Clonezilla is an automator of gparted. I don't know.
disk-image clonezilla
add a comment |
I created several images with Clonezilla. If I don't have Clonezilla's live CD but I have another Linux distro, Knoppix, for example, that does not have Clonezilla, is there another program to restore the images to the local drive? My understanding is that Clonezilla is an automator of gparted. I don't know.
disk-image clonezilla
I created several images with Clonezilla. If I don't have Clonezilla's live CD but I have another Linux distro, Knoppix, for example, that does not have Clonezilla, is there another program to restore the images to the local drive? My understanding is that Clonezilla is an automator of gparted. I don't know.
disk-image clonezilla
disk-image clonezilla
asked Jun 17 '14 at 18:34
johnnyjohnny
88392844
88392844
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Yes, but you need to use the right tool(s).
The partition backup tool
Clonezilla is actually more of a framework than a unified application, using one of several tools to create backup images. These tools are:
- partclone
- partimage
- dd
- ntfsclone
You should be using partclone
- that's the default, and usually if you installed clonezilla
you also have that one installed. (Also, it's apparently better than ntfsclone even for NTFS.) But as you create your image, pay attention to what gets invoked. If you're done, have a look at the log files /var/log/clonezilla.log
and /var/log/partclone.log
to double-check.
The compression scheme/tool
By default, images are compressed with the gzip scheme, but they could theoretically be compressed with bzip2, lzma or other schemes.
You can check what's the compression format of an image using the file
utility:
$ file /path/to/my/image_file.aa
/path/to/my/image_file.aa: gzip compressed data, last modified: Sun Oct 15h 12:34:56 2017, max speed, from Unix
The decompression tool you use usually has the same name as the compression scheme: gzip
for gzip, lzma
for lzma, bzip2
for bzip2. However, sometimes you might want to run something else. For example: pigz
is a parallelized, multi-core version of gzip which will work much faster (typically).
Examining the image filename to determine which tools to use
Clonezilla places partition backups in a subdirectory, under partimag/
, on whatever device you performed the backup to. Within that directory there are numerous files which we don't care much about right now, and the (usually largest) file - the actual compressed clone image. An example of the path of such a file:
/mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/sdb1.ext4-ptcl-img.gz.aa
So the directory used for images is /mnt/sdc1/partimag
; our specific partition was backed up into the subdirectory 2017-10-15-01-my-partition-backup
, and within that directory, the compressed image is sdb1.ext4-ptcl-img.gz.aa
. Now, this name tells us several things:
- The partition was block device
sdb1
(not so interesting) - The filesystem type was ext4.
- The backup tool was partclone (
ptcl
for short) - The compression scheme was gzip (
gz
- like the extension)
Also, there's a log of the cloning process named clonezilla-img
(yes, it's a confusing name) which you could also use to double-check things.
Important note: I'm ignoring the possibility of the image file being split into pieces of a fixed size. That case needs its own investigation w.r.t. OP's question.
Putting it all together
Suppose you want to restore the image to device /dev/sdd3
. Before doing so, make sure it is unmounted (e.g. with unmount /dev/sdd3
) or you'll mess things up badly.
You now want to decompress the image, and pipe the result to the partition backup tool in restore mode, to write to the relevant block device. For the example given above, and you would run:
cd /mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/ &&
pigz --decompress --stdout sdb1.ext4-ptcl-img.gz.aa
| partclone.ext4 --restore --output /dev/sdd3
Why this pipleine?
- The image is gzip-compressed, so we would like to invoke
gzip
- butpigz
is faster. - pigz will write its output to its standard output stream, i.e. into the pipe.
- It's a partclone image, so we invoke
partclone
. Actually, partclone has several executables, one per filesystem type, and we need the ext4 binary.
partclone
, unless instructed otherwise, reads from its standard input, i.e. the pipe.
When you're all done you can try mounting the device using mount -t ext4 /dev/sdd3 /path/to/mount/point
to check whether the restoration went well. You could also use the fsck
file-system check tool.
Can I mount sdd3?
– johnny
Jan 3 '18 at 21:13
@johnny: It must be unmounted during the restoration.
– einpoklum
Jan 3 '18 at 22:16
add a comment |
UbuntuForums offers a solution to access the contents of 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
...
runfile /home/partimag/YOURIMAGE/hda1.ntfs-img.aa
to see if 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/
This site says something similar, but with ext3
image: http://blog.christosoft.de/2012/05/mount-clonezilla-image-to-restore-single-file-browse/
However, none of these methods can be used to restore an entire operating system partition!
This is a good answer if the users wants to mount the image. I am just not sure thats what Johny wants though.
– Ramhound
Jun 17 '14 at 18:43
Does this install the image on the local machine's hard drive?
– johnny
Jun 17 '14 at 18:46
Not the line above, no. You need to tell partclone that the output is a hard disk: hdb etc. Read the partclone docs.
– Kinnectus
Jun 17 '14 at 18:55
@johnny no, it doesn't restore the image to HDD. It only allows you to access the files and folders in the image.
– Cornelius
Jun 17 '14 at 18:55
1
@johnny then you'll have to get CloneZilla.
– Cornelius
Jun 17 '14 at 19:20
|
show 2 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f770063%2fcan-an-image-made-with-clonezilla-be-restored-without-using-clonezilla%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, but you need to use the right tool(s).
The partition backup tool
Clonezilla is actually more of a framework than a unified application, using one of several tools to create backup images. These tools are:
- partclone
- partimage
- dd
- ntfsclone
You should be using partclone
- that's the default, and usually if you installed clonezilla
you also have that one installed. (Also, it's apparently better than ntfsclone even for NTFS.) But as you create your image, pay attention to what gets invoked. If you're done, have a look at the log files /var/log/clonezilla.log
and /var/log/partclone.log
to double-check.
The compression scheme/tool
By default, images are compressed with the gzip scheme, but they could theoretically be compressed with bzip2, lzma or other schemes.
You can check what's the compression format of an image using the file
utility:
$ file /path/to/my/image_file.aa
/path/to/my/image_file.aa: gzip compressed data, last modified: Sun Oct 15h 12:34:56 2017, max speed, from Unix
The decompression tool you use usually has the same name as the compression scheme: gzip
for gzip, lzma
for lzma, bzip2
for bzip2. However, sometimes you might want to run something else. For example: pigz
is a parallelized, multi-core version of gzip which will work much faster (typically).
Examining the image filename to determine which tools to use
Clonezilla places partition backups in a subdirectory, under partimag/
, on whatever device you performed the backup to. Within that directory there are numerous files which we don't care much about right now, and the (usually largest) file - the actual compressed clone image. An example of the path of such a file:
/mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/sdb1.ext4-ptcl-img.gz.aa
So the directory used for images is /mnt/sdc1/partimag
; our specific partition was backed up into the subdirectory 2017-10-15-01-my-partition-backup
, and within that directory, the compressed image is sdb1.ext4-ptcl-img.gz.aa
. Now, this name tells us several things:
- The partition was block device
sdb1
(not so interesting) - The filesystem type was ext4.
- The backup tool was partclone (
ptcl
for short) - The compression scheme was gzip (
gz
- like the extension)
Also, there's a log of the cloning process named clonezilla-img
(yes, it's a confusing name) which you could also use to double-check things.
Important note: I'm ignoring the possibility of the image file being split into pieces of a fixed size. That case needs its own investigation w.r.t. OP's question.
Putting it all together
Suppose you want to restore the image to device /dev/sdd3
. Before doing so, make sure it is unmounted (e.g. with unmount /dev/sdd3
) or you'll mess things up badly.
You now want to decompress the image, and pipe the result to the partition backup tool in restore mode, to write to the relevant block device. For the example given above, and you would run:
cd /mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/ &&
pigz --decompress --stdout sdb1.ext4-ptcl-img.gz.aa
| partclone.ext4 --restore --output /dev/sdd3
Why this pipleine?
- The image is gzip-compressed, so we would like to invoke
gzip
- butpigz
is faster. - pigz will write its output to its standard output stream, i.e. into the pipe.
- It's a partclone image, so we invoke
partclone
. Actually, partclone has several executables, one per filesystem type, and we need the ext4 binary.
partclone
, unless instructed otherwise, reads from its standard input, i.e. the pipe.
When you're all done you can try mounting the device using mount -t ext4 /dev/sdd3 /path/to/mount/point
to check whether the restoration went well. You could also use the fsck
file-system check tool.
Can I mount sdd3?
– johnny
Jan 3 '18 at 21:13
@johnny: It must be unmounted during the restoration.
– einpoklum
Jan 3 '18 at 22:16
add a comment |
Yes, but you need to use the right tool(s).
The partition backup tool
Clonezilla is actually more of a framework than a unified application, using one of several tools to create backup images. These tools are:
- partclone
- partimage
- dd
- ntfsclone
You should be using partclone
- that's the default, and usually if you installed clonezilla
you also have that one installed. (Also, it's apparently better than ntfsclone even for NTFS.) But as you create your image, pay attention to what gets invoked. If you're done, have a look at the log files /var/log/clonezilla.log
and /var/log/partclone.log
to double-check.
The compression scheme/tool
By default, images are compressed with the gzip scheme, but they could theoretically be compressed with bzip2, lzma or other schemes.
You can check what's the compression format of an image using the file
utility:
$ file /path/to/my/image_file.aa
/path/to/my/image_file.aa: gzip compressed data, last modified: Sun Oct 15h 12:34:56 2017, max speed, from Unix
The decompression tool you use usually has the same name as the compression scheme: gzip
for gzip, lzma
for lzma, bzip2
for bzip2. However, sometimes you might want to run something else. For example: pigz
is a parallelized, multi-core version of gzip which will work much faster (typically).
Examining the image filename to determine which tools to use
Clonezilla places partition backups in a subdirectory, under partimag/
, on whatever device you performed the backup to. Within that directory there are numerous files which we don't care much about right now, and the (usually largest) file - the actual compressed clone image. An example of the path of such a file:
/mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/sdb1.ext4-ptcl-img.gz.aa
So the directory used for images is /mnt/sdc1/partimag
; our specific partition was backed up into the subdirectory 2017-10-15-01-my-partition-backup
, and within that directory, the compressed image is sdb1.ext4-ptcl-img.gz.aa
. Now, this name tells us several things:
- The partition was block device
sdb1
(not so interesting) - The filesystem type was ext4.
- The backup tool was partclone (
ptcl
for short) - The compression scheme was gzip (
gz
- like the extension)
Also, there's a log of the cloning process named clonezilla-img
(yes, it's a confusing name) which you could also use to double-check things.
Important note: I'm ignoring the possibility of the image file being split into pieces of a fixed size. That case needs its own investigation w.r.t. OP's question.
Putting it all together
Suppose you want to restore the image to device /dev/sdd3
. Before doing so, make sure it is unmounted (e.g. with unmount /dev/sdd3
) or you'll mess things up badly.
You now want to decompress the image, and pipe the result to the partition backup tool in restore mode, to write to the relevant block device. For the example given above, and you would run:
cd /mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/ &&
pigz --decompress --stdout sdb1.ext4-ptcl-img.gz.aa
| partclone.ext4 --restore --output /dev/sdd3
Why this pipleine?
- The image is gzip-compressed, so we would like to invoke
gzip
- butpigz
is faster. - pigz will write its output to its standard output stream, i.e. into the pipe.
- It's a partclone image, so we invoke
partclone
. Actually, partclone has several executables, one per filesystem type, and we need the ext4 binary.
partclone
, unless instructed otherwise, reads from its standard input, i.e. the pipe.
When you're all done you can try mounting the device using mount -t ext4 /dev/sdd3 /path/to/mount/point
to check whether the restoration went well. You could also use the fsck
file-system check tool.
Can I mount sdd3?
– johnny
Jan 3 '18 at 21:13
@johnny: It must be unmounted during the restoration.
– einpoklum
Jan 3 '18 at 22:16
add a comment |
Yes, but you need to use the right tool(s).
The partition backup tool
Clonezilla is actually more of a framework than a unified application, using one of several tools to create backup images. These tools are:
- partclone
- partimage
- dd
- ntfsclone
You should be using partclone
- that's the default, and usually if you installed clonezilla
you also have that one installed. (Also, it's apparently better than ntfsclone even for NTFS.) But as you create your image, pay attention to what gets invoked. If you're done, have a look at the log files /var/log/clonezilla.log
and /var/log/partclone.log
to double-check.
The compression scheme/tool
By default, images are compressed with the gzip scheme, but they could theoretically be compressed with bzip2, lzma or other schemes.
You can check what's the compression format of an image using the file
utility:
$ file /path/to/my/image_file.aa
/path/to/my/image_file.aa: gzip compressed data, last modified: Sun Oct 15h 12:34:56 2017, max speed, from Unix
The decompression tool you use usually has the same name as the compression scheme: gzip
for gzip, lzma
for lzma, bzip2
for bzip2. However, sometimes you might want to run something else. For example: pigz
is a parallelized, multi-core version of gzip which will work much faster (typically).
Examining the image filename to determine which tools to use
Clonezilla places partition backups in a subdirectory, under partimag/
, on whatever device you performed the backup to. Within that directory there are numerous files which we don't care much about right now, and the (usually largest) file - the actual compressed clone image. An example of the path of such a file:
/mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/sdb1.ext4-ptcl-img.gz.aa
So the directory used for images is /mnt/sdc1/partimag
; our specific partition was backed up into the subdirectory 2017-10-15-01-my-partition-backup
, and within that directory, the compressed image is sdb1.ext4-ptcl-img.gz.aa
. Now, this name tells us several things:
- The partition was block device
sdb1
(not so interesting) - The filesystem type was ext4.
- The backup tool was partclone (
ptcl
for short) - The compression scheme was gzip (
gz
- like the extension)
Also, there's a log of the cloning process named clonezilla-img
(yes, it's a confusing name) which you could also use to double-check things.
Important note: I'm ignoring the possibility of the image file being split into pieces of a fixed size. That case needs its own investigation w.r.t. OP's question.
Putting it all together
Suppose you want to restore the image to device /dev/sdd3
. Before doing so, make sure it is unmounted (e.g. with unmount /dev/sdd3
) or you'll mess things up badly.
You now want to decompress the image, and pipe the result to the partition backup tool in restore mode, to write to the relevant block device. For the example given above, and you would run:
cd /mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/ &&
pigz --decompress --stdout sdb1.ext4-ptcl-img.gz.aa
| partclone.ext4 --restore --output /dev/sdd3
Why this pipleine?
- The image is gzip-compressed, so we would like to invoke
gzip
- butpigz
is faster. - pigz will write its output to its standard output stream, i.e. into the pipe.
- It's a partclone image, so we invoke
partclone
. Actually, partclone has several executables, one per filesystem type, and we need the ext4 binary.
partclone
, unless instructed otherwise, reads from its standard input, i.e. the pipe.
When you're all done you can try mounting the device using mount -t ext4 /dev/sdd3 /path/to/mount/point
to check whether the restoration went well. You could also use the fsck
file-system check tool.
Yes, but you need to use the right tool(s).
The partition backup tool
Clonezilla is actually more of a framework than a unified application, using one of several tools to create backup images. These tools are:
- partclone
- partimage
- dd
- ntfsclone
You should be using partclone
- that's the default, and usually if you installed clonezilla
you also have that one installed. (Also, it's apparently better than ntfsclone even for NTFS.) But as you create your image, pay attention to what gets invoked. If you're done, have a look at the log files /var/log/clonezilla.log
and /var/log/partclone.log
to double-check.
The compression scheme/tool
By default, images are compressed with the gzip scheme, but they could theoretically be compressed with bzip2, lzma or other schemes.
You can check what's the compression format of an image using the file
utility:
$ file /path/to/my/image_file.aa
/path/to/my/image_file.aa: gzip compressed data, last modified: Sun Oct 15h 12:34:56 2017, max speed, from Unix
The decompression tool you use usually has the same name as the compression scheme: gzip
for gzip, lzma
for lzma, bzip2
for bzip2. However, sometimes you might want to run something else. For example: pigz
is a parallelized, multi-core version of gzip which will work much faster (typically).
Examining the image filename to determine which tools to use
Clonezilla places partition backups in a subdirectory, under partimag/
, on whatever device you performed the backup to. Within that directory there are numerous files which we don't care much about right now, and the (usually largest) file - the actual compressed clone image. An example of the path of such a file:
/mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/sdb1.ext4-ptcl-img.gz.aa
So the directory used for images is /mnt/sdc1/partimag
; our specific partition was backed up into the subdirectory 2017-10-15-01-my-partition-backup
, and within that directory, the compressed image is sdb1.ext4-ptcl-img.gz.aa
. Now, this name tells us several things:
- The partition was block device
sdb1
(not so interesting) - The filesystem type was ext4.
- The backup tool was partclone (
ptcl
for short) - The compression scheme was gzip (
gz
- like the extension)
Also, there's a log of the cloning process named clonezilla-img
(yes, it's a confusing name) which you could also use to double-check things.
Important note: I'm ignoring the possibility of the image file being split into pieces of a fixed size. That case needs its own investigation w.r.t. OP's question.
Putting it all together
Suppose you want to restore the image to device /dev/sdd3
. Before doing so, make sure it is unmounted (e.g. with unmount /dev/sdd3
) or you'll mess things up badly.
You now want to decompress the image, and pipe the result to the partition backup tool in restore mode, to write to the relevant block device. For the example given above, and you would run:
cd /mnt/sdc1/partimag/2017-10-15-01-my-partition-backup/ &&
pigz --decompress --stdout sdb1.ext4-ptcl-img.gz.aa
| partclone.ext4 --restore --output /dev/sdd3
Why this pipleine?
- The image is gzip-compressed, so we would like to invoke
gzip
- butpigz
is faster. - pigz will write its output to its standard output stream, i.e. into the pipe.
- It's a partclone image, so we invoke
partclone
. Actually, partclone has several executables, one per filesystem type, and we need the ext4 binary.
partclone
, unless instructed otherwise, reads from its standard input, i.e. the pipe.
When you're all done you can try mounting the device using mount -t ext4 /dev/sdd3 /path/to/mount/point
to check whether the restoration went well. You could also use the fsck
file-system check tool.
edited Jan 12 at 8:35
answered Jan 3 '18 at 21:04
einpoklumeinpoklum
2,02672968
2,02672968
Can I mount sdd3?
– johnny
Jan 3 '18 at 21:13
@johnny: It must be unmounted during the restoration.
– einpoklum
Jan 3 '18 at 22:16
add a comment |
Can I mount sdd3?
– johnny
Jan 3 '18 at 21:13
@johnny: It must be unmounted during the restoration.
– einpoklum
Jan 3 '18 at 22:16
Can I mount sdd3?
– johnny
Jan 3 '18 at 21:13
Can I mount sdd3?
– johnny
Jan 3 '18 at 21:13
@johnny: It must be unmounted during the restoration.
– einpoklum
Jan 3 '18 at 22:16
@johnny: It must be unmounted during the restoration.
– einpoklum
Jan 3 '18 at 22:16
add a comment |
UbuntuForums offers a solution to access the contents of 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
...
runfile /home/partimag/YOURIMAGE/hda1.ntfs-img.aa
to see if 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/
This site says something similar, but with ext3
image: http://blog.christosoft.de/2012/05/mount-clonezilla-image-to-restore-single-file-browse/
However, none of these methods can be used to restore an entire operating system partition!
This is a good answer if the users wants to mount the image. I am just not sure thats what Johny wants though.
– Ramhound
Jun 17 '14 at 18:43
Does this install the image on the local machine's hard drive?
– johnny
Jun 17 '14 at 18:46
Not the line above, no. You need to tell partclone that the output is a hard disk: hdb etc. Read the partclone docs.
– Kinnectus
Jun 17 '14 at 18:55
@johnny no, it doesn't restore the image to HDD. It only allows you to access the files and folders in the image.
– Cornelius
Jun 17 '14 at 18:55
1
@johnny then you'll have to get CloneZilla.
– Cornelius
Jun 17 '14 at 19:20
|
show 2 more comments
UbuntuForums offers a solution to access the contents of 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
...
runfile /home/partimag/YOURIMAGE/hda1.ntfs-img.aa
to see if 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/
This site says something similar, but with ext3
image: http://blog.christosoft.de/2012/05/mount-clonezilla-image-to-restore-single-file-browse/
However, none of these methods can be used to restore an entire operating system partition!
This is a good answer if the users wants to mount the image. I am just not sure thats what Johny wants though.
– Ramhound
Jun 17 '14 at 18:43
Does this install the image on the local machine's hard drive?
– johnny
Jun 17 '14 at 18:46
Not the line above, no. You need to tell partclone that the output is a hard disk: hdb etc. Read the partclone docs.
– Kinnectus
Jun 17 '14 at 18:55
@johnny no, it doesn't restore the image to HDD. It only allows you to access the files and folders in the image.
– Cornelius
Jun 17 '14 at 18:55
1
@johnny then you'll have to get CloneZilla.
– Cornelius
Jun 17 '14 at 19:20
|
show 2 more comments
UbuntuForums offers a solution to access the contents of 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
...
runfile /home/partimag/YOURIMAGE/hda1.ntfs-img.aa
to see if 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/
This site says something similar, but with ext3
image: http://blog.christosoft.de/2012/05/mount-clonezilla-image-to-restore-single-file-browse/
However, none of these methods can be used to restore an entire operating system partition!
UbuntuForums offers a solution to access the contents of 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
...
runfile /home/partimag/YOURIMAGE/hda1.ntfs-img.aa
to see if 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/
This site says something similar, but with ext3
image: http://blog.christosoft.de/2012/05/mount-clonezilla-image-to-restore-single-file-browse/
However, none of these methods can be used to restore an entire operating system partition!
edited Jun 17 '14 at 19:22
answered Jun 17 '14 at 18:41
CorneliusCornelius
2,3961923
2,3961923
This is a good answer if the users wants to mount the image. I am just not sure thats what Johny wants though.
– Ramhound
Jun 17 '14 at 18:43
Does this install the image on the local machine's hard drive?
– johnny
Jun 17 '14 at 18:46
Not the line above, no. You need to tell partclone that the output is a hard disk: hdb etc. Read the partclone docs.
– Kinnectus
Jun 17 '14 at 18:55
@johnny no, it doesn't restore the image to HDD. It only allows you to access the files and folders in the image.
– Cornelius
Jun 17 '14 at 18:55
1
@johnny then you'll have to get CloneZilla.
– Cornelius
Jun 17 '14 at 19:20
|
show 2 more comments
This is a good answer if the users wants to mount the image. I am just not sure thats what Johny wants though.
– Ramhound
Jun 17 '14 at 18:43
Does this install the image on the local machine's hard drive?
– johnny
Jun 17 '14 at 18:46
Not the line above, no. You need to tell partclone that the output is a hard disk: hdb etc. Read the partclone docs.
– Kinnectus
Jun 17 '14 at 18:55
@johnny no, it doesn't restore the image to HDD. It only allows you to access the files and folders in the image.
– Cornelius
Jun 17 '14 at 18:55
1
@johnny then you'll have to get CloneZilla.
– Cornelius
Jun 17 '14 at 19:20
This is a good answer if the users wants to mount the image. I am just not sure thats what Johny wants though.
– Ramhound
Jun 17 '14 at 18:43
This is a good answer if the users wants to mount the image. I am just not sure thats what Johny wants though.
– Ramhound
Jun 17 '14 at 18:43
Does this install the image on the local machine's hard drive?
– johnny
Jun 17 '14 at 18:46
Does this install the image on the local machine's hard drive?
– johnny
Jun 17 '14 at 18:46
Not the line above, no. You need to tell partclone that the output is a hard disk: hdb etc. Read the partclone docs.
– Kinnectus
Jun 17 '14 at 18:55
Not the line above, no. You need to tell partclone that the output is a hard disk: hdb etc. Read the partclone docs.
– Kinnectus
Jun 17 '14 at 18:55
@johnny no, it doesn't restore the image to HDD. It only allows you to access the files and folders in the image.
– Cornelius
Jun 17 '14 at 18:55
@johnny no, it doesn't restore the image to HDD. It only allows you to access the files and folders in the image.
– Cornelius
Jun 17 '14 at 18:55
1
1
@johnny then you'll have to get CloneZilla.
– Cornelius
Jun 17 '14 at 19:20
@johnny then you'll have to get CloneZilla.
– Cornelius
Jun 17 '14 at 19:20
|
show 2 more comments
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f770063%2fcan-an-image-made-with-clonezilla-be-restored-without-using-clonezilla%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown