aboutsummaryrefslogtreecommitdiffstats
path: root/setup-disk.in
Commit message (Collapse)AuthorAgeFilesLines
* setup-disk: enable EFI boot on raidNatanael Copa2017-11-291-2/+0
| | | | | 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.
* setup-disk: add nvme or mmc to initramfs if neededNatanael Copa2017-11-291-0/+6
|
* setup-disk: fix initfs_featuresNatanael Copa2017-11-291-4/+1
| | | | | | | We want have fewer features in the initfs and only add those that are needed and detected. This is a revert of 25c4933f121266203bce9024acb2d00421f88e8d
* setup-disk: only install MBR on native installNatanael Copa2017-11-231-1/+2
| | | | we fix this by unsetting BOOTLOADER for all data only setups.
* setup-disk: remove support for floppyNatanael Copa2017-11-221-1/+0
|
* setup-disk: use uuid for swap in fstabNatanael Copa2017-11-221-5/+9
| | | | also fix potential issue where we may have multiple swap devices
* setup-disk: use uuid in fstab for data diskNatanael Copa2017-11-221-1/+1
|
* setup-disk: add dosfstools for efi system partitionTimo Teräs2017-10-191-0/+1
|
* setup-disk: add EFI and GPT supportCarlo Landmeter2017-10-191-109/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* setup-disk: sync mkinitfs features from mkinitfs.conf and include nvmeCarlo Landmeter2017-10-151-1/+1
|
* setup-disk: set passno in fstab so filesystems are fsck'edNatanael Copa2017-07-251-0/+5
| | | | ref #7524
* setup-disk: clean up setup_grub/syslinuxNatanael Copa2017-06-161-14/+14
| | | | | | - 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
* setup-disk: add support for ppc64leRoberto Oliveira2017-06-081-25/+110
| | | | | | | | | 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.
* setup-disk: add xfs support as boot_fsJakub Skrzypnik2017-05-191-2/+2
|
* setup-disk: add rootfstype as boot paramNatanael Copa2017-05-191-0/+1
| | | | needed for zfs
* setup-disk: disable 64bit ext4 on /bootNatanael Copa2017-04-141-1/+4
| | | | | | | 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
* setup-disk: exit with proper code on failureKaarle Ritvanen2016-12-231-0/+2
| | | | fixes #2876
* setup-disk: dont use local in global scopeNatanael Copa2016-12-211-1/+1
|
* indent heredocs and replace echos with heredoc where appropriateJakub Jirutka2016-11-021-60/+60
|
* fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka2016-11-021-5/+5
|
* setup-disk: only restart syslog if its already runningNatanael Copa2016-06-131-1/+1
| | | | ref #5719
* setup-disk: don't install syslinux for data-onlyNatanael Copa2016-05-201-4/+6
|
* setup-disk: add env var to override mkfs optsNatanael Copa2016-04-051-3/+3
| | | | give the opportunity to set extra opts fo mkfs
* setup-disk: only load filesystem module if neededNatanael Copa2016-04-051-1/+3
| | | | The filesystem may be compiled into the kernel
* setup-disk: don't install sfdisk on target systemv3.3.0Natanael Copa2015-12-171-1/+3
|
* setup-disk: don't suggest ramdisksNatanael Copa2015-12-151-1/+2
| | | | filter out ramX block devices (major=1)
* setup-disk: don't start modloop serviceNatanael Copa2015-12-151-0/+3
| | | | We should not start modloop when system root is on disk.
* setup-disk: only install lvm2 if it will be usedNatanael Copa2015-12-141-2/+3
|
* setup-disk: clean up install of filesystem progsNatanael Copa2015-12-141-4/+7
| | | | Do not install e2fsprogs unless it will be used
* setup-disk: fix bashismNatanael Copa2015-12-141-2/+2
|
* setup-disk: fix filesystem creation and help textValery Kartel2015-12-141-12/+21
|
* setup-disk: fix detection of volume groupNatanael Copa2015-09-221-1/+1
| | | | | when we have a device like /dev/mapper/vg0-lv_root, then will the LV name not match with lvs' first column.
* setup-disk: fix btrfs rootNatanael Copa2015-07-151-1/+3
| | | | | | | fix typo in btrfs-progs. add kernel module eary so /dev/btrfs-control is created. ref #4445
* setup-disk: add raid to initfs if root is on lvmNatanael Copa2015-07-151-6/+8
| | | | ref #4421
* setup-disk: give option to use lvmNatanael Copa2015-05-061-3/+20
| | | | Give the option so enable lvm when asking how o use selected disk
* setup-disk: fixes for new sfdiskNatanael Copa2015-05-051-12/+12
|
* setup-disk: fix typoNatanael Copa2015-03-191-1/+1
|
* setup-disk: pass nomodeset boot optionNatanael Copa2014-12-031-0/+12
|
* Add support for btrfs to setup-disk.Juan Francisco Cantero Hurtado2014-11-041-3/+8
|
* setup-disk: use ERE for sed regexpNatanael Copa2014-07-171-1/+1
| | | | the use of \+ is a GNU BRE extension that is not supported in musl.
* setup-disk: fix location for mkinitfs featuresNatanael Copa2014-06-201-3/+3
|
* Fixes #3060, really :)Francesco Colista2014-06-201-5/+5
|
* Fixes #3060Francesco Colista2014-06-201-0/+1
|
* setup-disk: fix progressbarNatanael Copa2014-05-291-1/+1
| | | | apk now sends progressbar to stdout instead of stderr
* setup-disk: fix partitioning of HP raid array (cciss)Natanael Copa2014-05-191-1/+1
| | | | ref #2893
* setup-disk: comment out local repositoriesNatanael Copa2014-04-231-0/+4
| | | | fixes #2540
* setup-disk: add magic environemnt var ERASE_DISKS as confirmationNatanael Copa2014-04-231-12/+16
| | | | | | | Add a magic environment variable ERASE_DISKS as confirmation for erasing disks. This is useful for scripted installs. fixes #2863
* setup-disk: add swap to /etc/fstabNatanael Copa2013-10-241-0/+5
|
* setup-disk: fix running update-extlinux in chrootNatanael Copa2013-10-021-5/+34
| | | | | | | | When installling the packages in new root, the update-extlinux trigger script will be executed. We make sure this does not fail by: - run extlinux --install before we install packages - mount /dev and /proc for the chroot - temprorary disable grsecurity's chroot_caps
* various: use long-form apk optionsDubiousjim2013-07-031-3/+3
|