LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Questions on mklabels for Parted (https://www.linuxquestions.org/questions/linux-newbie-8/questions-on-mklabels-for-parted-4175562986/)

JockVSJock 01-03-2016 10:14 AM

Questions on mklabels for Parted
 
So I'm learning Parted and I'm getting to the part where I'm creating a label for the raw storage/partition that I want to format.

Code:


mklabel

I kept trying to type ext3 or ext4 and kept getting:

Code:


parted:  invalid token: ext3

There wasn't any info in the man page, however I did find that you have to use msdos in order to set a disk label on Linux. Later looking at the web page for parted mklable

https://www.gnu.org/software/parted/...d.html#mklabel

I see there are a number of types of labels

Code:


bsd
loop (raw disc access)
gpt
mac
msdos
pc98
sun

My question is what does these labels do? I mean in fdisk 'T' to type was pretty self-explanatory, however there is really no info on why you setting up an msdos partition on Linux or what the others do?

norobro 01-03-2016 11:17 AM

Just ran into this myself. The Debian man page for fdisk has descriptions for some of those labels.

Also, here is a good write up on gpt. Heed the warning if you dual boot Windows

JockVSJock 01-03-2016 01:08 PM

Weird.

Upon a little closer reading, it appears that the parted man page advised to reference the man page for fdisk.

thanks


All times are GMT -5. The time now is 07:44 PM.