• Carlo Landmeter's avatar
    setup-disk: add EFI and GPT support · 4aeefa04
    Carlo Landmeter authored
    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
    4aeefa04
Name
Last commit
Last update
.editorconfig Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
README Loading commit data...
lbu.conf Loading commit data...
lbu.in Loading commit data...
libalpine.sh.in Loading commit data...
setup-acf.in Loading commit data...
setup-alpine.in Loading commit data...
setup-apkcache.in Loading commit data...
setup-apkrepos.in Loading commit data...
setup-bootable.in Loading commit data...
setup-disk.in Loading commit data...
setup-dns.in Loading commit data...
setup-gparted-desktop.in Loading commit data...
setup-hostname.in Loading commit data...
setup-interfaces.in Loading commit data...
setup-keymap.in Loading commit data...
setup-lbu.in Loading commit data...
setup-mta.in Loading commit data...
setup-ntp.in Loading commit data...
setup-proxy.in Loading commit data...
setup-sshd.in Loading commit data...
setup-timezone.in Loading commit data...
setup-xen-dom0.in Loading commit data...
setup-xfce-desktop Loading commit data...
setup-xfce-desktop.in Loading commit data...
setup-xorg-base.in Loading commit data...
uniso.c Loading commit data...
update-conf.in Loading commit data...
update-kernel.in Loading commit data...