FAQ    Produkte    Server   Linux Partitiontabelle kopieren bei GPT

Linux Partitiontabelle kopieren bei GPT

A=$( parted -ms /dev/sda print | tail -1 | cut -b1 )

B=$(( $(( 128 * ${A} )) + 1024 ))

#dd if=/dev/sda of=/dev/sdb bs=1 count=${B}