This looks like a problem:

ju...@dell30:~$ sudo /opt/drbl/sbin/ocs-sr -g auto -e1 auto -c -j3 -p true -p 
true restoredisk "Atom-2009-02-12-04-img" "sdc"
...
Found grub partition: /dev/sda1... Trying to run grub-install now...
Installing GRUB to /dev/sda as (hd0)...


Here is the whole thing:


ju...@dell30:~$ sudo /opt/drbl/sbin/ocs-sr -g auto -e1 auto -c -j3 -p true -p 
true restoredisk "Atom-2009-02-12-04-img" "sdc"
Setting the TERM as xterm
clonezilla image dir: /home/partimag
*****************************************************.
*****************************************************.
clonezilla image dir: /home/partimag
*****************************************************.
*****************************************************.
Target disk sdc does not exist in the image saved from disk(s) "sda".
Creating a tmp Clonezilla image "Atom-2009-02-12-04-img-tmp-cnvted" based on 
the 
image "Atom-2009-02-12-04-img" so that we can restore the image 
Atom-2009-02-12-04-img (was saved from sda) to sdc...
///NOTE/// If the restored OS is GNU/Linux, you might have to modify /etc/fstab 
and grub config file in the restored GNU/Linux to affect these changes so that 
it can boot successfully!
Press "Enter" to continue......
Creating a temporary image based on image Atom-2009-02-12-04-img...
Setting the TERM as xterm
clonezilla image dir: /tmp
Change sda to sdc in /tmp/Atom-2009-02-12-04-img-tmp-cnvted/disk... done!
Change sda to sdc in /tmp/Atom-2009-02-12-04-img-tmp-cnvted/parts... done!
Change sda to sdc in /tmp/Atom-2009-02-12-04-img-tmp-cnvted/sda-pt.sf... done!
Change sda to sdc in /tmp/Atom-2009-02-12-04-img-tmp-cnvted/sda-pt.parted... 
done!
The created image is "/tmp/Atom-2009-02-12-04-img-tmp-cnvted".
Activating the partition info in /proc... done!
Getting /dev/sdc1 info...
*****************************************************.
The following step is to restore image to the harddisk/partition(s) in this 
machine: "/tmp/Atom-2009-02-12-04-img-tmp-cnvted" -> "sdc sdc1"
WARNING!!! WARNING!!! WARNING!!!
WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! 
ALL EXISTING DATA WILL BE LOST:
*****************************************************.
Machine: OptiPlex GX260
sdc (40.0GB_0AB-00BVA0_______0:0)
sdc1 (38.3GB_boot(In_0AB-00BVA0______)_0:0)
*****************************************************.
Are you sure you want to continue? ?
[y/n] y
OK, let's do it!!
This program is not started by clonezilla server.
The following step is to restore image to the harddisk/partition(s) in this 
machine: "/tmp/Atom-2009-02-12-04-img-tmp-cnvted" -> "sdc (sdc1)"
WARNING!!! WARNING!!! WARNING!!!
WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! 
ALL EXISTING DATA WILL BE LOST:
*****************************************************.
Machine: OptiPlex GX260
sdc (40.0GB_0AB-00BVA0_______0:0)
sdc1 (38.3GB_boot(In_0AB-00BVA0______)_0:0)
*****************************************************.
Let me ask you again, Are you sure you want to continue? ?
[y/n] y
OK, let's do it!!
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Creating partition in /dev/sdc...
*****************************************************.
Thu Feb 12 12:26:08 CST 2009
Writing the partition table...
Running sfdisk --force /dev/sdc < 
/tmp/Atom-2009-02-12-04-img-tmp-cnvted/sdc-pt.sf
Checking that no-one is using this disk right now ...
OK
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

Disk /dev/sdc: 38166 cylinders, 64 heads, 32 sectors/track
Warning: partition 1 does not end at a cylinder boundary
Old situation:
Units = cylinders of 1048576 bytes, blocks of 1024 bytes, counting from 0

    Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1   *      0+  36546-  36547-  37423386   83  Linux
/dev/sdc2      36546+  38154-   1609-   1646662+   5  Extended
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty
/dev/sdc5      36546+  38154-   1609-   1646631   82  Linux swap / Solaris
New situation:
Units = sectors of 512 bytes, counting from 0

    Device Boot    Start       End   #sectors  Id  System
/dev/sdc1   *        63  74846834   74846772  83  Linux
/dev/sdc2      74846835  78140159    3293325   5  Extended
/dev/sdc3             0         -          0   0  Empty
/dev/sdc4             0         -          0   0  Empty
/dev/sdc5      74846898  78140159    3293262  82  Linux swap / Solaris
Successfully wrote the new partition table

Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

This is done by sfdisk --force /dev/sdc < 
/tmp/Atom-2009-02-12-04-img-tmp-cnvted/sdc-pt.sf
Checking the integrity of partition table in the disk /dev/sdc...
*****************************************************.
The first partition of disk /dev/sdc starts at 63.
Restoring the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st 
partition, which might be useful for some recovery tool, by:
dd if=/tmp/Atom-2009-02-12-04-img-tmp-cnvted/sdc-hidden-data-after-mbr 
of=/dev/sdc seek=1 bs=512 count=62
62+0 records in
62+0 records out
31744 bytes (32 kB) copied, 0.0129257 s, 2.5 MB/s
*****************************************************.
Restoring partition /dev/sdc1...
*****************************************************.
Clean filesystem header in device /dev/sdc1...
*****************************************************.
*****************************************************.
Starting unicast restoring image Atom-2009-02-12-04-img-tmp-cnvted to 
/dev/sdc1...
Finished unicast restoring image Atom-2009-02-12-04-img-tmp-cnvted to /dev/sdc1.
*****************************************************.
Creating swap partition /dev/sdc5...
Found the swap partition /dev/sdc5 info in the image dir, create it by:
mkswap-uuid  -U 54ad9caf-2332-46f9-914e-cfd22f21ba38 /dev/sdc5
Setting up swapspace version 1, size = 1686142 kB
no label, UUID=54ad9caf-2332-46f9-914e-cfd22f21ba38
*****************************************************.
Restoring the first 446 bytes of MBR data, i.e. executable code area, for 
sdc... 
done!
*****************************************************.
Found grub partition: /dev/sda1... Trying to run grub-install now...
Running: grub-install --no-floppy --root-directory=/tmp/hd_img.PCWDkY /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
/usr/sbin/grub-install: 494: grub-probe: not found
[: 494: =: unexpected operator
Installing GRUB to /dev/sda as (hd0)...
Installation finished. No error reported.
This is the contents of the device map /tmp/hd_img.PCWDkY/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc
done!
*****************************************************.
The NTFS boot partition is NOT found or not among the restored partition(s). 
Skip running partclone.ntfsreloc.
*****************************************************.
*****************************************************
*****************************************************
This program is not started by Clonezilla server, so skip notifying it the job 
is done.
Finished!
Now syncing - flush filesystem buffers...


Carl K

------------------------------------------------------------------------------
_______________________________________________
Clonezilla-live mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to