Partition table entries are not in disk order

Bob ubuntu-qygzanxc at listemail.net
Tue Feb 3 03:43:32 UTC 2015


** Reply to message from thufir <hawat.thufir at gmail.com> on Tue, 3 Feb 2015
03:10:22 +0000 (UTC)

> I have:
> 
> 
> thufir at doge:~$ 
> thufir at doge:~$ sudo parted -l 
> Model: ATA ST500DM002-1BD14 (scsi)
> Disk /dev/sda: 500GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
> Disk Flags: 
> 
> Number  Start   End    Size    Type     File system     Flags
>  3      1049kB  375GB  375GB   primary  ext4
>  2      375GB   475GB  100GB   primary  ext4            boot
>  1      475GB   500GB  25.0GB  primary  linux-swap(v1)
> 
> 
> Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /
> dev/sr0
> has been opened read-only.
> Error: /dev/sr0: unrecognised disk label
> Model: TSSTcorp CDDVDW SH-222AL (scsi)                                    
> Disk /dev/sr0: 763MB
> Sector size (logical/physical): 2048B/2048B
> Partition Table: unknown
> Disk Flags: 
> 
> thufir at doge:~$ 
> thufir at doge:~$ sudo fdisk -l 
> 
> Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disklabel type: dos
> Disk identifier: 0x1f3b4b3e
> 
> Device     Boot     Start       End   Sectors   Size Id Type
> /dev/sda1       927944704 976771071  48826368  23.3G 82 Linux swap / 
> Solaris
> /dev/sda2  *    732633088 927944703 195311616  93.1G 83 Linux
> /dev/sda3            2048 732633087 732631040 349.4G 83 Linux
> 
> Partition table entries are not in disk order.
> thufir at doge:~$ 
> 
> 
> How can rename the entries so that they're in disc order.

>From my experience you can not.  gparted assigns partition numbers in the order
you define them even if they are backwards.  The main reason I have decided to
use another program to partition disk drives.

I do not think the error message has anything to do with the way partitions are
defined on your disk.  I have one system running Ubuntu with the partitions
linked out of order without problems.

-- 
Robert Blair




More information about the ubuntu-users mailing list