Hi,

unfortunately the bug is still not fixed despite the NMU; while sgdisk doesn't 
print errors anymore, it also doesn't actually perform the requested operations.

See e.g.

# sgdisk --zap-all /dev/sda                                                     
                
Creating new GPT entries in memory.
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

Looks good, but no partition table has actually been created:

# parted -s /dev/sda print
Error: /dev/sda: unrecognised disk label
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

So let's create a partition table with parted and verify that it's there:

# parted -s /dev/sda mklabel gpt
# parted -s /dev/sda print      
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start  End  Size  File system  Name  Flags

Now let's try to create a partition with sgdisk:

# sgdisk --set-alignment=1 --new=1:0:4M --typecode=1:EF02 --change-name=1:grub

No error message, but the partition isn't there:

# parted -s /dev/sda print                                                    
Model: VMware Virtual disk (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start  End  Size  File system  Name  Flags

Best regards,

András

-- 
     Money can't buy friends, but you can afford a better class of enemy.

Reply via email to