updated the installer so that it should actually work
Some checks failed
Build / build (push) Failing after 5m23s
Some checks failed
Build / build (push) Failing after 5m23s
This commit is contained in:
14
examples/archinstall/docs/help/discord.rst
Normal file
14
examples/archinstall/docs/help/discord.rst
Normal file
@@ -0,0 +1,14 @@
|
||||
.. _help.discord:
|
||||
|
||||
Discord
|
||||
=======
|
||||
|
||||
There's a discord channel which is frequented by some `contributors <https://github.com/archlinux/archinstall/graphs/contributors>`_.
|
||||
|
||||
To join the server, head over to `https://discord.gg/aDeMffrxNg <https://discord.gg/aDeMffrxNg>`_ and join in.
|
||||
There's not many rules other than common sense and to treat others with respect. The general chat is for off-topic things as well.
|
||||
|
||||
There's the ``@Party Animals`` role if you want notifications of new releases which is posted in the ``#Release Party`` channel.
|
||||
Another thing is the ``@Contributors`` role can be activated by contributors by writing ``!verify`` and follow the verification process.
|
||||
|
||||
Hop in, we hope to see you there! : )
|
||||
136
examples/archinstall/docs/help/known_issues.rst
Normal file
136
examples/archinstall/docs/help/known_issues.rst
Normal file
@@ -0,0 +1,136 @@
|
||||
.. _help.known_issues:
|
||||
|
||||
Known Issues
|
||||
============
|
||||
|
||||
Some issues are out of the `archinstall`_ projects scope, and the ones we know of are listed below.
|
||||
|
||||
.. _waiting for time sync:
|
||||
|
||||
Waiting for time sync `#2144`_
|
||||
------------------------------
|
||||
|
||||
The usual root cause of this is the network topology.
|
||||
More specifically `timedatectl show`_ cannot perform a proper time sync against the default servers.
|
||||
|
||||
Restarting ``systemd-timesyncd.service`` might work but most often you need to configure ``/etc/systemd/timesyncd.conf`` to match your network design.
|
||||
|
||||
.. note::
|
||||
|
||||
If you know your time is correct on the machine, you can run ``archinstall --skip-ntp`` to ignore time sync.
|
||||
|
||||
Waiting for Arch Linux keyring sync (archlinux-keyring-wkd-sync) to complete. `#2679`_
|
||||
------------------------------
|
||||
|
||||
The ``archlinux-keyring-wkd-sync.service`` or ``archlinux-keyring-wkd-sync.timer`` can hang "indefinitely" some times.
|
||||
This is usually due to an inability to reach the key servers, or a slow connection towards key servers.
|
||||
|
||||
The script ``/usr/bin/archlinux-keyring-wkd-sync`` can be run manually, to verify if it's executing slowly or not.
|
||||
|
||||
If ``systemctl show --property=ActiveEnterTimestamp --no-pager archlinux-keyring-wkd-sync.timer`` shows nothing, it means the built-in sync never finished. Likewise ``systemctl show --no-pager -p SubState --value archlinux-keyring-wkd-sync.service`` most likely shows ``dead``, which means the service never completed.
|
||||
|
||||
To fix this, try the following:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# killall gpg-agent
|
||||
# rm -rf /etc/pacman.d/gnupg
|
||||
# pacman-key --init
|
||||
# pacman-key --populate
|
||||
# pacman -Sy archlinux-keyring
|
||||
# systemctl restart archlinux-keyring-wkd-sync.timer
|
||||
|
||||
.. note::
|
||||
|
||||
If you know the ISO is the latest, and that you have valid GPG keys, try ``archinstall --skip-wkd`` to ignore waiting for the sync.
|
||||
|
||||
If you skip WKD sync, you might end up with:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
> error: archinstall: signature from "Anton Hvornum (Torxed) <torxed@archlinux.org>" is unknown trust
|
||||
> :: File /var/cache/pacman/pkg/archinstall-1.2.3-4-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
|
||||
> Do you want to delete it? [Y/n]
|
||||
|
||||
Missing Nvidia Proprietary Driver `#2002`_
|
||||
------------------------------------------
|
||||
|
||||
In some instances, the nvidia driver might not have all the necessary packages installed.
|
||||
This is due to the kernel selection and/or hardware setups requiring additional packages to work properly.
|
||||
|
||||
A common workaround is to install the package `linux-headers`_ and `nvidia-dkms`_
|
||||
|
||||
ARM, 32bit and other CPU types error out `#1686`_, `#2185`_
|
||||
-----------------------------------------------------------
|
||||
|
||||
This is a bit of a catch-all known issue.
|
||||
Officially `x86_64`_ is only supported by Arch Linux.
|
||||
Hence little effort have been put into supporting other platforms.
|
||||
|
||||
In theory, other architectures should work but small quirks might arise.
|
||||
|
||||
PR's are welcome but please be respectful of the delays in merging.
|
||||
Other fixes, issues or features will be prioritized for the above reasons.
|
||||
|
||||
Keyring is out of date `#2213`_
|
||||
-------------------------------
|
||||
|
||||
Missing key-issues tend to be that the `archlinux-keyring`_ package is out of date, usually as a result of an outdated ISO.
|
||||
There is an attempt from upstream to fix this issue, and it's the `archlinux-keyring-wkd-sync.service`_
|
||||
|
||||
The service starts almost immediately during boot, and if network is not configured in time — the service will fail.
|
||||
Subsequently the ``archinstall`` run might operate on a old keyring despite there being an update service for this.
|
||||
|
||||
There is really no way to reliably over time work around this issue in ``archinstall``.
|
||||
Instead, efforts to the upstream service should be considered the way forward. And/or keys not expiring between a sane amount of ISO's.
|
||||
|
||||
.. note::
|
||||
|
||||
The issue can happen on new ISO's too even as little as a few days after release, as some keys might expire right after the keyring is *"burnt in"* to the ISO.
|
||||
|
||||
.. note::
|
||||
|
||||
Another common issue relating to the network not being configured, is that time might not be set correctly - resulting in the keyring not being able to update. See :ref:`waiting for time sync`.
|
||||
|
||||
AUR packages
|
||||
------------
|
||||
|
||||
This is also a catch-all issue.
|
||||
`AUR is unsupported <https://wiki.archlinux.org/title/Arch_User_Repository#Updating_packages>`_, and until that changes we cannot use AUR packages to solve feature requests in ``archinstall``.
|
||||
|
||||
This means that feature requests like supporting filesystems such as `ZFS`_ can not be added, and issues cannot be solved by using AUR packages either.
|
||||
|
||||
.. note::
|
||||
|
||||
But in spirit of giving the community options, ``archinstall`` supports :ref:`archinstall.Plugins`, which means you can run ``archinstall --plugin <url>`` and source an AUR plugin.
|
||||
|
||||
`torxed/archinstall-aur <https://github.com/torxed/archinstall-aur>`_ is a reference implementation for plugins:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# archinstall --plugin https://archlinux.life/aur-plugin
|
||||
|
||||
`phisch/archinstall-aur <https://github.com/phisch/archinstall-aur>`_ is another alternative:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# archinstall --plugin https://raw.githubusercontent.com/phisch/archinstall-aur/master/archinstall-aur.py
|
||||
|
||||
.. warning::
|
||||
|
||||
This will allow for unsupported usage of AUR during installation.
|
||||
|
||||
.. _#1686: https://github.com/archlinux/archinstall/issues/1686
|
||||
.. _#2002: https://github.com/archlinux/archinstall/issues/2002
|
||||
.. _#2144: https://github.com/archlinux/archinstall/issues/2144
|
||||
.. _#2185: https://github.com/archlinux/archinstall/issues/2185
|
||||
.. _#2213: https://github.com/archlinux/archinstall/issues/2213
|
||||
.. _#2679: https://github.com/archlinux/archinstall/issues/2679
|
||||
.. _linux-headers: https://archlinux.org/packages/core/x86_64/linux-headers/
|
||||
.. _nvidia-dkms: https://archlinux.org/packages/extra/x86_64/nvidia-dkms/
|
||||
.. _x86_64: https://wiki.archlinux.org/title/Frequently_asked_questions#What_architectures_does_Arch_support?
|
||||
.. _archlinux-keyring: https://archlinux.org/packages/core/any/archlinux-keyring/
|
||||
.. _archlinux-keyring-wkd-sync.service: https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/blob/7e672dad10652a80d1cc575d75cdb46442cd7f96/wkd_sync/archlinux-keyring-wkd-sync.service.in
|
||||
.. _ZFS: https://aur.archlinux.org/packages/zfs-linux
|
||||
.. _archinstall: https://github.com/archlinux/archinstall/
|
||||
.. _timedatectl show: https://github.com/archlinux/archinstall/blob/e6344f93f7e476d05bbcd642f2ed91fdde545870/archinstall/lib/installer.py#L136
|
||||
33
examples/archinstall/docs/help/report_bug.rst
Normal file
33
examples/archinstall/docs/help/report_bug.rst
Normal file
@@ -0,0 +1,33 @@
|
||||
.. _help.issues:
|
||||
|
||||
Report Issues & Bugs
|
||||
====================
|
||||
|
||||
Issues and bugs should be reported over at `https://github.com/archlinux/archinstall/issues <https://github.com/archlinux/archinstall/issues>`_.
|
||||
|
||||
General questions, enhancements and security issues can be reported over there too.
|
||||
For quick issues or if you need help, head over to the Discord server which has a help channel.
|
||||
|
||||
Log files
|
||||
---------
|
||||
|
||||
When submitting a help ticket, please include the :code:`/var/log/archinstall/install.log`.
|
||||
It can be found both on the live ISO but also in the installed filesystem if the base packages were strapped in.
|
||||
|
||||
.. tip::
|
||||
| An easy way to submit logs is ``curl -F'file=@/var/log/archinstall/install.log' https://0x0.st``.
|
||||
| Use caution when submitting other log files, but ``archinstall`` pledges to keep ``install.log`` safe for posting publicly!
|
||||
|
||||
There are additional log files under ``/var/log/archinstall/`` that can be useful:
|
||||
|
||||
- ``/var/log/archinstall/user_configuration.json`` - Stores most of the guided answers in the installer
|
||||
- ``/var/log/archinstall/user_credentials.json`` - Stores any usernames or passwords, can be passed to ``--creds``
|
||||
- ``/var/log/archinstall/user_disk_layouts.json`` - Stores the chosen disks and their layouts
|
||||
- ``/var/log/archinstall/install.log`` - A log file over what steps were taken by archinstall
|
||||
- ``/var/log/archinstall/cmd_history.txt`` - A complete command history, command by command in order
|
||||
- ``/var/log/archinstall/cmd_output.txt`` - A raw output from all the commands that were executed by archinstall
|
||||
|
||||
.. warning::
|
||||
|
||||
We only try to guarantee that ``/var/log/archinstall/install.log`` is free from sensitive information.
|
||||
Any other log file should be pasted with **utmost care**!
|
||||
Reference in New Issue
Block a user