diff --git a/src/Core/System/Storage.php b/src/Core/System/Storage.php index 572612213..1fe90b50a 100644 --- a/src/Core/System/Storage.php +++ b/src/Core/System/Storage.php @@ -383,7 +383,7 @@ public function formatEntireDisk(string $device, bool $bg = false): bool // First, remove existing partitions and then create a new msdos partition table and ext4 partition // This command deletes all existing partitions and creates a new primary partition using the full disk - $command = "$parted --script --align optimal '$device' 'mklabel msdos'"; + $command = "$parted --script --align optimal '$device' 'mklabel gpt'"; Processes::mwExec($command); // Apply the command to clear the partition table // Now create a new partition that spans the entire disk