Thursday, December 15, 2016

Approximating GNU parted in Windows

I partition disks in Linux all the time. But, thanks to disk ghosting, I don't do much partitioning in Windows. When I do need to partition in Windows (like external drives), what do I use? Enter the Windows Disk Management Snap-in, diskmgmt.msc, first available in Windows 98.
If you're familiar with GNU parted, this Windows tool will make perfect sense. You see immediately your list of hard drives, their partitions, and can click on them to delete or resize. Click on free space to partition. There are some limitations, though. For example, you can't delete recovery partitions. For that, you can drop to the Windows command line and run diskpart. This tool is like Linux's fdisk.

Related Posts:

  • Private methods are collaborators in disguisePrivate methods cannot be unit tested, only integration tested through whatever public methods call them. I find this unsettling. I want to unit test private methods, so that I know the public methods are composed of independ… Read More
  • Today's fortune Let us not look back in anger or forward in fear, but around us in awareness. — James Thurber … Read More
  • Big list of files to edit? vim to the rescue (again)Did you know that you can treat the text under the cursor as a filename, and open that up for editing right in vim? Here's how: gf will open the filename under the cursor in the current window ^Wf will open it in a split w… Read More
  • Evoking all possible test failure modes in PHPUnitWhen you're writing your own PHPUnit test listener, you need a test case that evokes all the different PHPUnit test states. Here's you go: <?php class EvokesTest extends \PHPUnit_Framework_TestCase { public function t… Read More
  • Disabling Plugins in JenkinsIf a plugin upgrade causes problems, Jenkins may not restart. You'll be welcomed by an error message and a stack trace. Don't panic! Go into your Jenkins plugin directory, list files by date, and then disable the most recent … Read More

0 comments:

Post a Comment

Share your thoughts!