What command is used to partition a harddrive?

1 answer

Answer

1014324

2026-07-17 16:10

+ Follow

Linux
Linux

The fdisk command is used to create and modify partitions on a hard drive. Be very careful when using fdisk. You could lose data and corrupt your hard drive if you don't know what you're doing. At the command line type:

$ man fdisk

to get the manual page for the fdisk command.

---- In Linux: After MUCH frustration, digging, trial-and-error, I have answered a related question.

My problem was that I could not delete or resize two "unallocated partitions on my hard drive. All the options (unmount, resize, delete, etc.) were grayed out. I could not unmount them because they were in use.

The answer was to download the GParted LIVE CD from: http://gparted.sourceforge.net.

I simply inserted the GParted LIVE CD, rebooted, and -- voila! -- I could move, resize, and delete all my partitions at will! IMHO, the GParted utility is much easier to use then Partition Magic, and best of all, it is FREE!

I hope this post can help others with a similar problem.

Lloyd

----

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.