I am in the midst of moving these two partitions from sda5 and sda6 to sda1 and sda2 respectively. This is to allow me to have a contiguous space for the root file system to grow. The following is what I have done so far:
- Create partition sda1 for EFI System with
gdisk
- Create partition sda2 for boot with
gdisk
- Copy content on sda5 to sda1 with
dd
- Copy content on sda6 to sda2 with
dd
- Remove boot flag on the old EFI System sda5 with
parted
The following is what I have now (# parted -l
):
Number Start End Size File system Name Flags
1 1049kB 211MB 210MB fat16 EFI System boot
2 211MB 735MB 524MB ext4 Microsoft basic data
4 200GB 250GB 50GB
5 250GB 250GB 210MB fat16 EFI System Partition
6 250GB 251GB 524MB ext4
7 251GB 481GB 230GB lvm
Upon reboot, the boot menu that I was presented with is still tied to what is inside the old EFI System partition in sda5, despite turning off its boot flag. How to proceed further from here?
dd
to copy content from sda5 to sda1 ?