Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There are plenty of tools like parted and fdisk but all of them are not very user friendly. Something like Partition Magic but for CLI Linux? Something that automatically will adjust partition table, check FS, temporarily remove journaling (if needed) etc? In one command line :)

share|improve this question
2  
CLI and User Friendly? That's quite optimistic. Command lines are designed for scripts; GUIs are for humans. –  MSalters Aug 20 '12 at 10:40
    
If you give us more information on why you want both CLI and user friendly, we could probably find a better solution. If you need to do this on a remote server, you could connect using ssh -X and run gparted. –  terdon Aug 20 '12 at 14:16
add comment

1 Answer

up vote 2 down vote accepted

Parted already does everything that you mention, and it's as user friendly as you'll get from a CLI tool (but I'd love to be proved wrong here).

Fdisk does not operate on filesystems - it only operates on partitions, AFAIK, which means it's probably not what you're looking for.

For X, I'm sure you already know about gparted.

share|improve this answer
1  
AFAIK, parted does not touch filesystems anymore, though Gparted still does. –  grawity Aug 20 '12 at 10:46
    
I am not sure if you read the question completely. I know that fdisk does not deal with filesystems. My point was that these days, e.g. to increase size of ext3 partition, you need to run umount, followed by fsck, followed by fdisk, followed by resize2fs, followed by .... (you get the idea). What I'm looking for is something like duperparter /dev/sdb1 5TB where /dev/sdb1 is a ext3/4/5(joking) partition on a VM which had sdb expanded from 4TB to 5TB. –  Alex Aug 21 '12 at 2:57
    
@grawity you are probably right. The parted 2.3 in the system I'm using warns of such deprecation (although it still resizes the filesystem) –  goncalopp Sep 2 '12 at 1:27
    
@Alex I think I misunderstood what you meant by "user friendly". I'd check your current parted version to see if it still does filesystem resizing. Otherwise, if you're doing resizes that often, it can't be too difficult to write a bash script –  goncalopp Sep 2 '12 at 1:32
    
@Alex: These days, I'm sure umount/fsck/mount isn't actually needed with modern filesystems. –  grawity Sep 2 '12 at 11:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.