I installed Ubuntu 18.04.4 LTS after Windows 7. I had freed up some space from 2 different Windows volumes and shrank both to have around 104 gb of allocated disk space. Then I instated Ubuntu alongside Windows 7 . I probably should have chosen another method for manually formatting partitions. Now my Windows 7 doesn't boot up it complains about MBR.
The output of free -h
is:
total used free shared buff/cache available
Mem: 19G 2.3G 15G 351M 1.7G 16G
Swap: 2.0G 0B 2.0G
fdisk -l
shows partitions are out of order.
Is there any way I can fix the partition order and be able to boot up Windows 7?
Device Start End Sectors Size Type
/dev/sda1 2048 204861 202814 99M EFI System
/dev/sda2 206848 239946359 239739512 114.3G Microsoft basic data
/dev/sda3 379048568 856529526 477480959 227.7G Microsoft basic data
/dev/sda4 239947776 239949823 2048 1M BIOS boot
/dev/sda5 239949824 379047935 139098112 66.3G Linux filesystem
Partition table entries are not in disk order.