Results 1 to 5 of 5

Thread: Tools for GPT partitions?

  1. #1

    Default Tools for GPT partitions?

    Can GParted, partimage, partclone or clonezilla be used on partitions with GUID Partition Table?

  2. #2

    Default Re: Tools for GPT partitions?

    The main tool is gdisk as shown here

    Code:
    # gdisk /dev/sda                                                                                                                                             
    GPT fdisk (gdisk) version 1.0.1                                                                                                                                                
                                                                                                                                                                                   
    Partition table scan:                                                                                                                                                          
      MBR: protective                                                                                                                                                              
      BSD: not present                                                                                                                                                             
      APM: not present                                                                                                                                                             
      GPT: present                                                                                                                                                                 
                                                                                                                                                                                   
    Found valid GPT with protective MBR; using GPT.                                                                                                                                
                                                                                                                                                                                   
    Command (? for help): p                                                                                                                                                        
    Disk /dev/sda: 1465149168 sectors, 698.6 GiB                                                                                                                                   
    Logical sector size: 512 bytes                                                                                                                                                 
    Disk identifier (GUID): 3BDFAD85-6BB1-450F-9A5D-5BB1B10363A7                                                                                                                   
    Partition table holds up to 128 entries                                                                                                                                        
    First usable sector is 34, last usable sector is 1465149134                                                                                                                    
    Partitions will be aligned on 2048-sector boundaries                                                                                                                           
    Total free space is 104416941 sectors (49.8 GiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1            2048          534527   260.0 MiB   ED00  EFI system partition
       2          534528         3553279   1.4 GiB     2700  Basic data partition
       3         3553280         4085759   260.0 MiB   EF00  EFI System Partition
       4         4085760         4347903   128.0 MiB   0C01  Microsoft reserved ...
       5         4347904       704706559   334.0 GiB   0700  Basic data partition
       6      1395027968      1465147391   33.4 GiB    2700  Basic data partition
       7      1081552896      1186410495   50.0 GiB    8E00  
       8       704706560       754845695   23.9 GiB    8300  
       9       976695296      1081552895   50.0 GiB    8E00  
      10      1186410496      1395027967   99.5 GiB    8E00  
      11       754845696       859703295   50.0 GiB    8E00  primary
      15       964116480       976695295   6.0 GiB     0700  primary
    
    Command (? for help): q
    GParted supports GPT. So does KVPM, and of course the YaST partitioner.

    Best regards,
    Bequimão

  3. #3

    Default Re: Tools for GPT partitions?

    Thank you! What I am looking for is a tool to create an image of an entire partitions as backup, and being able to restore it to the same or to a different partition. Up to now I have been using partimage, but believe that will not work with GPT disks. Can gdisk or KVPM do that?

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,153

    Default Re: Tools for GPT partitions?

    Partitioning tools (like gdisk) work on the partitioning administration on the disk, not on the partitions themselves.. Thus those tools will not be able to copy/make clones of partitions.

    Those tools you can use to copy/make clones of partitions are fully independent of the partitioning type (MBR or GPT). To address partitions you use the device files like /dev/sdXN regardless of MBR or GPT. Thus for these tasks you can use whatever you used already on MBR partitions, like dd from the CLI or Clonezilla from the GUI.
    Henk van Velden

  5. #5

    Default Re: Tools for GPT partitions?

    Great, I can continue to use partimage then, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •