166k views
4 votes
you have installed a new blank hard drive on you linux system. this is the second drive on the system, so it is represented in the file system by the /dev/sdb file. you need to create guid partitions on this drive. what command do you use to start the guid disk management utility to create partitions on the /dev/sdb drive?

1 Answer

4 votes

Answer:

To start the GUID Partition Table (GPT) disk management utility to create partitions on the /dev/sdb drive in Linux, you can use the gdisk command.

Here is an example of how to use the gdisk command to create a new GPT partition on the /dev/sdb drive:

Command: sudo gdisk /dev/sdb

This will launch the gdisk utility and allow you to create and modify partitions on the /dev/sdb drive. To create a new partition, you can follow the prompts in the utility to specify the size and type of the partition.

Step-by-step explanation:

Keep in mind that you will need to have root privileges (i.e., use sudo) to run the gdisk command and modify the partition table of the /dev/sdb drive.

I hope this helps! Let me know if you have any questions.

User Dum
by
6.3k points