Age | Commit message (Collapse) | Author |
|
Commit ec0c7a7 changed the sed expression for PREFIX injection but
forgot to update the scripts.
|
|
|
|
|
|
Fixes #10505
|
|
ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/13209
|
|
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.
|
|
|
|
|
|
- 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
|
|
We should append the kernel options for cryptroot, not replace. This is
so nomodeset, quiet and other options are kept.
|
|
It should not be needed
|
|
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.
|
|
Minor changes necessary to support EFI on RISC-V.
|
|
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.
|
|
fixes #10468
|
|
This makes it convienient to install alpine to disk on rpi or other
devices with mmc.
|
|
|
|
|
|
|
|
|
|
set partition type to 0c when boot partition is vfat. RPI wont boot
otherwise.
disable swap for rpi
|
|
rename select_bootloader to select_bootloader_pkg as it selects the
bootloader package.
|
|
syslinux only works on x86 and x86_64
|
|
|
|
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10453
|
|
|
|
|
|
rely on patch in for grub-mkconfig that will parse /etc/os-release
|
|
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.
|
|
|
|
|
|
remove variable that is not needed
|
|
|
|
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.
|
|
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.
|
|
|
|
We want have fewer features in the initfs and only add those that are
needed and detected.
This is a revert of 25c4933f121266203bce9024acb2d00421f88e8d
|
|
we fix this by unsetting BOOTLOADER for all data only setups.
|
|
|
|
also fix potential issue where we may have multiple swap devices
|
|
|
|
|
|
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
|
|
|
|
ref #7524
|
|
- move extlinux_raidopt to setup_syslinux and pass bootdev instead
- pass kernel_opts to grub config too
- make sure to quote the args to setup_grub/syslinux
|
|
This patch allows to install Alpine in the disk on ppc64le.
It installs grub and also configure the 'PowerPC PReP boot'
partition correctly.
For now the installation is enabled by selecting 'sys' option (same
option used for syslinux) in the setup options.
|
|
|
|
needed for zfs
|
|
pv-grub does not support 64bit in ext4. We will likely never need a 16T
boot partition so let us just disable 64bit for /boot.
ref #6962
|