Commit Graph

2611 Commits

Author SHA1 Message Date
Richard Neumann b8ede1b333 Add cpuinfo() 2021-08-20 18:13:23 +02:00
Yash Tripathi c461cc49e7
only prompt if _selected_servers is not set 2021-08-20 03:54:23 +05:30
Yash Tripathi 78bbf26c1a
Update guided.py 2021-08-20 03:48:13 +05:30
Yash Tripathi 6d462ac1cc
added servers key 2021-08-20 03:34:50 +05:30
ギャラ 79f70cee21
Update guided.py
Fix wrong default in kernels.
2021-08-18 20:52:10 +09:00
Anton Hvornum 81e52bc3ff
Reworking logic that selects / and /home for multi-disk configurations. Also added some more debugging 2021-08-18 08:17:50 +02:00
RustyRaptor 71ec22a349
fixed the git checkout non-existent branch
It looks like the `torxed-v2.2.0` branch doesnt exist anymore and I assume its now just `v2.2.0` instead so I changed this command in Using a live ISO
2021-08-17 13:54:26 -06:00
Anton Hvornum 59c366da35
Fixed a prompt error in one of the parted calls. Also started on a more reliable size-conversion that isn't limited to Gigabytes in free_space(). 2021-08-17 20:23:20 +02:00
Felix Yan 339e9f8a42
Add back lightdm, be more explicit 2021-08-05 15:23:50 +08:00
Lucas Pinto 64e6b7b456
Typo
Fix a tiny typo
2021-07-28 01:35:26 +01:00
Felix Yan a1667a25f1
Remove lightdm packages from Deepin profile
As of deepin-session-shell 5.4.42-2 (which is in the deepin group), lightdm is added as a dependency because of lightdm-deepin-greeter. A configuration (usr/share/lightdm/lightdm.conf.d/60-deepin.conf) in startdde (also in the deepin group) should override default lightdm configuration to use lightdm-deepin-greeter instead of the gtk greeter. Thus these two packages could be removed from the profile now.

This effectively reverts #441
2021-07-24 20:41:35 +08:00
CYPT71 bbce3aa26a
Update hardware.py
Rewrite some function 

if condition is True then return true else return false, transform in return condition directly 

Also I don't understand why we need a try/except at line 151 and why we not write return condition ??
2021-07-22 11:47:56 +02:00
j-james b0aa5dcbbb Mention GNOME and KDE's soft dependency on NetworkManager in the install 2021-07-19 16:09:44 -07:00
Yash Tripathi a67a2693db fixed profile selection 2021-07-18 22:41:18 +05:30
Yash Tripathi b60e8dfd10 changed dry_run to dry-run 2021-07-18 21:45:24 +05:30
Yash Tripathi b2476313a7 added new key for desktop-environment 2021-07-18 21:40:44 +05:30
Yash Tripathi b1998ddebf fix for #602, running mklabel before formatting 2021-07-18 17:15:01 +05:30
Yash Tripathi e4eadbb5a8
Merge branch 'master' into patch-2 2021-07-18 01:30:16 +05:30
Yash Tripathi d55b1786c5 created load_config() to load configuration 2021-07-18 01:28:41 +05:30
monosans 3d4f58a04e Replace for loops with comprehensions 2021-07-16 10:42:29 +03:00
Hamad Al Marri 51eb05691a Fix encryption + grub both in UEFI and BIOS systems.
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-07-07 18:38:55 +03:00
Anton Hvornum a53ee624ef Removed debugging 2021-07-04 15:15:21 +02:00
Anton Hvornum f2b0fcc652 Added a filesystem check when marking for formatting, this should ensure that encrypted volumes get a proper filesystem without having to go through an extra step of selecting filesystem. 2021-07-04 15:15:07 +02:00
Anton Hvornum 57bad26553 Added options to mark/unmark partitions for formatting (useful when re-using partitions, and fine tune which data to save and which to wipe). Setting a desired filesystem for a partition (both new ones and the ones being re-used). 2021-07-03 15:10:23 +02:00
Anton Hvornum 51f2eca60e Saving partitioning layout in a layout file (JSON format) 2021-07-03 14:27:49 +02:00
Anton Hvornum e965eaf546 Missing .format() on 'use entire disk' step 2021-07-03 14:00:03 +02:00
Anton Hvornum 20e759d4cc Added more detail to BlockDevice.__repr__ 2021-06-15 11:51:29 +02:00
Anton Hvornum 0079f3d95c Added fs-type and formatting on encrypted partitions that haven't been given a fs-type prior when re-using partitions. 2021-06-15 10:55:36 +02:00
Anton Hvornum 6cf50618b1 Change of variable 2021-06-14 21:37:34 +02:00
Anton Hvornum fa8862a460 moved valid_parted_position to disk. And made it handle float numbers. 2021-06-14 19:04:51 +02:00
Anton Hvornum 6176ac5e5d Since all fs-type's appear to be lower-case in 'man parted', we'll check against a lowered list in general for supported fs-types. 2021-06-14 19:01:06 +02:00
Anton Hvornum 2ac1f453cf Added BlockDevice.largest_free_space and BlockDevice.free_space (iterator). Also added additional supported filesystems to parted. Apparently the online manpages doesn't agree with the local manpages, my previous statement that these gets ignored is false so added those in and removed some that isn't supported by my local manpages, 'ufs' for instance. 2021-06-14 18:53:34 +02:00
Anton Hvornum eb4c134c80 Unifying partioning logic into one function when managing partitions. Rather than giving the option between wiping and creating, and re-using and creating 2021-06-14 16:20:26 +02:00
Anton Hvornum 00b1dfde6d Merged in master 2021-06-14 16:05:19 +02:00
Anton Hvornum 0c203384e0 Re-structuring partition flow 2021-06-14 16:04:43 +02:00
Anton Hvornum 630dedadd1 Legacy re-name of function. 2021-06-14 14:49:49 +02:00
Anton Hvornum 51cb64cc97 Instructed to use truncate instead of dd, as dd is a bit slow. 2021-06-14 09:52:29 +02:00
Anton Hvornum 3a40764194
Merge pull request #580 from dylanmtaylor/patch-1
Change graphics driver prompt to better indicate default action
2021-06-14 09:37:47 +02:00
Anton Hvornum d4f0d411f6 Synced master into partitioning branch 2021-06-14 09:26:03 +02:00
Dylan M. Taylor 8617e0c2b7
Change graphics driver prompt to better indicate default action 2021-06-13 21:51:40 -04:00
Anton Hvornum 1450387fae Started on multiple-disk-re-usage selection process. 2021-06-13 22:06:40 +02:00
Anton Hvornum 8489137b87
Merge pull request #577 from chingnux/fix-silent
fix the case when there's --config but --silent is not set
2021-06-13 16:28:12 +02:00
Yash Tripathi d30a22cae3
Setting proper keys in exported config (#557)
* Set the resolved profile path to the actual desktop environment

* split Nvidia driver list into proprietary and open-source

* Updated select_driver to use archinstall.arguments for driver selection

* Adding default value that works with later .get()

* audio will now be prompted irrespective of profile
2021-06-13 14:52:24 +02:00
Dylan M. Taylor 4e17355796
Implement is_desktop_profile helper function (#575)
* Implement is_desktop_profile helper function

* Make ask_for_audio_selection use generic_select

* Fix default value for audio selection

* Leverage list of supported desktops to perform is_desktop_profile check

* is_desktop_profile was missing a default return value

* Store return value for audio server
2021-06-13 14:32:38 +02:00
Anton Hvornum d76760b45f Removed old safety logics for partitions. Partitions will now always be 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-13 14:25:07 +02:00
Anton Hvornum af790faf7a Added multi-disk suggested layout. It's sorted on performance, and the first relevant disk with the closest size to a desired size will be used for root, and the same (exluding the one already used) will be used for /home 2021-06-13 11:25:33 +02:00
Iru Cai c4edf34764 fix the case when there's --config but --silent is not set 2021-06-13 16:51:57 +08:00
Anton Hvornum 9b6d7021a8 This fixes https://github.com/archlinux/archinstall/pull/426#discussion_r650372664 2021-06-13 10:37:30 +02:00
Anton Hvornum 8cc51cbcdc Merge branch 'torxed-rework-partitioning' of github.com:archlinux/archinstall into torxed-rework-partitioning 2021-06-13 10:34:12 +02:00
Anton Hvornum 858171986c Working suggested single disk layout, preparing for multiple selections. 2021-06-13 10:34:08 +02:00