最終更新:2015-09-03 (木) 04:31:53 (1851d)  

cgpt
Top / cgpt

Utility for ChromeOS-specific GPT partitions

GPT manipulation tool with support for Chromium OS extensions

usage

  • Usage: cgpt COMMAND [OPTIONS] DRIVE
    
    Supported COMMANDs:
    
        create           Create or reset GPT headers and tables
        add              Add, edit or remove a partition entry
        show             Show partition table and entries
        repair           Repair damaged GPT headers and tables
        boot             Edit the PMBR sector for legacy BIOSes
        find             Locate a partition by its GUID
        prioritize       Reorder the priority of all kernel partitions
        legacy           Switch between GPT and Legacy GPT
    
    For more detailed usage, use cgpt COMMAND -h

cgpt add?

  • Usage: cgpt add [OPTIONS] DRIVE
    
    Add, edit, or remove a partition entry.
    
    Options:
      -D NUM       Size (in bytes) of the disk where partitions reside
                     default 0, meaning partitions and GPT structs are
                     both on DRIVE
      -i NUM       Specify partition (default is next available)
      -b NUM       Beginning sector
      -s NUM       Size in sectors
      -t GUID      Partition Type GUID
      -u GUID      Partition Unique ID
      -l LABEL     Label
      -S NUM       set Successful flag (0|1)
      -T NUM       set Tries flag (0-15)
      -P NUM       set Priority flag (0-15)
      -A NUM       set raw 64-bit attribute value
    
    Use the -i option to modify an existing partition.
    The -b, -s, and -t options must be given for new partitions.
    
    The partition type may also be given as one of these aliases:
    
        firmware    ChromeOS firmware
        kernel      ChromeOS kernel
        rootfs      ChromeOS rootfs
        data        Linux data
        reserved    ChromeOS reserved
        efi         EFI System Partition
        unused      Unused (nonexistent) partition

関連