Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I created a disk image and it worked fine but now when I try to restore it as a test, it doesn't find the disk image. I've been working on this for a while now but I haven't gotten anywhere. I created the image through ssh and I'm trying to restore it through ssh as well. I called the image sandy so the image is in /home/partimag/sandy. When the client boots up, I selected the regular /home/partimag folder and got the error saying:
Quote:
No disk image is found in /home/partimag.. Make sure you already saved an image! Program terminated!!!!
I then booted up clonezilla again and selected the folder /home/partimag/sandy and it once again showed me this error. I then went into the terminal within the client cd and went to where it mounted the image and it mounted it fine. I don't know what else to do.
Heres the files within the folder
hda1.ntfs-img.aa
hda1.ntfs-img.ab
hda-chs.sf
hda-pt.parted
Info-dmi.txt
Info-packages.txt
hda-mbr
hda-pt.sf
Info-lshw.txt
parts
I created a disk image and it worked fine but now when I try to restore it as a test, it doesn't find the disk image. I've been working on this for a while now but I haven't gotten anywhere. I created the image through ssh and I'm trying to restore it through ssh as well. I called the image sandy so the image is in /home/partimag/sandy. When the client boots up, I selected the regular /home/partimag folder and got the error saying:
I then booted up clonezilla again and selected the folder /home/partimag/sandy and it once again showed me this error. I then went into the terminal within the client cd and went to where it mounted the image and it mounted it fine. I don't know what else to do.
Heres the files within the folder
hda1.ntfs-img.aa
hda1.ntfs-img.ab
hda-chs.sf
hda-pt.parted
Info-dmi.txt
Info-packages.txt
hda-mbr
hda-pt.sf
Info-lshw.txt
parts
I have the exact same issue. My steps were:
1) I took Hard Drive #1 (HD1) and used Clonezilla to backup to the SSH server on my network at 192.168.222.4. That works and I can see the files generated there.
2) I took Hard Drive #2 (HD2) that is identical to HD1 in sector/size/etc and swapped out HD1 for HD2 in the machine.
3) Rebooted into CloneZilla and tried to restore from the 222.4 SSH server.
4) Get that dreaded error about not being able to mount '/home/partimag' even though I gave it a COMPLETELY different path on the SSH server (i also tried the /home/partimag path to no avail.
i've got the same problem. I made the image via a ssh-connection to my fileserver, but i can't get it back. Not via ssh or a samba-share. The next try was to open a root console (Run "sudo su -" to become root) do the mount manualy
sshfs -o nonempty -p 22 root@10.3.7.5:/home/admin/images/notbook1/2009-03-30-15-img /home/partimag
Then i made the directory and all files within world readable.
Back in CloneZilla i choosed "skip Use existing /home/partimag (Writable fuse dev Ex SSHFS), but it didn't worked at all 8-(
i solved my problem!
The mount i made was one directory to much! Correct (for me) is:
sshfs -o nonempty -p 22 root@10.3.7.5:/home/admin/images/notbook1 /home/partimag
I think this would work too if i used the standard Clonezilla (GUI) way to mount it, but i didn't tried.
I have the same problem, but I didn't make the image from ssh.
I made the clone to external usb hard drive.
Then I copied the entire files to a virtual disk that I attach to my virtual machine as second hard drive.
The second drive mount correctly and the files are all at /home/partimag/
But CloneZilla didn't see it :"No disk or partitions image directory is found in /home/partimag! Programme terminé!!!!"
seppl0815's right: the script is asking you for the PARENT directory of where the backup files are. The next screen will ask you which subdirectory (backup image) to use.
Need /home/partimag to reside on separate hard drive
Not too big a deal, everything is working and quite quickly at that. I just cannot get the images to work from the second drive. This would be really awesome so I could show up Ghost even more. I did the mount correctly
sudo mount /dev/sdb1 /home/partimag
and sure enough my images show up in that directory.
When the client PXE boots it errors out saying;
make sure /home/partimag is a directory and when i use command prompt on the client to browse to /home/partimag there is nothing there. in df it does not show anything but the sda1. nothing in /dev either. I have been really searching the forums and web as best as I can but to no avail. I tried hard link but that won't work between two drives. I tried symbolic and GUI links that won't work either.
How do I get my /home/partimag to work from a second drive. I have been told this is the fastest way to set drbl up.
I am happy to provide additional info on my setup.
Hey, guys - I have the same problem but in a different context. I'm trying to "restore" a Clonezilla image of an old laptop HD into a Virtual Machine in Oracle VirtualBox. In a situation like that where IS "/home /partimag" anyway?
Also, should the folder containing the Clonezilla image of my old laptop HD have the folder name "partimag"? If yes, then inside would there be another folder with the name I designated when I made the image, "2011-03-12-01-imgToshiba", or is that one folder too many?
Thanks!
---------- Post added 03-13-11 at 05:06 PM ----------
EDDY1 - I put the original Clonezilla image onto a USB external drive, at the root. So on that drive it appears as E:\2011-03-12-13-imgToshSaturday. (That's a folder in which the Clonezilla files appear.) Why do all the instruction in Clonezilla ask for home/partimag ??
Anyway, I've had NO luck getting Oracle VirtualBox to "restore" this image into a Virtual Machine / Virtual Hard Drive.
I was confused by that question also, but it didn't name the directory. It guess it assumes you know where you put it. And when I used it I didn't know that partimage was part of CZ.
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78
Rep:
I just wanted to say that this topic helped me out with restoring my image.
I had created a full disk backup on one of my computers, to another computer on the same network over SAMBA. To restore the image back, I instead shared the folder that Clonezilla made, rather than the folder containing that folder.
I.E. On the computer holding the image, I made a directory named OldServerBackup, which I mounted before backing up the image, and then Clonezilla created a directory within that one to hold the related backup files. Later, I shared the folder that clonezilla created, which confused the clonezilla client, and caused it to not detect the image.
My point is, you need to share the folder in a similar fashion to how I shared my folder, named "OldServerBackup". Everything should work fine if you follow that procedure.
On another computer, I named the folder storing my image, "RHEL backup" (with a space). Clonezilla would not find the image. Then, I renamed it, "RHEL_backup" (no spaces), and Clonezilla magically found it.
Clonezilla doesn't like spaces in your directory names.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.