grml-debootstrap icon indicating copy to clipboard operation
grml-debootstrap copied to clipboard

Detect GPT partition table before installing in non-EFI mode

Open mika opened this issue 1 year ago • 2 comments

If a system was installed in EFI mode and a GPT partition is used, installing GRUB fails pretty at the end of the grml-debootstrap run, if the grml-debootstrap run doesn't use EFI then. This is annoying and I would like us to detect it and at least warn the user about it upfront, so the user can switch partition table to msdos or use EFI mode for installation instead.

mika avatar Sep 29 '23 14:09 mika

It took me a few reads to understand what this ticket is saying, I think it says:

If --efi ... is not passed to grml-debootstrap, but the machine we're running on uses EFI to boot (+ GPT partition table on target device), installing grub fails.

Yes? What about --vmefi?

zeha avatar Nov 11 '23 10:11 zeha

It took me a few reads to understand what this ticket is saying, I think it says:

Haha yeah sorry, I was on the run back then and had hard times myself as well now 8-)

If --efi ... is not passed to grml-debootstrap, but the machine we're running on uses EFI to boot (+ GPT partition table on target device), installing grub fails.

Exactly!

Yes? What about --vmefi?

Sorry, can you please elaborate what you're suggesting hereby? :) (The --vmefi stuff only runs in VM use case, not when running grml-debootstrap to install a non-VM?)

mika avatar Nov 17 '23 17:11 mika