Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: GPT Error

...

  • Format the disk partition. Get the device name from the previous lsblk output

    Code Block
    languagebash
    themeEmacs
    fdisk /dev/sdb
    n (new partition)
    p (primary)
    (Press ENTER) (Use default partition number)
    (Press ENTER) (Use default first sector)
    (Press ENTER) (Use default last sector)
    
    t (change the partition type)
    8e (Linux LVM)
    
    w (write)
    

    in order to see this partition, read the partition table with "partprobe" (or reboot which is less elegant but just as effective)


  • If an GPT ERROR appears at the end of the fdisk dialogue or after using partprobe: "Error: The backup GPT table is not at the end of the disk, as it should be.  This might mean that another operating system believes the disk is smaller.  Fix, by moving the backup to the end (and removing the old backup)?", do the following command wirth parted:

Image Added

Create the Physical Volume for LVM

...