Revert "Revert "added hardwareincompatibilty erros and updated readme""
This reverts commit 1592517042.
This commit is contained in:
parent
1592517042
commit
374cbfc20d
|
|
@ -57,10 +57,10 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs:
|
||||||
This installer will perform the following:
|
This installer will perform the following:
|
||||||
|
|
||||||
* Prompt the user to select a disk and disk-password
|
* Prompt the user to select a disk and disk-password
|
||||||
* Proceed to wipe the selected disk with a `GPT` partition table.
|
* Proceed to wipe the selected disk with a `GPT` partition table on a UEFI system and MBR on a bios system.
|
||||||
* Sets up a default 100% used disk with encryption.
|
* Sets up a default 100% used disk with encryption.
|
||||||
* Installs a basic instance of Arch Linux *(base base-devel linux linux-firmware btrfs-progs efibootmgr)*
|
* Installs a basic instance of Arch Linux *(base base-devel linux linux-firmware btrfs-progs efibootmgr)*
|
||||||
* Installs and configures a bootloader to partition 0.
|
* Installs and configures a bootloader to partition 0 on uefi. on bios it sets the root to partition 0.
|
||||||
* Install additional packages *(nano, wget, git)*
|
* Install additional packages *(nano, wget, git)*
|
||||||
* Installs a network-profile called [workstation](https://github.com/Torxed/archinstall/blob/master/profiles/workstation.json) *(more on network profiles in the docs)*
|
* Installs a network-profile called [workstation](https://github.com/Torxed/archinstall/blob/master/profiles/workstation.json) *(more on network profiles in the docs)*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -331,6 +331,8 @@ class Installer():
|
||||||
self.log(f'Adding bootloader {bootloader} to {self.boot_partition}', level=LOG_LEVELS.Info)
|
self.log(f'Adding bootloader {bootloader} to {self.boot_partition}', level=LOG_LEVELS.Info)
|
||||||
|
|
||||||
if bootloader == 'systemd-bootctl':
|
if bootloader == 'systemd-bootctl':
|
||||||
|
if not hasUEFI():
|
||||||
|
raise HardwareIncompatibilityError
|
||||||
# TODO: Ideally we would want to check if another config
|
# TODO: Ideally we would want to check if another config
|
||||||
# points towards the same disk and/or partition.
|
# points towards the same disk and/or partition.
|
||||||
# And in which case we should do some clean up.
|
# And in which case we should do some clean up.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue