minor correction about opensysusers

This commit is contained in:
joborun linux 2024-06-28 20:11:08 +02:00
parent 2bd13a1d9f
commit 9869222cfe

View file

@ -41,11 +41,10 @@ This is necessary for installing pacman to the target in order to use the curren
<pre>
# pacman -Sy pacman --config /tmp/pac-inst.conf -r /mnt
# pacman -S base opensysusers** --config /tmp/pac-inst.conf -r /mnt
# pacman -S base --config /tmp/pac-inst.conf -r /mnt
# /mnt/usr/bin/arch-chroot /mnt
</pre>
** Sysusers should be used in lack of systemd to set systemd IDs for special users like systemd does. With the use of s6 and 66 obsysusers is a dependency and replaces opensysusers. Basically it is the same script and runs through a pacman hook reading a sysusers.d directory for users settings by any software that require to execute something as a special system user (neither a regular user or root).
If you want additional packages you can either do this later through chroot or add them at the end of the above command (ie networking package of choice, text editor, arch-install-scripts, bootloader-grub/syslinux, etc. ).
We are trying to make sure you have a fully functional system to boot and login to console, then you can install whatever you like.
@ -75,9 +74,15 @@ Initialize pacman, re-populate its gpg-keys and update the database
# reboot
</pre>
*** You have a choice of joborun's special linux-lts (5.10) or linux (5.15) and if you need linux/linux-lts headers add them to the list. Same for linux-firmware, especially if you have an AMD machine with Radeon gfx card, you will not get anything on screen without it. There are also less frequently maintained kernel's 4.9 5.4 6.2 6.4 6.5 6.6rcxx ...
*** You have a choice of joborun's special linux-lts (5.10) or linux (5.15) and if you need linux/linux-lts headers add them to the list. Same for linux-firmware, especially if you have an AMD machine with Radeon gfx card, you will not get anything on screen without it. There are also less frequently maintained kernel's 4.9 5.4 6.6 (current arch linux-lts but with our modifications) ...
We highly recommend linux-lts (5.10) as a very well developed kernel expiring in 2026, while 5.15 is expected to last only till 2024. So 5.10 is a longer LTS, while 5.15 is a relative short term LTS. Current late lts is 6.1 carried by Arch while 6.5 is current stable. So the choices are wide.
We highly recommend linux-lts (5.10) as a very well developed kernel expiring in 2026, while 5.15 is expected to last only till 2024. Current late lts is 6.6 carried by Arch while 6.9 is current stable. So the choices are wide.
To install an arch kernel, for example current 6.9 labeled as linux:
<pre>pacman -S core/linux{,-headers}</pre>
will install linux and linux-headers from arch core repository and will replace our linux 5.15 (headers are optional for those that need them)
_______________________________________________
@ -142,15 +147,9 @@ You may either reboot at this point or use arch-chroot to get into the installat
## **Welcome to joborun** ##
#### Note 1: #### In general, the hierarchy as seen in pacman.conf works in reverse for wiki. What you can not find here you may find in Obarun, as it applies here as well. What you can't find in Obarun wiki you can find in wiki.archlinux.org, and it applies for Obarun, and applies here as well. With the exception of anything that relates to systemd/logind. On the other side of the coin though there may be a tendency to overbrowse Artix wiki, and with the very specific runit similarity there is nothing that should be relevant, compatible, and non-destructive.
#### Note: #### In general, the hierarchy as seen in pacman.conf works in reverse for wiki. What you can not find here you may find in Obarun, as it applies here as well. What you can't find in Obarun wiki you can find in wiki.archlinux.org, and it applies for Obarun, and applies here as well. With the exception of anything that relates to systemd/logind. On the other side of the coin though there may be a tendency to overbrowse Artix wiki, and with the very specific runit similarity there is nothing that should be relevant, compatible, and non-destructive.
#### Note: 2 ####
Thanks to [[u/unix21311 | https://www.reddit.com/user/unix21311/]] a detail that escaped us, not actually using a different distro to do the installation, till pacman and mirrorlists are installed in the chroot the flag --config /mnt/etc/pacman.conf must be used for your local pacman to be reading a different configuration and repositories than what is native. So the 2nd step of installation was modified. In the first step you use the pacman.conf that is temporary to install joborun's pacman, the 2nd step is using the chroot's own new pacman.conf.
#### Note: 3 ####
Many more thanks to [[u/unix21311 | https://www.reddit.com/user/unix21311/]] for pointing out more errors on the instructions, such as opentmpfiles missing from the base package and not being installed before 1st boot, and installing the kernel from inside a proper arch-chroot instead of using pacman externally from host which fails to produce /boot/ images.
<pre>pacman -Syu -r /mnt</pre>
uses the native (host's) pacman and mirrorlist to install into the chroot /mnt