refs #1594 create GPT parttable in ogCreateGptPartitions
parent
2a0737f2c5
commit
3a1435b587
|
@ -277,7 +277,7 @@ def ogCreateGptPartitions (disk, parts):
|
||||||
if CACHESIZE: CacheLib.ogUnmountCache()
|
if CACHESIZE: CacheLib.ogUnmountCache()
|
||||||
|
|
||||||
# Si la tabla de particiones no es valida, volver a generarla.
|
# Si la tabla de particiones no es valida, volver a generarla.
|
||||||
ogCreatePartitionTable (ND)
|
ogCreatePartitionTable (ND, 'GPT')
|
||||||
|
|
||||||
# Definir particiones y notificar al kernel.
|
# Definir particiones y notificar al kernel.
|
||||||
subprocess.run (['sgdisk'] + DELOPTIONS + OPTIONS + [DISK])
|
subprocess.run (['sgdisk'] + DELOPTIONS + OPTIONS + [DISK])
|
||||||
|
|
Loading…
Reference in New Issue