I had a dual boot SSD with windows7Windows 7 (on primary) and ubuntuUbuntu 18.04 (on extended partition). I needed to delete the windowsWindows partition so as to let ubuntuUbuntu use the entire HDD.
Since ubuntuUbuntu was on the extended partition, it was not possible to resize it. So, I created an image of the ubuntuUbuntu 18.04 partition using clonezillaclonezilla. Then, I deleted all the existing partitions in the SSD and created a single new ext4 partition on the SSD (sda1sda1).
Next I cloned the 18.04 partition image back to the new partition (sda1sda1). However, I got an error message stating that it was unable to restore extended boot record into an extended partition (sda4sda4) which existed in the SSD before creating the new partition table. I tried to use disk repair to fix the boot issue, but it failed to do so.
My question is how to create a bootable ubuntu disk (in a newly formatted/partitioned SSD/HDD) from an image of an ubuntu partition?