Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Následující verze | Předchozí verze | ||
gpt_disk_cloning [2019/05/05 23:50] 0.0.0.0 vytvořeno |
gpt_disk_cloning [2022/05/27 14:38] (aktuální) simandl |
||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
====== GPT_disk_cloning ====== | ====== GPT_disk_cloning ====== | ||
- | Whwn cloning GPT disk just partly | + | When cloning GPT disk just partly |
- | dd if=/dev/sda of=/dev/sdb | + | dd if=/dev/sda of=/dev/sdb |
- | and the target disk is smaller then there is no partition table at the end. | + | and the target disk is smaller then there is no partition table at the end. |
- | To repair such disk it is necessary to run | + | To repair such disk it is necessary to run |
- | gdisk /dev/sdb | + | gdisk /dev/sdb |
- | v x e w | + | v x e w |
- | Means in gdisk we run verify then switch to extended and repair table and finally write changes to the disk. | + | Means in gdisk we run verify then switch to extended and repair table and finally write changes to the disk. |
+ | x f w | ||
+ | Means expert mode , randomize disk and partition unique GUIDs , write to disk | ||
+ | |||
+ | sgdisk -R /dev/sdb /dev/sda | ||
+ | sgdisk -G /dev/sdb |