LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-12-2019, 05:00 PM   #1
helen314
Member
 
Registered: Jun 2019
Posts: 78

Rep: Reputation: 0
How to change "Linux filesystem" partition type to "extended" ?


I am trying to change "Linux filesystem" AKA "primary partition " to "extended partitions " so I can assign "logical perditions".

Using "fdisk " "L" does not list anything close to "extended" partition.

Is "extended partition" term not used in Linux?


I should be able to just change partition type using option "t".
What am I doing wrong ?


Quote:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/loop0: 1.5 GiB, 1601015808 bytes, 3126984 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 1.8 TiB, 2000398933504 bytes, 3907029167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: B6340A86-535D-439C-8211-6A797B9A2C29

Device Start End Sectors Size Type
/dev/sda1 65535 1048559 983025 480M EFI System
/dev/sda2 1048560 410648559 409600000 195.3G Linux filesystem
/dev/sda3 3905034045 3907000094 1966050 960M Linux swap
/dev/sda4 410648576 3905032191 3494383616 1.6T Linux filesystem

Partition 1 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.
Partition table entries are not in disk order.
 
Old 06-12-2019, 05:21 PM   #2
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Rep: Reputation: 258Reputation: 258Reputation: 258
Yes, extended partitions exist in linux but only with MBR. If you wanted more than 4 partitions you would create 3 primary and 1 extended. Then divide up the extended.

You have gpt(not MBR) so you don't need an extended partition.
 
1 members found this post helpful.
Old 06-12-2019, 05:26 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Your disk is using GPT and does not have or use extended/logical partitions.

Just create another partition which will automatically be numbered as 5.


Disks that use MBR still need Extended/logical partitions to have more then 4 partitions but GPT does not.

Too late...
 
1 members found this post helpful.
Old 06-12-2019, 07:40 PM   #4
helen314
Member
 
Registered: Jun 2019
Posts: 78

Original Poster
Rep: Reputation: 0
SOLVED

Quote:
Originally Posted by michaelk View Post
Your disk is using GPT and does not have or use extended/logical partitions.

Just create another partition which will automatically be numbered as 5.


Disks that use MBR still need Extended/logical partitions to have more then 4 partitions but GPT does not.

Too late...
Too late? for what ?

In different English - GPT and UEFI / EFI should use simple term "partition" since there are no "primary" nor
"logical partitions".
Of course expecting on line "documentation" , including Gparted, to reflect that is pretty naive.

Thanks

Problem solved
 
Old 06-12-2019, 07:51 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Sorry, too late meaning someone else has posted the answer first.
 
Old 06-13-2019, 10:10 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Disklabel type: gpt

Mechanikx noticed that right off. I'd have missed it.

However this may or may not need to be looked at. "
Your hard disk has Advanced Format 4096-byte sectors to which the partition is not perfectly aligned" https://askubuntu.com/questions/1569...ector-boundary Or you have some prior mbr deal maybe?
 
  


Reply



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
mount partition type 'fd' fails with " unknown filesystem type 'linux_raid_member'" Michael AM Linux - Software 15 06-19-2013 03:51 PM
mandriva dual boot filesystem type unknown,partition type 0x7 llearner Linux - Newbie 2 01-24-2010 02:03 PM
Filesystem type is ext2fs, partition type 0x83 TONYSUCCAR Linux - Enterprise 2 08-13-2009 02:20 AM
filesystem type unknown, partition type 0x7 crazyface_juicebox Linux - General 1 02-11-2007 11:50 PM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM

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

All times are GMT -5. The time now is 11:16 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
Open Source Consulting | Domain Registration