Forrest logo
back to the parted tool

parted:ai:6cc27

remove partition from drive
$ parted /dev/sdX rm Y
try on your machine

This command will remove the partition (Y) from the specified drive (/dev/sdX) using the 'parted' tool. Replace /dev/sdX with the actual drive identifier and Y with the partition number.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • remove partition from drive?
back to the parted tool