Partition table entries are not in disk order

thufir hawat.thufir at gmail.com
Tue Feb 3 03:10:22 UTC 2015


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.




thanks,

Thufir





More information about the ubuntu-users mailing list