summaryrefslogtreecommitdiff
path: root/setup-disk.in
AgeCommit message (Collapse)Author
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
2017-07-25setup-disk: set passno in fstab so filesystems are fsck'edNatanael Copa
ref #7524
2017-06-16setup-disk: clean up setup_grub/syslinuxNatanael Copa
- 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
2017-06-08setup-disk: add support for ppc64leRoberto Oliveira
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.
2017-05-19setup-disk: add xfs support as boot_fsJakub Skrzypnik
2017-05-19setup-disk: add rootfstype as boot paramNatanael Copa
needed for zfs
2017-04-14setup-disk: disable 64bit ext4 on /bootNatanael Copa
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
2016-12-23setup-disk: exit with proper code on failureKaarle Ritvanen
fixes #2876
2016-12-21setup-disk: dont use local in global scopeNatanael Copa
2016-11-02indent heredocs and replace echos with heredoc where appropriateJakub Jirutka
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2016-06-13setup-disk: only restart syslog if its already runningNatanael Copa
ref #5719
2016-05-20setup-disk: don't install syslinux for data-onlyNatanael Copa
2016-04-05setup-disk: add env var to override mkfs optsNatanael Copa
give the opportunity to set extra opts fo mkfs
2016-04-05setup-disk: only load filesystem module if neededNatanael Copa
The filesystem may be compiled into the kernel
2015-12-17setup-disk: don't install sfdisk on target systemNatanael Copa
2015-12-15setup-disk: don't suggest ramdisksNatanael Copa
filter out ramX block devices (major=1)
2015-12-15setup-disk: don't start modloop serviceNatanael Copa
We should not start modloop when system root is on disk.
2015-12-14setup-disk: only install lvm2 if it will be usedNatanael Copa
2015-12-14setup-disk: clean up install of filesystem progsNatanael Copa
Do not install e2fsprogs unless it will be used
2015-12-14setup-disk: fix bashismNatanael Copa
2015-12-14setup-disk: fix filesystem creation and help textValery Kartel
2015-09-22setup-disk: fix detection of volume groupNatanael Copa
when we have a device like /dev/mapper/vg0-lv_root, then will the LV name not match with lvs' first column.
2015-07-15setup-disk: fix btrfs rootNatanael Copa
fix typo in btrfs-progs. add kernel module eary so /dev/btrfs-control is created. ref #4445