summaryrefslogtreecommitdiff
path: root/archlinux.7.txt
blob: 32517fb3c48f7ee6bb045662012a5a5a0ff4ddf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/////
vim:set ts=4 sw=4 syntax=asciidoc noet:
/////
archlinux(7)
============

NAME
----
archlinux - basic configuration

SYNOPSIS
--------
Overview of the basic configuration of Arch Linux.

DESCRIPTION
-----------
Arch Linux exposes the user to the system without hiding any details. This manpage gives a
brief overview of the configuration files that should be set up on a fresh install.

INITSCRIPTS[[I]]
----------------
The initscripts are configured in rc.conf. Here you configure what daemons to start on boot, what storage
technologies should be enabled and, optionally, a basic network setup.

HOSTNAME[[H]]
-------------
The hostname of the machine should be set in /etc/hostname. Additionally, either /etc/hosts should be
configured accordingly, or nss-myhostname should be used. This is needed so the hostname can always
be resolved to the current machine, which is required by some programs.

LOCALIZATION[[L]]
-----------------
Various locales may be enabled in /etc/locale.gen, and generated by locale-gen. The system-wide locale to be used
can be configured in /etc/locale.conf

VIRTUAL CONSOLE[[V]]
--------------------
The virtual console is configured in /etc/vconsole.conf. It allows you to set a font and a keyboard layout, among
other things. Note that these settings only apply to the console, and not if you use X.

TIME[[T]]
---------
The local timezone is configured by *symlinking* /etc/localtime to the correct zoneinfo file under
/usr/share/zoneinfo/. E.g.,

    /etc/localtime -> /usr/share/zoneinfo/Europe/Paris

The real-time clock, which keeps track of time when the computer is off, can be configured to either
be in UTC or in localtime in /etc/adjtime. The default is UTC.

FILESYSTEMS[[F]]
----------------
Filesystems are configured in /etc/fstab, and encryption mappings are configured in /etc/crypttab.

INITRAMFS[[R]]
--------------
The initramfs is generated by mkinitcpio, and can be configured in /etc/mkinitcpio.conf.

PACKAGE MANAGER[[P]]
--------------------
The package manager, pacman, is configured in /etc/pacman.conf.

BOOTLOADER[[B]]
---------------
GRUB's configuration is generated from /etc/default/grub by grub-mkconfig. Syslinux is configured in /boot/syslinux/syslinux.cfg

MODULES[[M]]
------------
Most modules should be loaded on-demand. Modules to be unconditionally loaded at boot can be specified in /etc/modules-load.d/,
and modules to be blacklisted from auto-loading can be configured in /etc/modprobe.d/.

SEE ALSO
--------

rc.conf(5), hostname(5), hosts(5), nsswitch.conf(5), locale.conf(5), vconsole.conf(5), timezone(3), hwclock(8), fstab(5), crypttab(5),
mkinitcpio(8), pacman(8), pacman.conf(5), grub-mkconfig(8), syslinux(1), modules-load.d(5), modprobe.d(5)

AUTHORS
-------
Written by Tom Gundersen.