summaryrefslogtreecommitdiff
path: root/setup-disk.in
AgeCommit message (Collapse)Author
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
2020-01-15setup-disk: dont set GRUB_DISITRBUTORNatanael Copa
rely on patch in for grub-mkconfig that will parse /etc/os-release
2019-12-06setup-disk: let user set ROOT_SIZENatanael Copa
allow user set rootfs size via ROOT_SIZE. For lvm it will be passed directly to lvmcreate. For the sfdisk partitions it will be a number in MiB.
2019-01-23setup-disk: let grub-mkconfig create grub.confNatanael Copa
2018-06-13setup-disk: avoid create unused swap partitionNatanael Copa
2018-06-13setup-disk: simplify grub config generationNatanael Copa
remove variable that is not needed
2018-06-12alpine-conf: fix boot issue by having grub.cfg use linux-vanillaMike Sullivan
2018-06-12setup-disk: install on disk on s390xTuan M. Hoang
In z/VM environment ECKD DASDs need to be low-level formatted with dasdfmt and fdasd before use. These devices don't have partition ids. FBA DASDs are like normal disks - usable with sfdisk/fdisk - and have partition ids. Software raid and LVM on multiple devices are not supported at the moment. Users could install with LVM on single disk and extend logical volume to second disk. In KVM environment Virtual SCSI disks (virtio) are used which are like normal disks. Bootloader is zipl from s390-tools package. This commit introduces setup-dasd.in for DASD functions.
2017-11-29setup-disk: enable EFI boot on raidNatanael Copa
the metadata for the raid on boot partition will be at the end of device, so it will work to boot. It is also tested and works.
2017-11-29setup-disk: add nvme or mmc to initramfs if neededNatanael Copa
2017-11-29setup-disk: fix initfs_featuresNatanael Copa
We want have fewer features in the initfs and only add those that are needed and detected. This is a revert of 25c4933f121266203bce9024acb2d00421f88e8d
2017-11-23setup-disk: only install MBR on native installNatanael Copa
we fix this by unsetting BOOTLOADER for all data only setups.
2017-11-22setup-disk: remove support for floppyNatanael Copa
2017-11-22setup-disk: use uuid for swap in fstabNatanael Copa
also fix potential issue where we may have multiple swap devices
2017-11-22setup-disk: use uuid in fstab for data diskNatanael Copa
2017-10-19setup-disk: add dosfstools for efi system partitionTimo Teräs
2017-10-19setup-disk: add EFI and GPT supportCarlo Landmeter
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
2017-10-15setup-disk: sync mkinitfs features from mkinitfs.conf and include nvmeCarlo Landmeter