I am repairing a computer for someone that has two distinct disks.  Populated and partitioned as follows:is filled with multiple Operating systems on multiple partitionsis an internal data drive with a single partition (i.e. undivided)Now unfortunately the data drive is the one that got the partition table.The way I understand it is they started by installing windows, then arch linux but since they left the data drive plugged in, they ended up with the wrong drive getting the partition table.  They didn't notice for many months, proceeding to install arch linux side by side windows, and only noticed recently when they unplugged their data drive that the partition table disapeared.The problem I am faced with before attempting to copy and then remove the partition table, is that I don't have the space backup their data ahead of time just in caseMy Question: So I am curious if in general procedures to copy the partition table  between disks and then make both disks useable by reseting/randomizing  the GUID is safe and independent of the allready existing data?sgdisk -R=/dev/sdb /dev/sdasgdisk -G /dev/sdbI got the two sgdisk commands from this answer: https://unix.stackexchange.com/a/60393/173317Setup SpecificsThe results of lsblk -faNAME   FSTYPE LABEL           UUID                                             MOUNTPOINTsda                                                                sda1                                                             sda2 ntfs   COMPUTER        16 digit alpha numeric codesdb                                                                sdb1 ntfs   System Reserved 16 digit alpha numeric code                     sdb2 ntfs                   16 digit alpha numeric code                     sdb3 ntfs                   16 digit alpha numeric code                     sdb4                                                             sdb5 swap   SWAP            8 digits-4 digits-4 digits-4 digits-12 digits     [SWAP]sdb6 ext4   BOOT            8 digits-4 digits-4 digits-4 digits-12 digits     /bootsdb7 ext4   ROOT            8 digits-4 digits-4 digits-4 digits-12 digits     /sdb8 ext4   HOME            8 digits-4 digits-4 digits-4 digits-12 digits     /homesr0   The results of parted -lModel: ATA ST3500320AS (scsi)Disk /dev/sda: 500GBSector size (logical/physical): 512B/512BPartition Table: gptDisk Flags: Number  Start   End     Size    File system  Name                  Flags1      17.4kB  1018kB  1000kB                                     bios_grub2      1049kB  500GB   500GB   ntfs         Basic data partition  msftdataModel: ATA ST2000DX001-1CM1 (scsi)Disk /dev/sdb: 2000GBSector size (logical/physical): 512B/4096BPartition Table: msdosDisk Flags: Number  Start   End     Size    Type      File system     Flags1      1049kB  106MB   105MB   primary   ntfs            boot2      106MB   107GB   107GB   primary   ntfs3      107GB   107GB   472MB   primary   ntfs            diag4      107GB   2000GB  1893GB  extended                  lba5      107GB   116GB   8590MB  logical   linux-swap(v1)6      116GB   117GB   1074MB  logical   ext4            boot7      117GB   139GB   21.7GB  logical   ext48      139GB   192GB   53.7GB  logical   ext4The results of fdisk -lDisk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: gptDisk identifier: 8 digits-4 digits-4 digits-4 digits-12 digitsDevice     Start       End   Sectors   Size Type/dev/sda1     34      1987      1954   977K BIOS boot/dev/sda2   2048 976771071 976769024 465.8G Microsoft basic dataDisk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisklabel type: dosDisk identifier: 10 alpha numeric (hex) digitsDevice     Boot     Start        End    Sectors  Size Id Type/dev/sdb1  *         2048     206847     204800  100M  7 HPFS/NTFS/exFAT/dev/sdb2          206848  208795647  208588800 99.5G  7 HPFS/NTFS/exFAT/dev/sdb3       208795648  209717247     921600  450M 27 Hidden NTFS WinRE/dev/sdb4       209717248 3907026943 3697309696  1.7T  f W95 Ext'd (LBA)/dev/sdb5       209719296  226496511   16777216    8G 82 Linux swap / Solaris/dev/sdb6  *    226498560  228595711    2097152    1G 83 Linux/dev/sdb7       228597760  271032319   42434560 20.2G 83 Linux/dev/sdb8       271034368  375891967  104857600   50G 83 LinuxRunning sgdisk -p from home and the root of the data drive both return nothing.
Effect of GUID changes and partition tables on data
partition;gpt;partition table