Edit: I am sorry if I used the term bootloader, MBR, GRUB, GRUB UEFI interchangeably because I am not sure what's their difference. The point is I how to repair the part/partition/bootloader/grub/mbr that is required to boot into rootfs?
I am trying to install Ubuntu 20.04 on external HDD using Ubiquity
- MBR on /dev/sdc
- Do not use partition 400 GB
- Swap 6 GB
- Linux 64 GB
- Home 30 GB
My "do not use partition" ended up being used by Ubiquity and the flag is boot. I assumed that is where MBR is installed and it does not need 400 GB. So I decided to:
- I reduced the partition with flag boot to 300 MB
- Format the unallocated to NTFS
Now my Laptop doesn't recognize my external HDD in BIOS boot menu, only Live USB is detected. I assumed:
- I messed up the MBR when shrinking with GPARTED
- Ubiquity does not install EFI Grub thus my BIOS cannot Boot from my hard disk
I plan to remove the "boot flag" partition reinstall MBR and UEFI Grub in the new partition hopefully that can make make me boot to Linux without reinstalling from scratch.