LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2016, 10:14 AM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,301
Blog Entries: 4

Rep: Reputation: 148Reputation: 148
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?
 
Old 01-03-2016, 11:17 AM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
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

Last edited by norobro; 01-03-2016 at 11:20 AM. Reason: Had link to Fr locale
 
Old 01-03-2016, 01:08 PM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,301

Original Poster
Blog Entries: 4

Rep: Reputation: 148Reputation: 148
Weird.

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

thanks
 
  


Reply

Tags
mklabel, msdos, parted


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Specific questions regarding parted Atreyou40 Linux - Software 1 06-06-2006 07:10 PM
fdisk, parted questions? darkleaf Linux - Software 2 10-14-2004 04:07 AM
Parted and Partitions questions Mega Man X Linux - Software 2 09-21-2003 11:22 PM
Questions about "gnu parted" I need SERIOUS help! WorldBuilder Linux - General 19 06-22-2003 12:49 AM
PARTED Questions in Red Hat, post-installation WorldBuilder Linux - Software 3 05-07-2003 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration