192k views
2 votes
The ___________________ command can be used to create and work with up to 128 primary partitions on a GPT hard disk using an interface that is nearly identical to fdisk.?

1 Answer

6 votes

Answer: The command that can be used to create and work with up to 128 primary partitions on a GPT hard disk using an interface similar to fdisk is the "gdisk" command.

Explanation: Gdisk is a command-line utility that allows you to create and manage partitions on a GPT (GUID Partition Table) hard disk. It provides a familiar interface similar to fdisk, making it easier for users who are already familiar with fdisk to work with GPT disks. To create and work with up to 128 primary partitions using gdisk, you can follow these steps:

1. Open a terminal or command prompt on your system.
2. Run the "gdisk" command followed by the device name of the GPT hard disk you want to work with. For example, if the GPT hard disk is named "/dev/sda", you would run the command: "gdisk /dev/sda".

3. Once gdisk is launched, you will be presented with a command prompt.
4. Type "n" to create a new partition.

5. Specify the partition number, starting sector, and ending sector for the new partition. You can repeat this step up to 128 times to create multiple partitions.
6. After creating the partitions, you can use other gdisk commands like "p" to print the partition table, "d" to delete a partition, "t" to change the partition type, and "w" to write the changes to the disk.

User Ndraniko
by
8.3k points