Language Selection

English French German Italian Portuguese Spanish

Linux Disk Utilities

Filed under
Software

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

Today in Techrights

Fedora 26 Linux Might Ship with an LXQt Flavor, Won't Replace the LXDE Spin

There's a new self-contained change planned for the upcoming Fedora 26 Linux distribution, due for release on June 6, 2017, namely a new flavor built around the lightweight, Qt-based LXQt desktop environment. Read more

Devil-Linux 1.8.0 to Be a Major Overhaul, Will Use SquashFS as Main File System

It's been seven months since we last heard something from the developers of the Devil-Linux project, which produces a tiny, dedicated server distribution for many applications, and a new development version of the upcoming 1.8 stable series is out. Read more

CentOS vs Ubuntu: Which one is better for a server

Finally decided to get a VPS but can’t decide which Linux distro to use? We’ve all been there. The choice may even be overwhelming, even for Linux distros, considering all the different flavors and distros that are out there. Though, the two most widely used and most popular server distros are CentOS and Ubuntu. This is the main dilemma among admins, both beginners and professionals. Having experience with both (and more) distros, we decided to do a comparison of CentOS and Ubuntu when used for a server. Read more