• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Disk partition table command

ArisVer

Golden Member
How can I create a partition table (gpt) from the command line?

I know I can use gparted for this but there should be a command somewhere, and I cannot find it.
 
fdisk
cfdisk

The first is command line based the second is command line using ncurses so its a little prettier.
 
I don't think that fdisk supports GPT. Could the GPT-aware CLI tool be "parted"? Google says gparted is based on parted, so I presume the 'g' in its name to refer to "graphical".
 
Hi,
I also know that fdisk only supports MBRs and I am not sure what cfdisk does. I searched and found that there is the GPTfdisk, aka gdisk program (http://sourceforge.net/projects/gptfdisk/), similar to or based on fdisk. The only package I found for gdisk is rpm.
Both gdisk and parted are interactive though, I am looking for a simple command line.
 
Thanks.
You skipped gpt? I skipped around ten years of internet. 🙁
Lats time I tried parted with arguments I ended up with errors...somehow. I guess I will have to look more into it. And thanks for the link, it is a nice site.
 
Back
Top