nbros652 / LUKS-guided-manual-partitioning

Easily install Ubuntu with FDE and semi-manual partitioning
GNU General Public License v3.0
32 stars 13 forks source link

Error on non-UEFI disks & a solution (GPT vs. MBR) #4

Closed econo202 closed 5 years ago

econo202 commented 5 years ago

The script on line 65 executes parted $disk mktable gpt > /dev/null 2>&1, and creates GPT partition table.

If you have a computer booting BIOS it means that you'd need a separate partition at the beginning of a disk where you'd install GRUB. Therefore after executing the stript you end up with a non-bootable system on non-UEFI computers.

The solution would be to:

nbros652 commented 5 years ago

You're right! This started as a script that I was building for my own system images, and I didn't need to worry about it at the time. I've been a bit busy with work of late and probably won't see a whole lot of free time before July. I'll try to fix this when I can!

econo202 commented 5 years ago

Thank you! I'd resolve it by myself, but I don't have bash skills.

nbros652 commented 5 years ago

This should be fixed now.