LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 01-12-2009, 01:22 PM   #1
cmplet-noobie
LQ Newbie
 
Registered: Jan 2006
Posts: 23

Rep: Reputation: 15
Clonezilla can't find disk image


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
 
Old 01-14-2009, 03:00 AM   #2
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
I'd try to create the image again and see if it works a second time round... or just do the same using dd which does a fab job of cloning a disk.
 
Old 01-30-2009, 12:12 PM   #3
pdjplano
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by cmplet-noobie View Post
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.
 
Old 04-02-2009, 02:40 AM   #4
seppl0815
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Hi,

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-(
 
Old 04-02-2009, 02:59 AM   #5
seppl0815
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Hi,

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.

Hope this helps

seppl0815
 
Old 10-22-2009, 10:47 AM   #6
shamantao
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Unhappy [urgent]

Hi,

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é!!!!"

What can I do to restore my image ?

regards
 
Old 12-29-2009, 04:24 PM   #7
cschanzle
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
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.
 
Old 09-17-2010, 02:56 PM   #8
Wax Maniacal
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Unhappy 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.
 
Old 03-13-2011, 04:06 PM   #9
glnz
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
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 ----------

By the way, I have covered exactly this problem in EXHAUSTIVE detail at
http://forums.virtualbox.org/viewtopic.php?f=2&t=39757

Thanks!
 
Old 03-13-2011, 10:25 PM   #10
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,084

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
@qlnz When you made image it asked where to store, you have to remember which partition you saved to.
Most likely your /home.
 
Old 03-13-2011, 10:32 PM   #11
glnz
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
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.

By the way, I have covered exactly this problem in EXHAUSTIVE detail at
http://forums.virtualbox.org/viewtopic.php?f=2&t=39757

Thanks!
 
Old 03-14-2011, 02:40 AM   #12
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,084

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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.
 
Old 05-01-2011, 11:55 AM   #13
tgp1994
Member
 
Registered: Nov 2009
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78

Rep: Reputation: 17
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.
 
Old 05-01-2011, 01:55 PM   #14
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,084

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
I do it so often I created a seperate partition so I tha I wouldn't have to do a lot of searching for images. Also started naming them.
 
Old 05-09-2011, 10:15 AM   #15
Flabdomen
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
I solved my issue.

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing a image to a 2nd CD using Clonezilla burney8 Linux - General 2 12-17-2008 10:06 PM
Clonezilla cannot find image to restore from elebrity Linux - Software 0 11-20-2008 01:04 PM
clonezilla clone disk to image, when restore from image to destination hdd problem. hocheetiong Linux - Newbie 3 05-06-2008 07:59 PM
Clonezilla: saving image fails teeray Linux - Software 1 08-22-2007 07:42 AM
Using Clonezilla linux partition image to windows ssh server killerforce Linux - Hardware 1 06-01-2007 09:17 AM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration