Find the answer to your Linux question:
Results 1 to 2 of 2
I have 3 disks of 2 TB each, setup as MBR disks. I am running 5 Linux distros in a multi-boot environment. On four of them the 'parted -l' command ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    10

    Linux 'parted -l' shows MBR disks as GPT


    I have 3 disks of 2 TB each, setup as MBR disks.

    I am running 5 Linux distros in a multi-boot environment. On four of them the 'parted -l' command says my last two disks are GPT, while only one of them, Fedora 17 with the latest 'parted' correctly identifies all my disks as MBR. Heres is the output from Suse 11.4 and Fedora 17:

    Code:
    _________
    
    Suse 11.4
    _________
    
    parted -v
    
    parted (GNU parted) 2.3
    
    parted -l
    
    Model: ATA Hitachi HDS72302 (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type      File system  Flags
     1      32.3kB  240GB   240GB   primary   ntfs         hidden, type=17
     2      240GB   593GB   353GB   primary   ntfs         boot, hidden, type=17
     3      593GB   599GB   5355MB  extended               type=05
     5      593GB   595GB   1077MB  logical   ext3         type=83
     6      595GB   596GB   1053MB  logical   ext3         type=bb
     7      596GB   597GB   1077MB  logical   ext3         type=bb
     8      597GB   598GB   1077MB  logical   ext3         type=bb
     9      598GB   599GB   1069MB  logical   ext3         type=bb
     4      1999GB  2000GB  1160MB  primary   fat32        hidden, lba, type=1c
    
    
    Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.
    However, it does not have a valid fake msdos partition table, as it should.
    Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
    partition tables.  Or perhaps you deleted the GPT table, and are now using an
    msdos partition table.  Is this a GPT partition table?
    Yes/No? No                                                                
    Sector size (logical/physical): 512B/4096B
    
    Warning: /dev/sdc contains GPT signatures, indicating that it has a GPT table.  However, it does not have a valid fake msdos partition table, as it should.  Perhaps it was
    corrupted -- possibly by a program that doesn't understand GPT partition tables.  Or perhaps you deleted the GPT table, and are now using an msdos partition table.  Is this a GPT
    partition table?
    Yes/No? No                                                                
    Sector size (logical/physical): 512B/512B
    
    Warning: Unable to open /dev/fd0 read-write (Read-only file system).  /dev/fd0 has been opened read-only.
    Error: /dev/fd0: unrecognised disk label                                  
    Sector size (logical/physical): 512B/512B
    Code:
    _________
    
    Fedora 17
    _________
    
    parted -v
    
    parted (GNU parted) 3.0
    
    parted -l
    
    Model: ATA Hitachi HDS72302 (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End     Size    Type      File system  Flags
     1      32.3kB  240GB   240GB   primary   ntfs         hidden
     2      240GB   593GB   353GB   primary   ntfs         boot, hidden
     3      593GB   599GB   5355MB  extended
     5      593GB   595GB   1077MB  logical   ext3
     6      595GB   596GB   1053MB  logical   ext3
     7      596GB   597GB   1077MB  logical   ext3
     8      597GB   598GB   1077MB  logical   ext3
     9      598GB   599GB   1069MB  logical   ext3
     4      1999GB  2000GB  1160MB  primary   fat32        hidden, lba
    
    
    Model: ATA WDC WD20EARX-00P (scsi)
    Disk /dev/sdb: 2000GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End     Size    Type      File system     Flags
     1      8225kB  545GB   545GB   extended                  lba
     5      8258kB  53.7GB  53.7GB  logical   ext4
     6      53.7GB  107GB   53.7GB  logical   ext3
     7      107GB   161GB   53.7GB  logical   ext4
     8      161GB   215GB   53.7GB  logical   ext3
     9      215GB   268GB   53.7GB  logical   ext4
    10      268GB   321GB   52.4GB  logical   ext3
    11      321GB   373GB   52.4GB  logical   ext4
    12      373GB   426GB   52.4GB  logical   ext3
    13      426GB   485GB   59.6GB  logical   ext3
    14      485GB   540GB   55.1GB  logical
    15      540GB   545GB   4187MB  logical   linux-swap(v1)
     2      1782GB  2000GB  219GB   primary   ntfs            boot, hidden
    
    
    Model: ATA ST2000DL003-9VT1 (scsi)
    Disk /dev/sdc: 2000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End     Size    Type      File system  Flags
     1      8225kB  106GB   106GB   extended               boot
     5      8258kB  52.5GB  52.5GB  logical   ext4
     6      52.5GB  106GB   53.7GB  logical   ext4
    The other Linux distros, Mandriva 2010/2, CentOS 5.8 & 6.3, all report with 'parted -l' output similar to Suse 11.4 running versions of 'parted' less than version 3.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Have you tried latest version of parted in all distros?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •