Gitlab will be down for a short time due to maintenance starting on Wed 2019-10-23 2:00AM UTC

Commit 4aeefa04 authored by Carlo Landmeter's avatar Carlo Landmeter

setup-disk: add EFI and GPT support

New features:

* auto detect EFI boot and install EFI ESP (force with env USE_EFI=1)
* allow specifying bootloader by env BOOTLOADER (grub or syslinux)
* allow specifying disk label by env DISKLABEL (dos or gpt)

TODO:

* Make sure MBR is only overwritten on native installs.
* Do some more checks to prevent non standard/supported setup
  like GPT on BIOS installs.

TESTS run on ESXi 6.5:

Simple native install

* syslinux OK
* GRUB OK

Extended native install

* LVM OK
* RAID OK
* RAID+LVM OK

EFI install

* Default OK
* LVM OK see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592834
* RAID NOT SUPPORTED

Data install DOS

* Default OK
* LVM OK

Data install GPT

* Default OK
* LVM OK but: /lib/rc/sh/openrc-run.sh: line 273:
  can't create /sys/fs/cgroup/openrc/syslog/tasks: nonexistent directory
parent c3eeebd0
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment