ubuntu@ubuntu:~/Downloads$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 194.6G 0 part
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 255.1G 0 part
└─sda6 8:6 0 15.9G 0 part [SWAP]
sdb 8:16 1 2G 0 disk
└─sdb1 8:17 1 2G 0 part /cdrom
loop0 7:0 0 962.1M 1 loop /rofs
ubuntu@ubuntu:~/Downloads$ sudo fixparts /dev/sda
FixParts 0.8.8
Loading MBR data from /dev/sda
Warning: 0xEE partition doesn't start on sector 1. This can cause problems
in some OSes.
MBR command (? for help): ?
a toggle the active/boot flag
c recompute all CHS values
l set partition as logical
o omit partition
p print the MBR partition table
q quit without saving changes
r set partition as primary
s sort MBR partitions
t change partition type code
w write the MBR partition table to disk and exit
MBR command (? for help): p
** NOTE: Partition numbers do NOT indicate final primary/logical status,
** unlike in most MBR partitioning tools!
** Extended partitions are not displayed, but will be generated as required.
Disk size is 976773168 sectors (465.8 GiB)
MBR disk identifier: 0xAC3BE64A
MBR partitions:
Can Be Can Be
Number Boot Start Sector End Sector Status Logical Primary Code
1 * 2048 206847 primary Y 0x07
2 206848 408370837 primary Y 0x07
5 408371200 943415295 logical Y Y 0x83
6 943417344 976771071 logical Y Y 0x82
MBR command (? for help):