I installed Ubuntu 20.04 alongside OSX on my early 2015 Macbook pro by following this answer. And somehow I messed up.
I created a separate 400MB EFI partition for Ubuntu but, the system automatically selected Mac OS EFI partition. Can I transfer the Ubuntu boot files to the separate Partition without reinstall? I recently started using Linux. please someone help me out?
$: fdisk /dev/sda
Disk /dev/sda: 233.78 GiB, 251000193024 bytes, 490234752 sectors
Disk model: APPLE SSD SM0256
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E25C4B1F-9E64-4BCB-B346-07F1727F45F3
Device Start End Sectors Size Type
/dev/sda1 40 409639 409600 200M EFI System
/dev/sda2 409640 234784639 234375000 111.8G unknown
/dev/sda3 234784768 235567103 782336 382M EFI System
/dev/sda4 235567104 362520575 126953472 60.5G Linux filesystem
/dev/sda5 362520576 391817215 29296640 14G Linux swap
/dev/sda6 391817216 392595455 778240 380M Microsoft basic data
/dev/sda7 392597504 490233855 97636352 46.6G Microsoft basic data
$ gdisk /dev/sda
Disk /dev/sda: 490234752 sectors, 233.8 GiB
Model: APPLE SSD SM0256
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): E25C4B1F-9E64-4BCB-B346-07F1727F45F3
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 3045 sectors (1.5 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00
2 409640 234784639 111.8 GiB AF0A
3 234784768 235567103 382.0 MiB EF00
4 235567104 362520575 60.5 GiB 8300
5 362520576 391817215 14.0 GiB 8200
6 391817216 392595455 380.0 MiB 0700
7 392597504 490233855 46.6 GiB 0700
However, my main goal was a triple boot and I even installed the 3rd OS too and separated all the three EFI partitions manually (following the above process). Now I'm facing a weird problem. I've created a new question here .Kindly help me regarding that.
– Drazer Jun 24 '20 at 21:49