summaryrefslogtreecommitdiff
path: root/setup-disk.in
AgeCommit message (Collapse)Author
2022-07-15setup-disk: fix hang with UEFI and interactive 'none'Natanael Copa
Fix a hang that happens with interactively selecting 'none' with efi mode. Fixes commit 851247d96340 (setup-disk: calculate size of ESP parition for grub)
2022-07-12setup-disk: allow set LVM partition size with LVM_SIZENatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10501
2022-07-01setup-disk: exit if either mode or disk is 'none'Natanael Copa
2022-06-28setup-disk: Die if disklessShaRose
If you pass -m none, just return immediately: For non-interactive diskless setups.
2022-05-25setup-disk: use logical_block_size to calculate ESP sizeNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13839
2022-05-25setup-disk: fix whitespace errorNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861
2022-05-23setup-disk: retry on password mismatchNatanael Copa
Retry create luks device if the entered password does not match rather than exit with error. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10514
2022-05-23setup-disk: fail early on partition failureNatanael Copa
Fail early if disk is too small or similar
2022-05-19setup-disk: calculate size of ESP parition for grubNatanael Copa
some devices, like NVME may have a physical block size of 4096, in which case FAT32 needs minimum 260MB. Use physical_block_size to calculate the size for ESP
2022-05-18setup-disk: use smaller ESP partition for UEFINatanael Copa
Grub's efi files are just a few MB, so we can reduce the size of the ESP. We also enforce FAT32, which requires minimum 32MB. Apparently many UEFI firmware implementations only support FAT32. https://wiki.osdev.org/EFI_System_Partition#Format
2022-05-13setup-disk: fix -h usage textNatanael Copa
2022-05-10setup-disk: honor BOOT_SIZE env var for EFI installNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10512
2022-05-04setup-disk: detect raid under cryptNatanael Copa
Make sure we add raid to initfs when we have encrypted raid.
2022-05-04setup-disk: add nvme for early module loadNatanael Copa
Some nvme devices has problems getting detected by nlplug-finds. Work around it by always load nvme early when needed.
2022-05-04setup-disk: enable nvme initfs feature for crypt on nvmeNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10498
2022-05-04setup-disk: enable nvme feature for mdadm on nvmeNatanael Copa
2022-05-04setup-disk: add cryptsys for shorthand of crypt+sysNatanael Copa
2022-05-04setup-disk: remove debug lineNatanael Copa
2022-05-02setup-disk: only install firmware that is usedNatanael Copa
2022-05-02setup-disk: remove grsec tracesNatanael Copa
we have nto supported grsec for a while. Remove everything about grsec and PAX.
2022-03-23setup-disk: add tmpfs to /etc/fstabDrew DeVault
It is more common than not to prefer tmpfs for an Alpine installation.
2022-03-19setup-disk: add support for Raspberry Zero 2 WJoonas Kuorilehto
https://www.raspberrypi.com/documentation/computers/config_txt.html#model-filters Related: alpine/aports!31953
2022-03-16setup-disk: fix pi0 and pi0w initramfs not foundflavorplus
Signed-off-by: flavorplus <flavorplus@users.noreply.github.com>
2022-03-16fix PREFIX in *.inNick Hanley
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts.
2022-03-16setup-disk: update rpi config.txt documentation urlNick Hanley
2022-03-16setup-disk: fix spellingNick Hanley
2022-02-19setup-disk: enable keymap mkinitfs feature if crypt is usedSören Tempel
Fixes #10505
2021-11-22setup-disk: fix Parition id "vfat" is not supportedNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/13209
2021-11-16setup-disk: make the order of 'crypt' and 'lvm' obviousKrystian Chachuła
The order of 'crypt' and 'lvm' can be confusing. This commit disables suggesting 'crypt' when 'lvm' is selected. It also adds a statement about the order of LVM and LUKS when both are selected.
2021-11-16setup-disk: enable password verification in luksFormatKrystian Chachuła
2021-11-16setup-disk: disable prompt and password verification in luksFormatKrystian Chachuła
2021-11-16setup-disk: improve bootloader selectionNatanael Copa
- unify bootloader selection. - respect previously set BOOTLOADER, even if it may not work - fall back to u-boot for arm and aarch64 if not efi fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10489
2021-11-16setup-disk: fix kernel options with encrypted rootNatanael Copa
We should append the kernel options for cryptroot, not replace. This is so nomodeset, quiet and other options are kept.
2021-11-16setup-disk: don't install util-linuxNatanael Copa
It should not be needed
2021-11-16setup-disk: Support encrypted sys and dataKrystian Chachuła
Co-authored-by: Drew DeVault <sir@cmpwn.com> In encrypted sys installs the boot partition is not encrypted and is mounted to /boot. This is because GRUB does not have full support for luks2 encrypted /boot.
2021-09-19riscv64: EFI riggingsDrew DeVault
Minor changes necessary to support EFI on RISC-V.
2021-08-24setup-disk: Add preliminary support for u-boot based boardsSören Tempel
Currently, this bootloader is not set automatically and needs to be set manually using the BOOTLOADER environment variable, e.g.: BOOTLOADER=u-boot setup-disk -m sys /dev/sda Furthermore, it relies on the update-u-boot script to install the bootloader based on the automatically determined defaults.
2021-02-15split modloop copy to a separate scriptAlex Xu (Hello71)
fixes #10468
2021-01-08setup-disk: ask to unmount boot media is no available disks foundNatanael Copa
This makes it convienient to install alpine to disk on rpi or other devices with mmc.
2021-01-08setup-disk: load dm-mod module if neededNatanael Copa
2021-01-08setup-disk: ask fixupNatanael Copa
2021-01-08setup-disk: use ask_yesnoNatanael Copa
2021-01-08setup-disk: use ask for consistencyNatanael Copa
2021-01-08setup-disk: add rpi supportNatanael Copa
set partition type to 0c when boot partition is vfat. RPI wont boot otherwise. disable swap for rpi
2021-01-07setup-disk: rename select_bootloaderNatanael Copa
rename select_bootloader to select_bootloader_pkg as it selects the bootloader package.
2021-01-07setup-disk: dont try install syslinux on unsupported archesNatanael Copa
syslinux only works on x86 and x86_64
2021-01-07setup-disk: allow force install on unsupported bootfsNatanael Copa
2021-01-06setup-disk: use lts as fallback kernel flavorNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10453
2021-01-06add override for custom kernel boot parametersJordan Sokolic
2020-05-03setup-disk: don't add syslinux package for mounted root install unless requestedDaniel Néri