Partition table was created by: sfdisk -force -C 38912 -H 255 -S 63 /dev/sdb < /tmp/new_sf.2tdNbd Successfully wrote the new partition table Units: sectors of 512 bytes, counting from 0 Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0ĭevice Boot Start End #cyls #blocks Id System Running: sfdisk -force -C 38912 -H 255 -S 63 /dev/sdb < /tmp/new_sf.2tdNbdĭisk /dev/sdb: 38912 cylinders, 255 heads, 63 sectors/track The partition table to write in /dev/sdb: The ratio for target disk size to original disk size is. [0 39mNo partition table exists in target disk /dev/sdb, try to initialize one so that we can get the disk size by parted. [1 33mCreate the proportional partition table based on /tmp/ocs_onthefly_local.S1OeQB/tgt-pt.sf and the size of /dev/sdb. Trying to clean the MBR and GPT partition table on the destination disk first: /dev/sdb [0 39mAre you sure you want to continue? (y/n) OK, let's do it!! Will create the partition on the target machine. WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST: sdb The CHS value of hard drive from EDD will be used for sfdisk. Non-grub boot loader found on /tmp/ocs_onthefly_local.S1OeQB/sdb-mbr.
512 bytes) and 1st partition, which might be useful for some recovery tool, by:ĭd if=/dev/sda of=/tmp/ocs_onthefly_local.S1OeQB/src-hidden-data.img skip=1 bs=512 count=2047ġ048064 bytes (1.0 MB) copied, 0.00758521 s, 138 MB/s Saving the hidden data between MBR (1st sector, i.e. The first partition of disk /dev/sda starts at 2048. usr/sbin/ocs-onthefly -g auto -e1 auto -e2 -j2 -r -rescue -icds -k1 -f sda -t sdb Next time you can run this command directly: