Language Selection

English French German Italian Portuguese Spanish

Linux Disk Utilities

Filed under

Here is a list of useful disk utilities a friend of mine sent me by mail. Not sure where they come from, but I want to share them with you.

fdisk /dev/hda
(”fixed disk”. Execute as root.) Linux hard drive partitioning utility. In the example above, I specified that I would like to partition the first hard drive on the first IDE interface. Backup any important data before using fdisk on any partition.

cfdisk /dev/hda
(Execute as root) Hard drive partitioning utility, menu-based. Easier to use then fdisk. Physical drives can contain primary partitions (max 4 per disk), and logical partitions (no restriction on number). A primary partition can be bootable. Logical partitions must be contained within extended partitions; extended partitions are not usable by themselves, they are just a container for logical partitions. When partitioning a disk, you’d typically: create a primary partition then make the primary partition bootable, create an extended partition and then create logical partition(s) within the extended partition.

sfdisk -l -x | more

More Here

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story Tech Webinar: Knox Tizen Wearable SDK – October 27, 2016 Rianne Schestowitz 26/10/2016 - 6:37pm
Story Open Source Operating Systems for IoT Rianne Schestowitz 26/10/2016 - 6:30pm
Story New Cortex-M chips add ARMv8 and TrustZone Rianne Schestowitz 26/10/2016 - 6:24pm
Story OpenStack in the Headlines Roy Schestowitz 26/10/2016 - 6:12pm
Story Alpine Linux 3.4.5 released Roy Schestowitz 26/10/2016 - 6:00pm
Story Linux Graphics Roy Schestowitz 26/10/2016 - 5:27pm
Story Games for GNU/Linux Roy Schestowitz 26/10/2016 - 5:25pm
Story today's leftovers Roy Schestowitz 26/10/2016 - 11:10am
Story Leftovers: Ubuntu and Debian Roy Schestowitz 26/10/2016 - 11:07am
Story Leftovers: OSS Roy Schestowitz 26/10/2016 - 11:06am