Het lukt me niet. Dit is de uitvoer in het terminal venster:
etting the TERM as xterm
Starting /usr/sbin/ocs-onthefly at 2016-02-10 15:50:30 CET...
Excluding busy partition or disk...
Excluding busy partition or disk...
PS. Next time you can run this command directly:
/usr/sbin/ocs-onthefly -g auto -e1 auto -e2 -r -j2 -f sda -t sdc
This command is also saved as this file name for later use if necessary: /tmp/ocs-onthefly-2016-02-10-15-52
*****************************************************.
Press "Enter" to continue...
*****************************************************.
///WARNING/// filesystem.squashfs not found! No idea where is LIVE MEDIA!!! Assume this is running in DRBL client.
*****************************************************.
*****************************************************.
The first partition of disk /dev/sda starts at 63.
Saving 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=/dev/sda of=/tmp/ocs_onthefly_local.Vv8WW0/src-hidden-data.img skip=1 bs=512 count=62
62+0 records gelezen
62+0 records geschreven
31744 bytes (32 kB) gekopieerd, 0,00112199 s, 28,3 MB/s
*****************************************************.
Collecting partition /dev/sda1 info...
Collecting partition /dev/sda2 info...
Collecting partition /dev/sda3 info...
umount: /tmp/ntfs_mnt.sv9ElH: apparaat is bezig
(Welke processen het apparaat gebruiken kan mogelijk
gevonden worden met behulp van lsof(8) of fuser(1).)
rmdir: kan ‘/tmp/ntfs_mnt.sv9ElH’ niet verwijderen: Apparaat of hulpbron is bezig
Non-grub boot loader found on /tmp/ocs_onthefly_local.Vv8WW0/sdc-mbr...
The CHS value of hard drive from EDD will be used for sfdisk.
Kernel EDD (sysfs interface to BIOS EDD (Enhanced Disk Device) information) not supported!
You can try to enable it if it's builtin by putting edd=on as boot parameter.
No CHS value was found from EDD info for disk /dev/sdc.
Searching for data partition(s)...
Excluding busy partition or disk...
Unmounted partitions (including extended or swap): sdc1 sdc2 sdc3
Collecting info.... done!
Getting /dev/sdc1 info...
Getting /dev/sdc2 info...
Getting /dev/sdc3 info...
WARNING!!! WARNING!!! WARNING!!!
WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST: sdc
*****************************************************.
Machine: P5K
sdc (2000GB_WDC_WD20EADS-00S_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
sdc1 (55.2G_boot(In_WDC_WD20EADS-00S)_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
sdc2 (100G(In_WDC_WD20EADS-00S)_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
sdc3 (1.7T(In_WDC_WD20EADS-00S)_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
*****************************************************.
Are you sure you want to continue? ? (y/n) y
OK, let's do it!!
*****************************************************.
Will create the partition on the target machine...
Let me ask you again.
*****************************************************.
Machine: P5K
sdc (2000GB_WDC_WD20EADS-00S_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
sdc1 (55.2G_boot(In_WDC_WD20EADS-00S)_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
sdc2 (100G(In_WDC_WD20EADS-00S)_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
sdc3 (1.7T(In_WDC_WD20EADS-00S)_WDC_WD20EADS-00S2B0_WD-WCAVY2185034)
*****************************************************.
WARNING!!! WARNING!!! WARNING!!!
WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST: sdc
Are you sure you want to continue? ? (y/n) y
OK, let's do it!!
Trying to clean the MBR and GPT partition table on the destination disk first: /dev/sdc
Creating MBR type's partition table...
No partition table exists in target disk /dev/sdc, try to initialize one so that we can get the disk size by parted... Running: parted -s /dev/sdc mklabel msdos
done!
sfdisk --force /dev/sdc < /tmp/ocs_onthefly_local.Vv8WW0/tgt-pt.sf
Checking that no-one is using this disk right now ...
OK
Warning: partition 3 does not start at a cylinder boundary
Disk /dev/sdc: 243201 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdc1 0 - 0 0 0 Empty
/dev/sdc2 0 - 0 0 0 Empty
/dev/sdc3 0 - 0 0 0 Empty
/dev/sdc4 0 - 0 0 0 Empty
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sdc1 * 63 115667999 115667937 7 HPFS/NTFS/exFAT
/dev/sdc2 115668000 325396574 209728575 7 HPFS/NTFS/exFAT
/dev/sdc3 325396582 3907024064 3581627483 7 HPFS/NTFS/exFAT
/dev/sdc4 0 - 0 0 Empty
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 was done by "sfdisk --force /dev/sdc < /tmp/ocs_onthefly_local.Vv8WW0/tgt-pt.sf"
Informing the OS that partition table has changed...
Checking the integrity of partition table in the disk /dev/sdc...
done!
*****************************************************.
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/ocs_onthefly_local.Vv8WW0/tgt-hidden-data.img of=/dev/sdc seek=1 bs=512 count=62
62+0 records gelezen
62+0 records geschreven
31744 bytes (32 kB) gekopieerd, 0,00160833 s, 19,7 MB/s
*****************************************************.
*****************************************************.
Do you want to clone the boot loader (executable code area, the first 446 bytes) to: sdc ?
[Y/n] y
Cloning the boot loader (executable code area) from "sda" to "sdc"...
*****************************************************.
Now we will start to clone data to the target machine...
Are you sure you want to continue? ? (y/n) y
OK, let's do it!!
*****************************************************.
Searching for data partition(s) in source disk: sda ...
Excluding busy partition or disk...
Unmounted partitions (including extended or swap): sda1 sda2
Collecting info... done!
*****************************************************.
Source partition file system is ntfs...
Cloning the /dev/sda1 to /dev/sdc1...
Clean filesystem header in device /dev/sdc1...
*****************************************************.
Using partclone to clone...
Run partclone: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda1 -O /dev/sdc1
partclone.ntfs: invalid option -- 'z'
partclone.ntfs v0.2.51 http://partclone.org
Usage: partclone.ntfs [OPTIONS]
Efficiently clone to a image, device or standard output.
-o, --output FILE Output FILE
-O --overwrite FILE Output FILE, overwriting if exists
-W --restore_raw_file create special raw file for loop device
-s, --source FILE Source FILE
-L, --logfile FILE Log FILE
-c, --clone Save to the special image format
-r, --restore Restore from the special image format
-b, --dev-to-dev Local device to device copy mode
-D, --domain Create ddrescue domain log from source device
--offset_domain=X Add offset X (bytes) to domain log values
-R, --rescue Continue after disk read errors
-dX, --debug=X Set the debug level to X = [0|1|2]
-C, --no_check Don't check device size and free space
-N, --ncurses Using Ncurses User Interface
-I, --ignore_fschk Ignore filesystem check
-i, --ignore_crc Ignore crc check error
-F, --force Force progress
-f, --UI-fresh Fresh times of progress
-m, --max_block_cache The used block will be cache until max number
-q, --quiet Disable progress message
-B, --no_block_detail Show progress message without block detail
-v, --version Display partclone version
-h, --help Display this help
cat: /var/log/partclone.log: Bestand of map bestaat niet
*****************************************************.
Source partition file system is ntfs...
Cloning the /dev/sda2 to /dev/sdc2...
Clean filesystem header in device /dev/sdc2...
*****************************************************.
Using partclone to clone...
Run partclone: partclone.ntfs -z 10485760 -N -L /var/log/partclone.log -b -s /dev/sda2 -O /dev/sdc2
partclone.ntfs: invalid option -- 'z'
partclone.ntfs v0.2.51 http://partclone.org
Usage: partclone.ntfs [OPTIONS]
Efficiently clone to a image, device or standard output.
-o, --output FILE Output FILE
-O --overwrite FILE Output FILE, overwriting if exists
-W --restore_raw_file create special raw file for loop device
-s, --source FILE Source FILE
-L, --logfile FILE Log FILE
-c, --clone Save to the special image format
-r, --restore Restore from the special image format
-b, --dev-to-dev Local device to device copy mode
-D, --domain Create ddrescue domain log from source device
--offset_domain=X Add offset X (bytes) to domain log values
-R, --rescue Continue after disk read errors
-dX, --debug=X Set the debug level to X = [0|1|2]
-C, --no_check Don't check device size and free space
-N, --ncurses Using Ncurses User Interface
-I, --ignore_fschk Ignore filesystem check
-i, --ignore_crc Ignore crc check error
-F, --force Force progress
-f, --UI-fresh Fresh times of progress
-m, --max_block_cache The used block will be cache until max number
-q, --quiet Disable progress message
-B, --no_block_detail Show progress message without block detail
-v, --version Display partclone version
-h, --help Display this help
cat: /var/log/partclone.log: Bestand of map bestaat niet
*****************************************************.
*****************************************************.
Searching for data partition(s) in target disk for post process: sdc...
Excluding busy partition or disk...
Unmounted partitions (including extended or swap): sdc1 sdc2 sdc3
Collecting info.... done!
*****************************************************.
Now tuning the file system size on partition /dev/sdc1 to fit the partition size...
"boot" is an unknown or unsupported filesystem... Skip resizing that.
*****************************************************.
Now tuning the file system size on partition /dev/sdc2 to fit the partition size...
Unknown or unsupported partition (/dev/sdc2) found! Skip this partition /dev/sdc2.
*****************************************************.
Now tuning the file system size on partition /dev/sdc3 to fit the partition size...
Unknown or unsupported partition (/dev/sdc3) found! Skip this partition /dev/sdc3.
*****************************************************.
Creating the swap partition if exists...
*****************************************************.
Trying to remove udev hardware record in the restored OS...
The specified destination device: sdc1 sdc2 sdc3
Trying to remove udev persistent files. The devices to be searched: sdc1 sdc2 sdc3...
Now searching possible device /dev/sdc1...
Skip /dev/sdc2 (No file system. Extended partition?).
Skip /dev/sdc3 (No file system. Extended partition?).
done!
*****************************************************.
Device /dev/sdc1 is not a FAT partition.
Skip updating syslinux on that.
Device /dev/sdc2 is not a FAT partition.
Skip updating syslinux on that.
Device /dev/sdc3 is not a FAT partition.
Skip updating syslinux on that.
*****************************************************.
Run grub install on disk sdc...
The grub 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 running grub-install.
*****************************************************.
Try to run partclone.ntfsfixboot for NTFS boot partition if it exists. Scanning partition(s): sdc1 sdc2 sdc3...
The NTFS boot partition was not found or not among the restored partition(s). Skip running partclone.ntfsfixboot.
*****************************************************.
Checking if udevd rules have to be restored...
Ending /usr/sbin/ocs-onthefly at 2016-02-10 15:54:20 CET...
Press "Enter" to continue......
Wat doe ik verkeerd?