On 16-04-11 11:42 AM, Mattia Rizzolo wrote: > > Device Boot Start End Sectors Size Id Type > /dev/sda1 * 2046 1953523711 1953521666 931.5G 5 Extended > /dev/sda5 2048 999999487 999997440 476.9G 83 Linux > /dev/sda6 1873524736 1933524991 60000256 28.6G 83 Linux > /dev/sda7 1933524992 1953523711 19998720 9.5G 82 Linux swap / > Solaris > > Partition 1 does not start on physical sector boundary.
If I recall correctly, libparted was not able to handle when there was only one unallocated sector between logical partitions (it expects at least two). In your situation there is only one unallocated sector between the end of sda6 and the start of sda7. The unallocated sector is used to store the Extended Boot Record for a logical partition. To work around the problem you might consider deleting the Linux Swap sda7 partition using fdisk. Next you could recreate the Linux Swap making sure to leave at least two unallocated sectors after sda6. Then you would need to ensure that the UUID for the Linux Swap matched the value in /etc/fstab so that it would automatically be mounted at boot time. Regards, Curtis