Saturday, May 4, 2024
33
rated 0 times [  33] [ 0]  / answers: 1 / hits: 73671  / 2 Years ago, fri, april 8, 2022, 11:43:57

I am running Ubuntu 13.10. Some links shows that:




  • If you use an MS-DOS partition table (or MBR), you can only have up to four primary/extended partitions.


  • If you use a GUID partition table (GPT) with default settings, you can have up to 128 partitions.




How do I find out whether my disk uses MBR or GPT from the terminal in Ubuntu?.



So that it would be easy for me while creating partitions.


More From » partitioning

 Answers
5

To find whether your disk is GPT or MBR in ubuntu,you have to install gdisk utility.



sudo apt-get install gdisk


Then run the below command,



sudo gdisk -l /dev/sda



  • If the output of the above command shows like this,then you have MBR disk,



    Partition table scan:
    MBR: MBR only
    BSD: not present
    APM: not present
    GPT: not present

  • If the output shows like this then you have GPT disk,



    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present


[#28096] Saturday, April 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bewre

Total Points: 164
Total Questions: 108
Total Answers: 106

Location: Ghana
Member since Sun, Mar 27, 2022
2 Years ago
bewre questions
Sun, May 14, 23, 13:27, 1 Year ago
Mon, Aug 2, 21, 03:57, 3 Years ago
Thu, Aug 26, 21, 18:05, 3 Years ago
Sat, Aug 6, 22, 21:41, 2 Years ago
Sat, Jul 24, 21, 22:52, 3 Years ago
;