I am using the latest version of Clonezilla to back up an entire disk hda to a samba server.
This appeared to backup OK. I then used the gparted LiveCD to delete all the partions on hda.
On rebooting I got GRUB error 22 because there is no more /boot/grub folder (I expected some error).
So no problem so far. . .
Now I put in the Clonezilla LiveCD and rebooted.
But when I tried to restore the image after mounting the samba server public folder to /home/partimag, selected "restoredisk", "-g auto", "-c" I selected the image from the menu, answered "Y" twice, then almost instantly I got a message:
The grub root directory is NOT found. Maybe it does not exit (so boot manager exists) or the file system is not supported in the kernel. Skip grub install.
***************.
***************
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
Now syncing filesystem buffers...
Now you can choose to:
(0) Poweroff
(1) Reboot
(2) Enter Command line prompt
[0]
But nothing was restored.
Then I tried to restore again by running "ocr-sr -x" only this time told clonezilla not to restore the MBR: selected "restoredisk", "-c", then instantly got the menu to shutdown, reboot, or exit to the command line. Again Nothing was restored. The only difference is that the error message "The grub root directory is NOT found" did not appear this time.
What am I doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We need more info to know why, so please:
1. After you mount samba server public folder to /home/partimag, run
a. df > debug.log
b. ls -alF /home/partimag >> debug.log
c. ls -alF /home/partimag/$IMAGENAME >> debug.log
$IMAGENAME with yours)
Then post debug.log here.
2. You may also run
bash -x /opt/drbl/sbin/ocs-sr -x
then use shift-pageup to see where went wrong. If you are familiar with command "screen", you can enter screen before you run "bash -x /opt/drbl/sbin/ocs-sr -x", then copy & paste the whole process and post here.
Thanks for reporting this bug, and we will do our best to fix that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks everything is OK. How about the content of sda-pt.sf or hda-pt.sf ?
If you can not see the content as text file (Use "less *pt.sf"), I think that's the problem with smbfs.
I just found that it's better to use cifs instead of smbfs. i.e. for example:
mount -t cifs -o username=your_user_name //192.168.200.254/work/smb /home/partimag
Please try it, and post the results.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried mounting with cifs and restoring the image. This failed again. I deleted this image and redid the image when i was mounted as cifs. Once image created i did a restore and this worked. Mined you mounting as cifs has also cut my time in half for creating an image from 35mins for a 10gig image to 18 mins for the same image file.
Once image had been restored i did receive the below message:
The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install.
Which i presume is nothing to worry about as it was a windows system i was creating an image of.
Thanks for help Steve and this program is exactly what i have been looking for to do what i want for the last yr or so.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nice to know it's working there.
Oh, yes, I should mention that you have to create the image again. The problem is when you use smbfs, the created *-pt.sf will be wrong.
BTW, if you care about "The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install", do not check "-g auto" when you run "ocs-sr -x" in restore mode. Therefore it won't run grub-install again when restoration is done.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Steve for your help. the mount -t cifs trick worked when I backed up and restored 2 PCs one grub dual boot Puppy and DreamLinux, and the other grub dual boot Puppy and MS Win98se. I tried also tried it on a partition with PCBSD but it did not work because apparently this uses UFS (I'm a total BSD newbie).
I'm glad that you monitor the forum because it was kind of quiet before I sent out my SOS. See all the trouble I caused! I'm just glad that I DID ask for help instead of giving up on Clonezilla. I chose Clonezilla specifically because it does not require an FTP server (as other disk imaging software does), and would backup to another HDD, USB HDD, or Samba server.
One last thing, the document "Clonezilla Live - Single machine clone system without installation" needs to be updated at Section 5 "How to use Clonezilla live?", "Scenario 1", "If you want to mount your samba server 192.168.200.254 with directory /work/smb, run it like this:
mount -t cifs -o username=your_user_name //192.168.200.254/work/smb /home/partimag.
Thanks for the help,
bob chin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This forum is quiet is because "clonezilla live" is very new. It's just released about 2 weeks ago. On the other hand, pxe-boot clonezilla exists for more than 3 years. For pxe-boot clonezilla, people often discuss that in the forum in drbl.sf.net . Basically clonezilla live and pxe-boot clonezilla are used for different purposes.
Yes, I have been trying to update the doc in clonezilla.sf.net, but the problem is, shell services in sourceforge is not available for more than 1 week. Check this: http://sourceforge.net/docs/A04
...
Project Shell Service: Offline - Unplanned Downtime In-Progress Last updated: 2007-02-12 Pacific
...
Therefore we can not login to update the website.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you want to clone BSD, maybe you can try this testing release: http://opensource.nchc.org.tw/clonezilla-live/clonezilla-cd/testing/clonezilla-live-20070226.iso
It's tested to clone FreeBSD 6.2, and it works here.
We always want to add dd function in clonezilla, since you asked about that, we added this. Thanks for reminding us.
However, dd is not an efficient way to clone the filesystem. It takes time when the partition is large, not matter the block is used or not, dd will save and restore all of them. Clonezilla will try to use ntfsclone and partimage first, if the filesystem is not supported by ntfsclone or partimage, it will use dd to do that.
Please have a try, and tell us the results.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having the same problem as others here with Clonezilla. I having only one machine and
am trying to clone to an empty drive on the same machine. I can do the backup, but not the
restore. I get this message: The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install.
Do you have a answer for this problem. I am using Ubuntu 6.06.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install." is not an error message. It's just a warning about no grub setting is found in your restored OS.
Did you restore GNU/Linux or M$ Windows ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I restored Ubuntu Linux, that is the only system on the drive. My system works normally, I have no problems with it booting.
Could it be that Clonezilla doesn't work with Ubuntu 6.06?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using the latest version of Clonezilla to back up an entire disk hda to a samba server.
This appeared to backup OK. I then used the gparted LiveCD to delete all the partions on hda.
On rebooting I got GRUB error 22 because there is no more /boot/grub folder (I expected some error).
So no problem so far. . .
Now I put in the Clonezilla LiveCD and rebooted.
But when I tried to restore the image after mounting the samba server public folder to /home/partimag, selected "restoredisk", "-g auto", "-c" I selected the image from the menu, answered "Y" twice, then almost instantly I got a message:
The grub root directory is NOT found. Maybe it does not exit (so boot manager exists) or the file system is not supported in the kernel. Skip grub install.
***************.
***************
This program is not started by Clonezilla server, so skip notifying it the job is done.
Finished!
Now syncing filesystem buffers...
Now you can choose to:
(0) Poweroff
(1) Reboot
(2) Enter Command line prompt
[0]
But nothing was restored.
Then I tried to restore again by running "ocr-sr -x" only this time told clonezilla not to restore the MBR: selected "restoredisk", "-c", then instantly got the menu to shutdown, reboot, or exit to the command line. Again Nothing was restored. The only difference is that the error message "The grub root directory is NOT found" did not appear this time.
What am I doing wrong?
I have got the same error message.
I mounted a samba share and backed up the image of the entire hard drive. This appears to have worked fine.
On rebooting with the cd again to restore the image i get the same error messgae as above.
I am using the latest clonezilla as download only an hour ago.
Seems to be a great little program, just need it to be able to restore the image :-)
Hi,
We need more info to know why, so please:
1. After you mount samba server public folder to /home/partimag, run
a. df > debug.log
b. ls -alF /home/partimag >> debug.log
c. ls -alF /home/partimag/$IMAGENAME >> debug.log
$IMAGENAME with yours)
Then post debug.log here.
2. You may also run
bash -x /opt/drbl/sbin/ocs-sr -x
then use shift-pageup to see where went wrong. If you are familiar with command "screen", you can enter screen before you run "bash -x /opt/drbl/sbin/ocs-sr -x", then copy & paste the whole process and post here.
Thanks for reporting this bug, and we will do our best to fix that.
Hi this is my log file that is created:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 453396 0 453396 0% /lib/init/rw
udev 10240 48 10192 1% /dev
tmpfs 453396 4 453392 1% /dev/shm
rootfs 513876 77288 436588 16% /
/dev/scd0 75172 75172 0 100% /live_media
tmpfs 453396 16808 436588 4% /cow
tmpfs 453396 0 453396 0% /tmp
//blacknoble2/images 58540032 47660032 10880000 82% /home/partimag
total 28
drwxr-xr-x 1 root root 4096 Feb 20 15:34 ./
drwxr-xr-x 4 root root 80 Feb 20 15:32 ../
drwxr-xr-x 1 root root 4096 Feb 20 04:37 2007-02-20-09-img/
drwxr-xr-x 1 root root 4096 Feb 19 22:13 clonezilla/
total 10408956
drwxr-xr-x 1 root root 4096 Feb 20 04:37 ./
drwxr-xr-x 1 root root 4096 Feb 20 15:34 ../
-rwxr-xr-x 1 root root 1031 Feb 20 15:38 debug.log*
-rwxr-xr-x 1 root root 4 Feb 20 10:10 disk*
-rwxr-xr-x 1 root root 10 Feb 20 10:10 parts*
-rwxr-xr-x 1 root root 36 Feb 20 09:34 sda-chs.sf*
-rwxr-xr-x 1 root root 512 Feb 20 09:34 sda-mbr*
-rwxr-xr-x 1 root root 259 Feb 20 09:34 sda-pt.sf*
-rwxr-xr-x 1 root root 4123868 Feb 20 09:34 sda1.aa*
-rwxr-xr-x 1 root root 2097152000 Feb 20 09:41 sda2.ntfs-img.aa*
-rwxr-xr-x 1 root root 2097152000 Feb 20 09:47 sda2.ntfs-img.ab*
-rwxr-xr-x 1 root root 2097152000 Feb 20 09:53 sda2.ntfs-img.ac*
-rwxr-xr-x 1 root root 2097152000 Feb 20 10:01 sda2.ntfs-img.ad*
-rwxr-xr-x 1 root root 2097152000 Feb 20 10:09 sda2.ntfs-img.ae*
-rwxr-xr-x 1 root root 168874314 Feb 20 10:10 sda2.ntfs-img.af*
Here it is:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 257976 0 257976 0% /lib/init/rw
udev 10240 40 10200 1% /dev
tmpfs 257976 4 257972 1% /dev/shm
rootfs 318456 76836 241620 25% /
/dev/hdc 75172 75172 0 100% /live_media
tmpfs 257976 16356 241620 7% /cow
tmpfs 257976 0 257976 0% /tmp
//scotty/clonezilla 199127040 133967872 65159168 68% /home/partimag
total 8
drwxr-xr-x 1 root root 4096 Feb 20 05:21 ./
drwxr-xr-x 4 root root 80 Feb 20 05:19 ../
drwxr-xr-x 1 root root 0 Feb 19 21:26 2007-02-12-img/
-rwxr-xr-x 1 root root 581 Feb 20 05:39 debug.log*
total 1051049
drwxr-xr-x 1 root root 0 Feb 19 21:26 ./
drwxr-xr-x 1 root root 4096 Feb 20 05:21 ../
-rwxr-xr-x 1 root root 4 Feb 13 03:49 disk*
-rwxr-xr-x 1 root root 36 Feb 13 03:38 hda-chs.sf*
-rwxr-xr-x 1 root root 512 Feb 13 03:38 hda-mbr*
-rwxr-xr-x 1 root root 259 Feb 13 03:38 hda-pt.sf*
-rwxr-xr-x 1 root root 1075193626 Feb 13 03:49 hda1.aa*
-rwxr-xr-x 1 root root 42 Feb 13 03:49 hda3.aa*
-rwxr-xr-x 1 root root 10 Feb 13 03:49 parts*
Looks everything is OK. How about the content of sda-pt.sf or hda-pt.sf ?
If you can not see the content as text file (Use "less *pt.sf"), I think that's the problem with smbfs.
I just found that it's better to use cifs instead of smbfs. i.e. for example:
mount -t cifs -o username=your_user_name //192.168.200.254/work/smb /home/partimag
Please try it, and post the results.
Thanks.
Hi Steve
I tried mounting with cifs and restoring the image. This failed again. I deleted this image and redid the image when i was mounted as cifs. Once image created i did a restore and this worked. Mined you mounting as cifs has also cut my time in half for creating an image from 35mins for a 10gig image to 18 mins for the same image file.
Once image had been restored i did receive the below message:
The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install.
Which i presume is nothing to worry about as it was a windows system i was creating an image of.
Thanks for help Steve and this program is exactly what i have been looking for to do what i want for the last yr or so.
Nice to know it's working there.
Oh, yes, I should mention that you have to create the image again. The problem is when you use smbfs, the created *-pt.sf will be wrong.
BTW, if you care about "The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install", do not check "-g auto" when you run "ocs-sr -x" in restore mode. Therefore it won't run grub-install again when restoration is done.
Thanks Steve for your help. the mount -t cifs trick worked when I backed up and restored 2 PCs one grub dual boot Puppy and DreamLinux, and the other grub dual boot Puppy and MS Win98se. I tried also tried it on a partition with PCBSD but it did not work because apparently this uses UFS (I'm a total BSD newbie).
I'm glad that you monitor the forum because it was kind of quiet before I sent out my SOS. See all the trouble I caused! I'm just glad that I DID ask for help instead of giving up on Clonezilla. I chose Clonezilla specifically because it does not require an FTP server (as other disk imaging software does), and would backup to another HDD, USB HDD, or Samba server.
One last thing, the document "Clonezilla Live - Single machine clone system without installation" needs to be updated at Section 5 "How to use Clonezilla live?", "Scenario 1", "If you want to mount your samba server 192.168.200.254 with directory /work/smb, run it like this:
mount -t cifs -o username=your_user_name //192.168.200.254/work/smb /home/partimag.
Thanks for the help,
bob chin
This forum is quiet is because "clonezilla live" is very new. It's just released about 2 weeks ago. On the other hand, pxe-boot clonezilla exists for more than 3 years. For pxe-boot clonezilla, people often discuss that in the forum in drbl.sf.net . Basically clonezilla live and pxe-boot clonezilla are used for different purposes.
Yes, I have been trying to update the doc in clonezilla.sf.net, but the problem is, shell services in sourceforge is not available for more than 1 week. Check this:
http://sourceforge.net/docs/A04
...
Project Shell Service: Offline - Unplanned Downtime In-Progress Last updated: 2007-02-12 Pacific
...
Therefore we can not login to update the website.
If you want to clone BSD, maybe you can try this testing release:
http://opensource.nchc.org.tw/clonezilla-live/clonezilla-cd/testing/clonezilla-live-20070226.iso
It's tested to clone FreeBSD 6.2, and it works here.
We always want to add dd function in clonezilla, since you asked about that, we added this. Thanks for reminding us.
However, dd is not an efficient way to clone the filesystem. It takes time when the partition is large, not matter the block is used or not, dd will save and restore all of them. Clonezilla will try to use ntfsclone and partimage first, if the filesystem is not supported by ntfsclone or partimage, it will use dd to do that.
Please have a try, and tell us the results.
I am having the same problem as others here with Clonezilla. I having only one machine and
am trying to clone to an empty drive on the same machine. I can do the backup, but not the
restore. I get this message: The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install.
Do you have a answer for this problem. I am using Ubuntu 6.06.
"The Grub root directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip grub-install." is not an error message. It's just a warning about no grub setting is found in your restored OS.
Did you restore GNU/Linux or M$ Windows ?
rodrip,
What's your problem and the error message when you restore it ?
Can not boot the restored Ubuntu 6.06 ? What's the error message ?
I restored Ubuntu Linux, that is the only system on the drive. My system works normally, I have no problems with it booting.
Could it be that Clonezilla doesn't work with Ubuntu 6.06?