Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
AgeCommit message (Collapse)Author
2021-11-17Fixing broken encryption support in GRUB (#724)Anton Hvornum
* Added multiple `partprobe` calls and added a `.partprobe()` function on partitions, filesystem and blockdevice. * Adding retry attempts to all UUID related operations tied to the boot process * Tweaked logging for mounting and disk related operations * Removed potential SysCall exception disruptor causing exceptions to go by unnoticed * Increased the start position from 1MiB to 5MiB of /boot partition * Optimized the GRUB installation & config code * Improved Partition().uuid to never return None. Instead it will raise an exception if it can't get a PARTUUID within X retries with Y delay per attempt. * Increased sleep timer for partition uuid retrieval, because even with a 3 second sleep it wasn't long enough even on fast devices. * Make GRUB install to /dev/sda instead of /dev/sda1. * Added 10 retries for retreiving PARTUUID with a one second sleep. Instead of increasing the sleep simply add more retries until we find a good balance on slower disks.
2021-11-17Merge PR #716 - Support for efistub-bootloader (API only)Anton Hvornum
Add EFISTUB bootloader support through config/api calls using: ```json { "bootloader": "efistub", "kernels": [ "linux", "linux-lts" ] } ```
2021-11-16Clarification on boot entries when using multiple kernelsAnton Hvornum
2021-11-16Safe dictionary retrievalAnton Hvornum
2021-11-16removed redundant importAnton Hvornum
2021-11-16Removed redundant boot-partition retrieval.Anton Hvornum
2021-11-16Linting issuesAnton Hvornum
2021-11-16Added more logging for debugging purposesAnton Hvornum
2021-11-16Improved error message when failing to detect mount information.Anton Hvornum
2021-11-16Fix unknown-ucode message for EFISTUB bootloaderEttore Forigo
2021-11-15Fix boot partition detection for EFISTUB bootloaderEttore Forigo
2021-11-14Add EFISTUB bootloader supportEttore Forigo
2021-11-11Modified last few places where password gets set.Anton Hvornum
2021-11-07Fixes #690 by Clearing storage['active_boot'] if shutdown was successful (#691)Anton Hvornum
* Clear storage variable if shutdown was successful * Adding shutdown monitoring and debug output. * It seams systemd-run gets a connection reset from running 'shutdown now', but in a good way - so it doesn't raise any exceptions. Or at least that's what it looks like.
2021-11-06Merge branch 'master' of https://github.com/archlinux/archinstall into ↵Anton Hvornum
torxed-fix-109
2021-11-06Added mimic function for file operationsAnton Hvornum
2021-11-06Update installer.pyAnton Hvornum
2021-11-05Fixed default zram conf location and importsAnton Hvornum
2021-11-05Fixed newline in zram confAnton Hvornum
2021-11-05Fixed broken import from masterAnton Hvornum
2021-11-05Fixed broken import from master (GRUB non-EFI might be wonky)Anton Hvornum
2021-11-05Stripped down the default zram configuration for zram-generatorAnton Hvornum
2021-11-05Merged latest masterAnton Hvornum
2021-11-05Merged in master changesAnton Hvornum
2021-11-05Fix import systemd.BootAnton Hvornum
2021-11-05Added more information to the NTP log line.Anton Hvornum
2021-11-05Renamed the ntp function, as it doesn't install/enable ntp any longer. Even ↵Anton Hvornum
tho it uses the NTP protocol.
2021-11-05Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-682Anton Hvornum
2021-11-05Cleaned up all flake8 issues/warnings. Did some code cleaning as well, ↵Anton Hvornum
mostly how we called things in guided.py but also some SysCommand calls
2021-11-02flake8 fix, trailing semicolonAnton Hvornum
2021-11-02Made sure there's a default config that's 'sane'Anton Hvornum
2021-11-02Removed pacstrap of ntpd as it's redundant. Also enabled the ↵Anton Hvornum
systemd-timesyncd service before running a command against it.
2021-11-02Changed from ntpd service to systemd-timesyncd.Anton Hvornum
2021-11-01Improved run_as for installation.arch_chroot()Anton Hvornum
2021-11-01Added a wrapper to create files inside the installation as/for a specified usedAnton Hvornum
2021-11-01Adding in enabling of zram serviceAnton Hvornum
2021-11-01Adding support for swap on zramAnton Hvornum
2021-10-30Wrong lib import pathAnton Hvornum
2021-10-30Added some error handling to mount points not getting mounted properly.Anton Hvornum
2021-10-30Added creating and mounting of subvolume structure for BTRFS.Anton Hvornum
2021-09-17Removing /tmp from fstabAnton Hvornum
Since systemd takes care of mounting /tmp as a tmpt, there's no point in having a manual entry in fstab.
2021-09-14Moved --noconfirm at the end of the pacstrap command to get piped properly ↵Anton Hvornum
to pacman inside pacstrap.
2021-09-13Merging latest changesAnton Hvornum
2021-09-13Added --noconfirm to pacstrap and increased logging verbosity when packages ↵Anton Hvornum
fail, and adding a exception so that the installation doesn't continue silently. This causes too much confusion (even tho I liked the idea that people could recover the missing parts without having to re-run the installer for subsequent steps.
2021-09-12Removed legacy need to add_bootloaderAnton Hvornum
`add_bootloader` no longer needs to have a harddrive given as a argument. It will (and should) auto-detect what's mounted in the `self.target` (aka mountpoint) of the installation.
2021-09-06Merged in master.Anton Hvornum
2021-07-07Fix encryption + grub both in UEFI and BIOS systems.Hamad Al Marri
We need to have two partitions in BIOS one for boot (grub) and the other for root (/). The format of the boot partition is ext2 (so it is added). If disk is chosen to be encrypted, `then /etc/default/grub` is edited as the followings: https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Configuring_GRUB_2 Issue: https://github.com/archlinux/archinstall/issues/586 This work is done while working on CachyOS which is Arch based and it is using customized archinstaller. To test these changes you can try CachyOS installer which supports encrypted disk with grub (https://wiki.cachyos.org/). Hamad
2021-06-13Removed old safety logics for partitions. Partitions will now always be ↵Anton Hvornum
formatted when .format() is called on them. The safety now lay in the code parsing the declerative partition layouts. Also added the encrypt/mount logic for encrypted partitions, which by default will be unencrypted unless a password is specified.
2021-06-13This fixes ↵Anton Hvornum
https://github.com/archlinux/archinstall/pull/426#discussion_r650372664
2021-06-11Made it so that the .partitions property of Install() fetches from live ↵Anton Hvornum
data, rather than storing and caching partitions on initation. Since it now supports mounting a partition layout given by external usage.