Hi....
I previously backed-up partitions using Clonezilla 3.2.0-5 with zst compression. Those partitions are local and backed-up to a different local partition in same disk. I have an external USB HDD, too, it's about 2TB free space.
The question:
I want a file, only a single file , it's a configuration file. How do i get that file?
I was trying to use this command so later I can mount this image to /mnt or somewhere else, but had no luck:
Ah yes,
Also, I was reading here and here, but did not mentioned using zst compression.
FYI, I got command above from Clonezilla itself while using no-GUI restoring procedure.
[SOLVED]
Finally, I figured it out to use VirtualBox to get that configuration file. (This link on methode 1)
Here are how I did it:
1. Create virtual disk with Clonezilla Live iso.
2. Create virtual hardisk and add to storage.
3. Prepare Samba server from your host OS, and point to your image directory.
4. Boot Clonezilla Live. Use samba_server.
5. Restore
6. Mount the virtual hardisk to /mnt or somewhere else.
7. Grab your file.
[UPDATE]
Yes, I finally can extract that zst compression image and then mount to /mnt by following this link on methode 3.
Last edit: Ricardo Gunawan 2025-04-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"I was trying to use this command so later I can mount this image to /mnt or somewhere else, but had no luck:" -> What were the error messages there?
Another method is you can try to restore the image to a virtual machine (e.g., Virtualbox or VMWare). Then mount the virtual disk/partition to read that.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi....
I previously backed-up partitions using Clonezilla 3.2.0-5 with zst compression. Those partitions are local and backed-up to a different local partition in same disk. I have an external USB HDD, too, it's about 2TB free space.
The question:
I want a file, only a single file , it's a configuration file. How do i get that file?
I was trying to use this command so later I can mount this image to /mnt or somewhere else, but had no luck:
How do I fix it?
Thanks.
Ah yes,
Also, I was reading here and here, but did not mentioned using zst compression.
FYI, I got command above from Clonezilla itself while using no-GUI restoring procedure.
[SOLVED]
Finally, I figured it out to use VirtualBox to get that configuration file. (This link on methode 1)
Here are how I did it:
1. Create virtual disk with Clonezilla Live iso.
2. Create virtual hardisk and add to storage.
3. Prepare Samba server from your host OS, and point to your image directory.
4. Boot Clonezilla Live. Use samba_server.
5. Restore
6. Mount the virtual hardisk to /mnt or somewhere else.
7. Grab your file.
[UPDATE]
Yes, I finally can extract that zst compression image and then mount to /mnt by following this link on methode 3.
Last edit: Ricardo Gunawan 2025-04-07
"I was trying to use this command so later I can mount this image to /mnt or somewhere else, but had no luck:" -> What were the error messages there?
Another method is you can try to restore the image to a virtual machine (e.g., Virtualbox or VMWare). Then mount the virtual disk/partition to read that.
Steven
Hi @steven_shiau, thanks for your reply.
Sorry for late reply.
Here is the command I've typed:
It said succesfully cloned, but can not mount to /mnt.
You mentioned using VM, I was trying add that .img using VirtualBox and no luck either, with error message here:
I give an information from lsblk also:
Last edit: Ricardo Gunawan 2025-04-03
Hi again @steven_shiau....
The problem is solved.
I finally figured out how to get that configuration file using VirtualBox.
Thanks.