https://wiki.archlinux.org/api.php?action=feedcontributions&user=Nilzao&feedformat=atomArchWiki - User contributions [en]2024-03-28T22:53:23ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=FreeNX&diff=280016FreeNX2013-10-27T13:33:44Z<p>Nilzao: /* Problems */</p>
<hr />
<div>[[Category:Networking]]<br />
[[Category:Secure Shell]]<br />
[[Category:X Server]]<br />
[[cs:FreeNX]]<br />
[[ru:FreeNX]]<br />
[[zh-CN:FreeNX]]<br />
<br />
== Installation ==<br />
Get FreeNX/Nomachine from {{AUR|nx-all}}. Both server and client packages are included in the package.<br />
The sshd daemon (available in openssh package) must be installed and running for it to function properly.<br />
<br />
== Setup ==<br />
<br />
=== Server ===<br />
<br />
<br />
==== SSHD ====<br />
For freenx authentication to work, sshd has to be setup properly.<br />
You need to allow RSAauthentication, Password Authentication, and you also need to include nx public keys to Authorizedkeysfile.<br />
<br />
If you do not want to allow password login globally, add match block at the end of file like below: {{ic|/etc/ssh/sshd_config}}:<br />
RSAAuthentication yes<br />
PubkeyAuthentication yes<br />
PasswordAuthentication no<br />
PermitEmptyPasswords yes<br />
AuthorizedKeysfIle /usr/NX/home/nx/.ssh/authorized_keys /usr/NX/home/nx/.ssh/authorized_keys2<br />
#<br />
#<br />
#<br />
Match Address 127.0.0.1<br />
PasswordAuthentication yes<br />
<br />
==== MAIN CONFIGURATION ====<br />
The main configuration file is located at {{ic|/usr/NX/node.cfg}}.<br />
<br />
''If you are running your SSH daemon on a port other than the default port 22, you'll need to uncomment and update:''{{ic|SSHD_PORT&#61;22}}<br />
<br />
If you use KDE or Gnome desktop environments you do not need to edit this file, as the defaults with the modified MD5SUM command should work in this case. If you use another window manager such as Fluxbox/Openbox or Xfce, you may need to edit this file slightly (see below).<br />
<br />
Or if you are not using CDE but Xfce you could simply edit CDE line like below and start cde from the client:<br />
CommandStartCDE = "/usr/bin/startxfce4"<br />
<br />
After installing the nx-all package, run {{ic|sudo /usr/NX/scripts/setup/nxserver --help}} for an overview of the install and uninstall procedures.<br />
<br />
{{Note|<br />
* You should also install {{Pkg|xdialog}} on the server or you will not see the "suspend/terminate" dialog when you try to close the window or hit {{ic|Ctrl+Alt+t}}.<br />
* Although mostly assumed that you will have it already, {{Pkg|xterm}} is also necessary for some things.<br />
}}<br />
<br />
==== Keys ====<br />
<br />
Keys are used to authenticate the clients with the server by default. You could used the default key created duaring installation or you could create a new pair.<br />
If you create your own key pair, make sure you add the directory of the public key to authorizedkeyfiles in sshd_config and also SSHAuthorizedKeys in node.cfg. And Don't forget to send the private key to the client.<br />
<br />
The public key can be found here check :<br />
/usr/NX/home/nx/.ssh/authorized_keys2<br />
The private key can be found here:<br />
/usr/NX/share/keys/server.id_dsa.key<br />
<br />
Recreation of random keys:<br />
<br />
/usr/NX/bin/nxserver --keygen<br />
<br />
You can check if the nxserver is running by:<br />
<br />
/usr/NX/bin/nxserver --status <br />
<br />
You can also check if a desired user can be logged on by:<br />
<br />
/usr/NX/bin/nxserver --usercheck USERNAME<br />
<br />
==== Starting the server ====<br />
As of installation nxserver is set to start up automatically, however, you are likely to need to restart the server after setting up:<br />
<br />
/usr/NX/bin/nxserver --restart<br />
<br />
=== Client ===<br />
<br />
==== Arch Linux ====<br />
<br />
Install one or both of {{Pkg|opennx}} and {{Pkg|nxclient}} packages.<br />
<br />
==== Windows ====<br />
<br />
Get the client from nomachine's homepage: {{ic|http://www.nomachine.com}}.<br />
<br />
{{Tip|Nomachine tends to remove old clients from their homepage,<br />
If your setup works with a client save it in a safe place.}}<br />
<br />
==== Configuration ====<br />
<br />
As mentioned above, the client must contain the correct key to connect to the server. If you are using the custom keys generated during install, you need to copy the client key to the following locations:<br />
* Windows: {{ic|''your_install_dir_on_windows''/share/keys/client.id_dsa.key}}<br />
* Arch Linux: {{ic|/usr/lib/nx/share/keys/client.id_dsa.key}}<br />
<br />
After moving the keys you may have use the nxclient GUI to import the new keys. From the configuration dialog press the 'Key...' button and import the new client key.<br />
<br />
== Running ==<br />
<br />
After installing nxclient on Arch Linux, executables are available in {{ic|/usr/lib/nx/bin/}} symlinked to {{ic|/usr/bin/}}. At the first run of {{ic|/usr/bin/nxclient}}, the user will be led through a wizard. <br />
<br />
=== Keyboard shortcuts ===<br />
<br />
{{bc|<br />
CTR+ALT+F Toggles full-screen mode. <br />
CTRL+ALT+T Shows the terminate, suspend dialog.<br />
CTRL+ALT+M Maximizes of minimizes the window <br />
CTRL+ALT+Mouse Drags the viewport, so you can view different portions <br />
of the desktop. <br />
CTRL+ALT+Arrows <br />
or Moves the viewport by an incremental amount of pixels. <br />
CTRL+ALT+Keypad <br />
CTRL+ALT+S It will activate "screen-scraping" mode, so all the GetImage<br />
originated by the clients will be forwarded to the real<br />
display. This should make happy those who love taking<br />
screenshots ;-). By pressing the sequence again, nxagent<br />
will revert to the usual "fast" mode.<br />
CTRL+ALT+E lazy image encoding<br />
CTRL+ALT+Shift+ESC Emergency-exit and kill-window<br />
}}<br />
<br />
=== Leaving fullscreen ===<br />
<br />
There is a magic-pixel in the top right corner of nearly every nx-application<br />
in fullscreenmode. Left-click the pixel and application-window gets iconified.<br />
<br />
=== Tips on resume ===<br />
<br />
* Resume is a bit experimental, crashes might appear after session has resumed. You have to find out which apps like resuming and which do not ;) .<br />
* Resuming between Linux and Windows sessions does not work. UPDATE: It appears that version 3.2.0-14 is able to resume Windows-suspended sessions.<br />
* If resume fails let it time out and do not use the cancel button, else sessions will stay open and consume RAM on server. To kill such sessions use the Session Admin program to kill them.<br />
<br />
=== Fix DPI settings ===<br />
<br />
If you like to have the same font-sizes/dpi sizes on all your client session,<br />
set the X resource "Xft.dpi". For example putting the following line into a<br />
user's "~/.Xresources" makes her/his "desktop" a 100dpi.<br />
Xft.dpi: 100<br />
<br />
== FreeNX to existing display ==<br />
<br />
Usually, when connecting to a NX server, a new X session is created. Sometimes it might be useful, to connect to an existing X session, e.g. the root session. This is not possible with NX in default setup, but can be reached, using {{Pkg|tightvnc}} and {{Pkg|x11vnc}}. Install them on the NX server system.<br />
<br />
x11vnc will serve the X session, we have to create a file {{ic|$HOME/.x11vncrc}} to give x11vnc some options, e.g.:<br />
<br />
display :0<br />
shared<br />
forever<br />
localhost<br />
rfbauth /home/''user''/.x11vnc/passwd<br />
<br />
Create the VNC password file:<br />
<br />
$ mkdir $HOME/.x11vnc<br />
$ x11vnc -storepasswd PASSWORD $HOME/.x11vnc/passwd<br />
$ chmod 600 $HOME/.x11vnc/passwd<br />
<br />
Create a shell script, which starts the x11vnc service, if not running and starts the vncviewer provided by the package tightvnc.<br />
<br />
{{Note|The variable {{ic|$VNC_PORT}} in the following script defines the X display, which is configured as {{ic|display :0}} under {{ic|$HOME/.x11vncrc}}, {{ic|590'''0'''}} is the root session, if you want to use {{ic|display :1}} use the port {{ic|590'''1'''}} and so on}}<br />
<br />
{{bc|<nowiki><br />
#!/bin/sh<br />
VNC_VIEWER=vncviewer<br />
VNC_SERVER=x11vnc<br />
VNC_RESOLUTION=1024x786<br />
VNC_PASSWD=/home/USER/.x11vnc/passwd<br />
VNC_PORT=5900<br />
<br />
if [ -z "$(pgrep ${VNC_SERVER})" ]; then<br />
echo $VNC_SERVER not running, starting...<br />
exec $VNC_SERVER &<br />
sleep 5<br />
fi<br />
<br />
exec $VNC_VIEWER -geometry $VNC_RESOLUTION -passwd $VNC_PASSWD localhost::$VNC_PORT<br />
</nowiki>}}<br />
<br />
Save this script with a texteditor of your choice, e.g. under <code>$HOME/shell/nxvnc.sh</code>. Make it executable and create a symbolic link, e.g:<br />
<br />
$ chmod +x $HOME/shell/nxvnc.sh<br />
# ln -s /home/USER/shell/nxvnc.sh /usr/local/bin/nxvnc<br />
<br />
At this point, you might want to test the current configuration:<br />
$ /usr/local/bin/nxvnc<br />
<br />
If the x11vnc service and a vncviewer session is started, you configuration works well. You are now able to connect to the current X session using your NX client with following options:<br />
<br />
{{bc|<br />
Login, Password, Host, Port: your default entries<br />
Desktop: Unix -> Custom<br />
- Settings:<br />
- Run the following command: /usr/local/bin/nxvnc<br />
- New virtual desktop<br />
Display:<br />
- Fullscreen or Custom with you preferred resolution<br />
}}<br />
<br />
You are able to connect to your current X session via NX client now.<br />
<br />
: &mdash; [http://en.opensuse.org/SDB:FreeNX_to_existing_display FreeNX to existing display (opensuse.org)]<br />
<br />
== Setting up non-KDE or Gnome desktop managers ==<br />
<br />
Before following anything in this part, make sure the server working setup and accepting connections. This section only deals with problems once NXClient has logged on.<br />
<br />
It is quite simple (once the server is setup) to connect to Gnome and KDE sessions, however connecting to other window managers (Fluxbox, XFCE, whatever) is slightly different.<br />
<br />
Choosing "custom" and using a command like startx of startfluxbox will either result in a blank screen after the !M logo or the Client to present an error complaining about lack of a X server. A way around this is open a session with the command "startx", and the another with the command to start your window-manager-of-choice.<br />
<br />
If you do not want to do this, you can start X by [[Display Manager|installing a login manager like SLIM or XDM]]. I would recomend using SLiM because of it's small size.<br />
<br />
(Authors note: This is how I got fluxbox, xfce and others to work on my arch installation- however, I have now removed slim from inittab and set the run level back to 3, and yet I can still login perfectly with NXClient. Possibly try this if you get your system working this way, if like me you have a low memory machine.)<br />
<br />
{{Note|The above information may not be true anymore. Once connection and authentication were valid (and xterm was installed on mine), startfluxbox was added to the custom command line, new window was selected, and it started right up.}}<br />
<br />
==== Alternative fix ====<br />
<br />
A simple fix without resorting to the above seems to involve a simple edit to the config file. This should work for Fluxbox/Openbox/XFCE or any other window manager that uses the '''.xinitrc''' startup file in a call to '''startx'''.<br />
<br />
Simply edit the config file {{ic|/etc/nxserver/node.conf}} as root and change:<br />
#USER_X_STARTUP_SCRIPT=.Xclients<br />
to:<br />
USER_X_STARTUP_SCRIPT=.xinitrc<br />
Remember to remove the # symbol from the start of the line.<br />
<br />
Then in the client under configuration settings, choose '''Custom''' as the desktop, and click on settings:<br />
* In the first group select - '''{{ic|Run the default X client Script on server}}'''<br />
* In the second group select - '''{{ic|New virtual desktop}}'''<br />
<br />
== Problems ==<br />
=== Keyboard Mapping problems ===<br />
Keyboard layout aways falls back to en_US.<br />
<br />
After login, run setxkbmap with your layout.<br />
<br />
Example:<br />
<br />
$ setxkbmap -layout br<br />
<br />
or create the file {{ic|/usr/share/X11/xkb/keymap.dir}}<br />
<br />
# touch /usr/share/X11/xkb/keymap.dir<br />
<br />
Creating this file will fix the issue for the next logins.<br />
<br />
=== Debug problems ===<br />
<br />
Edit the nxserver config file {{ic|/etc/nxserver/node.conf}} and change:<br />
<br />
#SESSION_LOG_CLEAN=1<br />
<br />
to <br />
<br />
SESSION_LOG_CLEAN=0<br />
<br />
Then you can look/debug the log files in:<br />
<br />
$HOME/.nx/T-C-''hostname''-''display''-''session-id''<br />
For succesfull connections and:<br />
<br />
$HOME/.nx/F-C-''hostname''-''display''-''session-id''<br />
For failed ones.<br />
<br />
=== Authentication OK, but connection fails ===<br />
<br />
If you are trying to start KDE edit {{ic|/etc/nxserver/node.conf}} and search for:<br />
<br />
COMMAND_START_KDE=startkde<br />
<br />
Replace for:<br />
<br />
COMMAND_START_KDE=/usr/bin/startkde<br />
<br />
=== Key changes ===<br />
<br />
Change the key in GUI setup to new generated key.<br />
<br />
=== Xorg 7 ===<br />
<br />
Be aware that you have to remove the /usr/X11R6 directory, else strange things<br />
can happen.<br />
<br />
=== Wrong password / No connection possible / Key-based authentication ===<br />
<br />
* If you have changed your ssh daemon to run on an alternate port, be sure to modify SSHD_PORT within /etc/nxserver/node.conf.<br />
<br />
* If you get always wrong password or no connection after authentication was done and you are sure that you typed it correct, check that your server can connect to itself using localhost by ssh.<br />
<br />
* If you messed up your key files, create new ones or fix the old ones, it's probably caused by a wrong known_hosts file.<br />
<br />
* If you get wrong password or login, put '''ENABLE_PASSDB_AUTHENTICATION="1"''' in {{ic|/etc/nxserver/node.conf}} and add a user by<br />
# /usr/bin/nxserver --adduser [username]<br />
# /usr/bin/nxserver --passwd [username]<br />
<br />
* The above commands are also necessary if you have disabled password authentication in ssh and instead are using key-based authentication.<br />
<br />
=== NX Crashes on session startup ===<br />
<br />
If your NX Client shows the NX logo then disappears with a Connection Problem dialog afterwards.<br />
<br />
==== Missing Fonts ====<br />
<br />
Then it could be due to missing fonts. Mostly applies if you have installed Arch Linux base and then installed freenx after without the whole X11 set.<br />
<br />
Solution until FreeNX Dependencies is fixed is to install xorg-fonts-misc on your NX Server (pacman -S xorg-fonts-misc) and your NX should work.<br />
<br />
{{Note| This does not apply to freenx 0.6.1-3 and above, fix has been incorporated in it and following versions.}}<br />
<br />
==== Awesome WM ====<br />
<br />
Using the window manager [[Awesome]] does not work with FreeNX. The bug report can be found at [https://awesome.naquadah.org/bugs/index.php?do=details&task_id=844 FS#844 - Awesome does not work with FreeNX]. Troubleshoot with another desktop environment/window manager.<br />
<br />
=== NX logo then blank screen ===<br />
<br />
If you see the NX logo (!M) then a blank screen.<br />
<br />
This problem can be solved by running a login manager- The problem is that X11 is not started, and it appears that "startx" or similar do not work from the freenx client.<br />
Follow these instructions to setup a login manager and load it at startup: [[Display Manager]]<br />
<br />
Blind: If this does not resolve your issues, be aware that freenx and bash_completion do not play well together. I only got things to work after removing bash_completion from the .bashrc.<br />
<br />
=== GDM/XDM Session Menu Error with non-KDE or Gnome Desktop Managers (more common with non-Arch Linux users) ===<br />
<br />
Problem: A session menu comes up talking about "chooseSessionListWidget." A window manager never loads.<br />
<br />
Double check to see if .xinitrc is executable:<br />
<br />
stat -c "%A" ~/.xinitrc<br />
<br />
If the file is not executable, simply:<br />
<br />
chmod +x ~/.xinitrc<br />
<br />
Keep in mind this command should be executed along with pertinent instructions on this page about [[#Setting up non-KDE or Gnome desktop managers|setting up non-KDE or Gnome desktop managers]].<br />
<br />
=== Cannot connect because command sessreg not found ===<br />
<br />
If you get the following error while connecting:<br />
<br />
/usr/bin/nxserver: line 941: sessreg: command not found<br />
NX> 280 Exiting on signal: 15<br />
<br />
then you have to install the package {{Pkg|xorg-server-utils}}.<br />
<br />
=== Broken resume with Cairo 1.12.x ===<br />
<br />
Latest cairo updates broke the render extension. After resuming a session all characters from before suspending won't get rendered. To fix this add this single line to {{ic|/etc/nxserver/node.conf}}.<br />
<br />
AGENT_EXTRA_OPTIONS_X="-norender"<br />
<br />
=== Eclipse crashes when editing a file ===<br />
<br />
The program 'Eclipse' received an X Window System error.<br />
This probably reflects a bug in the program.<br />
The error was 'BadValue (integer parameter out of range for operation)'.<br />
(Details: serial 8414 error_code 2 request_code 149 minor_code 26)<br />
<br />
Start eclipse using (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=386955):<br />
eclipse -vmargs -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false</div>Nilzaohttps://wiki.archlinux.org/index.php?title=Talk:Installation_guide&diff=223689Talk:Installation guide2012-09-17T14:15:02Z<p>Nilzao: /* GRUB2 Installation */</p>
<hr />
<div>== Read this first before add new suggestion ==<br />
* Point of this page is to ''not'' become another Beginner's guide. It's meant to be a ''concise'' checklist of things to be done. So detailed install instruction should go to [[Beginners' Guide]]. <br />
* If anyone wants to discuss/add something, then do it on [[Talk:Beginners%27_Guide/Installation]]. An advanced user will find this page less bloated and easier to read, so let's KISS.<br />
<br />
== GRUB2 Installation ==<br />
<br />
I moved GRUB2 installation after chroot. Otherwise it doesn't work.<br />
grub-bios is in /mnt, so we need to tell grub-install about it. <br />
But arch iso has grub 0.97, and installation - 2.00, so iso's grub doesn't understand installation's files.<br />
--[[User:Shuk|Shuk]] ([[User talk:Shuk|talk]]) 11:42, 23 July 2012 (UTC)<br />
<br />
<br />
to install grub-bios: install guide say:<br />
<br />
''Configure the bootloader: refer back to the appropriate article from the bootloader installation section.''<br />
<br />
at [[Installation_Guide#Configure_system]]<br />
<br />
At this point I did:<br />
grub-mkconfig > /boot/grub/grub.cfg<br />
<br />
then:<br />
grub-install /dev/sda<br />
<br />
--[[User:Nilzao|Nilzao]]<br />
<br />
== GRUB install failure ==<br />
<br />
This doesn't work for me.<br />
<br />
It looks so similar to the Beginners' Guide as to be almost redundant, but the first subtle difference I came across meant (for me) that this procedure failed where the Beginners' Guide succeeded.<br />
<br />
Under "GRUB" you have:<br />
<br />
"Install GRUB2 to the harddrive containing your boot partition before you chroot."<br />
<br />
# grub-install /dev/sda<br />
<br />
<br />
doing so returns:<br />
<br />
"Path /boot/grub is not readable by GRUB on boot. Installation is impossible. Aborting."<br />
<br />
<br />
<br />
In the Beginners' Guide, this step takes place after chrooting, which (for me) works ok, (although the wording - "Install GRUB2 to the harddrive containing your boot partition before you chroot" - is the same, so I guess both wiki entries are at fault).<br />
--[[User:bananabrain|bananabrain]]<br />
<br />
== Link Elinks to wiki ==<br />
<br />
Just read that elinks is included on install iso, maybe add an alias/script to allow loading of wiki guide installation guide? --[[User:Mr Green|Mr Green]]<br />
<br />
== <s> Check MD5 with Windows </s> ==<br />
<br />
Maybe we should add a link to http://www.etree.org/md5com.html - so people know how to check the MD5 with windows. I would add it myself but the page is locked for edit :-( . --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
<br />
: This info should be add to [[Beginner's Guide]]. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 03:26, 25 July 2012 (UTC)<br />
<br />
: QuickSFV is better, IMO. Personally I wouldn't add it at all. Downloading through BitTorrent means that the hash tree is checked, and unless you have a drive with bad sectors ''(in which case you have bigger issues than this)'', then you don't really need to verify it. -- [[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 07:44, 25 July 2012 (UTC)<br />
<br />
== <s> The method to set locale </s> ==<br />
<br />
The documentation sais to set the locale by:<br />
* Set [https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale locale] preferences in {{ic|/etc/locale.conf}}.<br />
The documentation at [https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale locale] sais that the locale can also be set at {{ic|/etc/rc.conf}}. This is confusing and should be clarified. --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
:It can be set in both files. The {{ic|locale.conf}} file is used by systemd and is more portable across distributions. It's relatively new, so the {{ic|rc.conf}} method existed previously (rc.conf is specific to Arch Linux). I think the [[locale]] page makes it pretty clear that both can be used. [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 08:27, 26 July 2012 (UTC)<br />
<br />
== Mention the other config files ==<br />
<br />
The old installation guide said something about editing the other config files:<br />
<br />
* /etc/rc.conf<br />
* [http://wiki.archlinux.org/index.php/Fstab /etc/fstab]<br />
* /etc/mkinitcpio.conf<br />
* /etc/modprobe.d/modprobe.conf<br />
* /etc/resolv.conf<br />
* /etc/hosts<br />
* /etc/locale.gen<br />
* /etc/pacman.d/mirrorlist<br />
* /etc/pacman.conf<br />
* /etc/crypttab<br />
<br />
This guide does not even mention {{ic|/etc/rc.conf}} which is one of the central config files of archlinux. That should be added. --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
: Well I saw this: [[Beginners'_Guide#Configure_system]] so {{ic|/etc/rc.conf}} isnot the official way to configure the system anymore... --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
::True, but some clarification somewhere about exactly which bits of rc.conf are still necessary and which have been superceded (and by what) would be useful. So far it seems like just the first six lines of the LOCALIZATION section and the HOSTNAME line from the networking section. I'm still slightly in the dark here, but getting there. --[[User:bananabrain|bananabrain]]<br />
:::Regarding rc.conf, a lot of information has been added to its man page. I'm not sure how well aligned the [https://projects.archlinux.org/initscripts.git/tree/rc.conf.5.txt man page] and [[rc.conf|wiki page]] for it are, might need some updating. In any case you don't need to change anything in rc.conf for a basic install, so anything regarding that should go into the [[Beginners' Guide]]. --[[User:Emiralle|Emiralle]] ([[User talk:Emiralle|talk]]) 16:59, 24 July 2012 (UTC)<br />
<br />
::::The [[rc.conf]] page will need quite a bit of updating once {{pkg|initscripts}} >= 2012.07.5-1 moves to [core].<br />
::::-- [[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 17:06, 24 July 2012 (UTC)<br />
<br />
== Change section "Connect to the internet" ==<br />
<br />
Since the installation guide is now part of the iso image, I'd like to see a few references to the manpages of the necessary tools here, since you cannot open the network related wiki pages. Maybe something like this would be acceptable:<br />
Assuming a wired ethernet connection, running dhclient or dhcpcd is <br />
sufficient to get a lease. Otherwise set up the connection manually<br />
using ip add, wpa_supplicant (WLAN with WPA), pppoe-setup (DSL), etc.<br />
You can also create and use netcfg profiles. Read more in the manpages:<br />
ip(8), wpa_supplicant(8), pppoe(8), netcfg(8), netcfg-profiles(5)<br />
A reminder to install the packages for the internet connection in the pacstrap section would also be nice. -- [[User:progandy|progandy]]<br />
<br />
== Suggestions to update this guide as part of ISO ==<br />
Since this guide is now being included as 'install.txt' in the ISO, it might be beneficial to incorporate the following changes:<br />
* Entirely remove the '''1. Download''' section and move it to the Download area of the archlinux.org page. This document here is about installing, not downloading, checking, burning discs or dd'ing. The majority of users reading this have likely already booted up the install medium.<br />
* Begin or end the document by mentioning the new archlinux(7) man page which explains the location of important system configuration files<br />
# man archlinux<br />
* Slightly expand the '''6. Connect to the internet''' section to include the most basic examples of setting up a private network using a dynamic and static IP address. (Right now it's only a single paragraph/line.) It's a vital installation step and should actually be moved to the top as one of the first actions during system setup. This fact should be emphasized.<br />
<br />
Obtain dynamic IP <br />
# dhcpcd<br />
<br />
Set static IP<br />
# ip link set dev eth0 up<br />
# ip addr add 192.168.1.2/24 dev eth0<br />
# ip route add default via 192.168.1.1<br />
# echo "nameserver 8.8.8.8" >> /etc/resolv.conf<br />
<br />
--[[User:MajorTom|MajorTom]]<br />
<br />
:* I can agree to all your suggestions, I wonder why no one is modifying the wiki. Internet connection setup is the most important part and should be covered more extensively. In addition to your changes, mention the manpages and configuration templates for netcfg and pppoe-setup/connect. The boot medium must at least contain easy accesible information in order to read all pages referenced in the installation guide. There should also be mentioned that elinks is installed and can be used to access the wiki. --[[User:Progandy|Progandy]] ([[User talk:Progandy|talk]]) 21:50, 24 August 2012 (UTC)<br />
<br />
:* The {{ic|dhcpcd}} network daemon is started automatically: [http://www.archlinux.org/news/install-media-20120804-available/], [https://wiki.archlinux.org/index.php/Beginners%27_Guide#Network_setup], so there's no reason to start it manually. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 08:17, 25 August 2012 (UTC)<br />
<br />
== <s> Change PS1 during chroot </s> ==<br />
<br />
Be handy for some users to export PS1="[ chroot ]" maybe minor change to arch-chroot script [[User:Mr Green|Mr Green]]<br />
<br />
: This will never work. PS1 will be overridden by the shell init inside the chroot, which arch-chroot has zero control over. I can't see unknowingly changing the files inside the chroot as being a good idea.<br />
<br />
== Keymaps ==<br />
<br />
As this guide mentions the loading of keymaps using loadkeys there should be at least a very small example about /etc/vconsole.conf<br />
<br />
Either not talk about keymaps or tell how to make it correct. When this is used as a checklist, the setup of the keymap should not be missing.<br />
: [[KEYMAP]] page link added. Close. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 04:03, 4 September 2012 (UTC)<br />
<br />
:: The section on keymaps and fonts links only to the KEYMAP page. An additional link regarding setting default console font should be added to:<br />
https://wiki.archlinux.org/index.php/Fonts#Console_fonts<br />
<br />
== add a step: setting the clock ==<br />
<br />
Lots of things care about the clock being more-or-less correct, e.g. pacman-key will not work at all if the clock is too far out. Lots of brand new computers come with the clock set to something in the distant past, which causes weird problems during the install. [[User:Thetrivialstuff|Thetrivialstuff]] ([[User talk:Thetrivialstuff|talk]]) 23:14, 31 July 2012 (UTC)<br />
<br />
== pacman-key --init / populate? ==<br />
<br />
Isn't this a required step? pacstrap does not seem to do it on its own. [[User:Thetrivialstuff|Thetrivialstuff]] ([[User talk:Thetrivialstuff|talk]]) 23:15, 31 July 2012 (UTC)<br />
:Edit: Ah; I think this was related to the "set the clock" step -- I see that there is a pacman keyring init in the boot sequence of the latest media, but it (silently?) fails if the local clock is wrong.<br />
::https://mailman.archlinux.org/pipermail/arch-releng/2012-July/002708.html --[[User:Bluewind|Bluewind]] ([[User talk:Bluewind|talk]]) 09:10, 1 August 2012 (UTC)<br />
<br />
== Link to UEFI Bootloaders page ==<br />
<br />
Instead of telling the user to install GRUB(2) alone in case of UEFI, direct the reader to the [[UEFI_Bootloaders]] page which provides info about all the UEFI bootloaders capable of booting linux kernel. Also how can I edit the guide, there is no "edit" tab shown on top of the page. Is this page restricted to few authors only? -- [[User:The.ridikulus.rat|Keshav P R]] ([[User talk:The.ridikulus.rat|talk]]) 15:31, 19 August 2012 (UTC)<br />
<br />
==<s>Add a new language</s>==<br />
<br />
* Could someone add the Language ref to the Portuguese version of this guide?<br />
https://wiki.archlinux.org/index.php/Installation_Guide_%28Portugu%C3%AAs%29<br />
<br />
Cheers!<br />
<br />
:Done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:08, 20 August 2012 (UTC)<br />
<br />
* Same here for the Romanian translation. Add: '''<nowiki>[[ro:Ghid de instalare]]</nowiki>''' above Russian. Thanks! --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 16:33, 20 August 2012 (UTC)<br />
:...and done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:37, 21 August 2012 (UTC)<br />
<br />
* Please also add [[el:Installation_Guide]]. Thanks. --[[User:Maevius|Maevius]] ([[User talk:Maevius|talk]]) 21:14, 27 August 2012 (UTC)<br />
:Done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 09:45, 3 September 2012 (UTC)<br />
<br />
==Styling==<br />
<br />
* The "'''Install a bootloader'''" section should be a bullet point above "Configure the bootloader: refer back to the appropriate ...", no need to have them separate. Using pacstrap to install the bootloader just seems silly (especially since they were also merged in the Beginner's Guide). Also, commands after {{ic|arch-chroot}} would look better if they were indented with "<nowiki>: {{bc|# <command>}}</nowiki>", kinda like how {{ic|# pacman-key -v <iso-file>.sig}} is at the beginning of the article. Would look much cleaner. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 16:33, 20 August 2012 (UTC)</div>Nilzaohttps://wiki.archlinux.org/index.php?title=Talk:Installation_guide&diff=223688Talk:Installation guide2012-09-17T14:11:43Z<p>Nilzao: /* GRUB2 Installation */</p>
<hr />
<div>== Read this first before add new suggestion ==<br />
* Point of this page is to ''not'' become another Beginner's guide. It's meant to be a ''concise'' checklist of things to be done. So detailed install instruction should go to [[Beginners' Guide]]. <br />
* If anyone wants to discuss/add something, then do it on [[Talk:Beginners%27_Guide/Installation]]. An advanced user will find this page less bloated and easier to read, so let's KISS.<br />
<br />
== GRUB2 Installation ==<br />
<br />
I moved GRUB2 installation after chroot. Otherwise it doesn't work.<br />
grub-bios is in /mnt, so we need to tell grub-install about it. <br />
But arch iso has grub 0.97, and installation - 2.00, so iso's grub doesn't understand installation's files.<br />
--[[User:Shuk|Shuk]] ([[User talk:Shuk|talk]]) 11:42, 23 July 2012 (UTC)<br />
<br />
<br />
to install grub-bios: install guide say:<br />
Configure the bootloader: refer back to the appropriate article from the bootloader installation section.<br />
<br />
At this point I did:<br />
grub-mkconfig > /boot/grub/grub.cfg<br />
<br />
then:<br />
grub-install /dev/sda<br />
<br />
--[[User:Nilzao|Nilzao]]<br />
<br />
== GRUB install failure ==<br />
<br />
This doesn't work for me.<br />
<br />
It looks so similar to the Beginners' Guide as to be almost redundant, but the first subtle difference I came across meant (for me) that this procedure failed where the Beginners' Guide succeeded.<br />
<br />
Under "GRUB" you have:<br />
<br />
"Install GRUB2 to the harddrive containing your boot partition before you chroot."<br />
<br />
# grub-install /dev/sda<br />
<br />
<br />
doing so returns:<br />
<br />
"Path /boot/grub is not readable by GRUB on boot. Installation is impossible. Aborting."<br />
<br />
<br />
<br />
In the Beginners' Guide, this step takes place after chrooting, which (for me) works ok, (although the wording - "Install GRUB2 to the harddrive containing your boot partition before you chroot" - is the same, so I guess both wiki entries are at fault).<br />
--[[User:bananabrain|bananabrain]]<br />
<br />
== Link Elinks to wiki ==<br />
<br />
Just read that elinks is included on install iso, maybe add an alias/script to allow loading of wiki guide installation guide? --[[User:Mr Green|Mr Green]]<br />
<br />
== <s> Check MD5 with Windows </s> ==<br />
<br />
Maybe we should add a link to http://www.etree.org/md5com.html - so people know how to check the MD5 with windows. I would add it myself but the page is locked for edit :-( . --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
<br />
: This info should be add to [[Beginner's Guide]]. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 03:26, 25 July 2012 (UTC)<br />
<br />
: QuickSFV is better, IMO. Personally I wouldn't add it at all. Downloading through BitTorrent means that the hash tree is checked, and unless you have a drive with bad sectors ''(in which case you have bigger issues than this)'', then you don't really need to verify it. -- [[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 07:44, 25 July 2012 (UTC)<br />
<br />
== <s> The method to set locale </s> ==<br />
<br />
The documentation sais to set the locale by:<br />
* Set [https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale locale] preferences in {{ic|/etc/locale.conf}}.<br />
The documentation at [https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale locale] sais that the locale can also be set at {{ic|/etc/rc.conf}}. This is confusing and should be clarified. --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
:It can be set in both files. The {{ic|locale.conf}} file is used by systemd and is more portable across distributions. It's relatively new, so the {{ic|rc.conf}} method existed previously (rc.conf is specific to Arch Linux). I think the [[locale]] page makes it pretty clear that both can be used. [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 08:27, 26 July 2012 (UTC)<br />
<br />
== Mention the other config files ==<br />
<br />
The old installation guide said something about editing the other config files:<br />
<br />
* /etc/rc.conf<br />
* [http://wiki.archlinux.org/index.php/Fstab /etc/fstab]<br />
* /etc/mkinitcpio.conf<br />
* /etc/modprobe.d/modprobe.conf<br />
* /etc/resolv.conf<br />
* /etc/hosts<br />
* /etc/locale.gen<br />
* /etc/pacman.d/mirrorlist<br />
* /etc/pacman.conf<br />
* /etc/crypttab<br />
<br />
This guide does not even mention {{ic|/etc/rc.conf}} which is one of the central config files of archlinux. That should be added. --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
: Well I saw this: [[Beginners'_Guide#Configure_system]] so {{ic|/etc/rc.conf}} isnot the official way to configure the system anymore... --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
::True, but some clarification somewhere about exactly which bits of rc.conf are still necessary and which have been superceded (and by what) would be useful. So far it seems like just the first six lines of the LOCALIZATION section and the HOSTNAME line from the networking section. I'm still slightly in the dark here, but getting there. --[[User:bananabrain|bananabrain]]<br />
:::Regarding rc.conf, a lot of information has been added to its man page. I'm not sure how well aligned the [https://projects.archlinux.org/initscripts.git/tree/rc.conf.5.txt man page] and [[rc.conf|wiki page]] for it are, might need some updating. In any case you don't need to change anything in rc.conf for a basic install, so anything regarding that should go into the [[Beginners' Guide]]. --[[User:Emiralle|Emiralle]] ([[User talk:Emiralle|talk]]) 16:59, 24 July 2012 (UTC)<br />
<br />
::::The [[rc.conf]] page will need quite a bit of updating once {{pkg|initscripts}} >= 2012.07.5-1 moves to [core].<br />
::::-- [[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 17:06, 24 July 2012 (UTC)<br />
<br />
== Change section "Connect to the internet" ==<br />
<br />
Since the installation guide is now part of the iso image, I'd like to see a few references to the manpages of the necessary tools here, since you cannot open the network related wiki pages. Maybe something like this would be acceptable:<br />
Assuming a wired ethernet connection, running dhclient or dhcpcd is <br />
sufficient to get a lease. Otherwise set up the connection manually<br />
using ip add, wpa_supplicant (WLAN with WPA), pppoe-setup (DSL), etc.<br />
You can also create and use netcfg profiles. Read more in the manpages:<br />
ip(8), wpa_supplicant(8), pppoe(8), netcfg(8), netcfg-profiles(5)<br />
A reminder to install the packages for the internet connection in the pacstrap section would also be nice. -- [[User:progandy|progandy]]<br />
<br />
== Suggestions to update this guide as part of ISO ==<br />
Since this guide is now being included as 'install.txt' in the ISO, it might be beneficial to incorporate the following changes:<br />
* Entirely remove the '''1. Download''' section and move it to the Download area of the archlinux.org page. This document here is about installing, not downloading, checking, burning discs or dd'ing. The majority of users reading this have likely already booted up the install medium.<br />
* Begin or end the document by mentioning the new archlinux(7) man page which explains the location of important system configuration files<br />
# man archlinux<br />
* Slightly expand the '''6. Connect to the internet''' section to include the most basic examples of setting up a private network using a dynamic and static IP address. (Right now it's only a single paragraph/line.) It's a vital installation step and should actually be moved to the top as one of the first actions during system setup. This fact should be emphasized.<br />
<br />
Obtain dynamic IP <br />
# dhcpcd<br />
<br />
Set static IP<br />
# ip link set dev eth0 up<br />
# ip addr add 192.168.1.2/24 dev eth0<br />
# ip route add default via 192.168.1.1<br />
# echo "nameserver 8.8.8.8" >> /etc/resolv.conf<br />
<br />
--[[User:MajorTom|MajorTom]]<br />
<br />
:* I can agree to all your suggestions, I wonder why no one is modifying the wiki. Internet connection setup is the most important part and should be covered more extensively. In addition to your changes, mention the manpages and configuration templates for netcfg and pppoe-setup/connect. The boot medium must at least contain easy accesible information in order to read all pages referenced in the installation guide. There should also be mentioned that elinks is installed and can be used to access the wiki. --[[User:Progandy|Progandy]] ([[User talk:Progandy|talk]]) 21:50, 24 August 2012 (UTC)<br />
<br />
:* The {{ic|dhcpcd}} network daemon is started automatically: [http://www.archlinux.org/news/install-media-20120804-available/], [https://wiki.archlinux.org/index.php/Beginners%27_Guide#Network_setup], so there's no reason to start it manually. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 08:17, 25 August 2012 (UTC)<br />
<br />
== <s> Change PS1 during chroot </s> ==<br />
<br />
Be handy for some users to export PS1="[ chroot ]" maybe minor change to arch-chroot script [[User:Mr Green|Mr Green]]<br />
<br />
: This will never work. PS1 will be overridden by the shell init inside the chroot, which arch-chroot has zero control over. I can't see unknowingly changing the files inside the chroot as being a good idea.<br />
<br />
== Keymaps ==<br />
<br />
As this guide mentions the loading of keymaps using loadkeys there should be at least a very small example about /etc/vconsole.conf<br />
<br />
Either not talk about keymaps or tell how to make it correct. When this is used as a checklist, the setup of the keymap should not be missing.<br />
: [[KEYMAP]] page link added. Close. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 04:03, 4 September 2012 (UTC)<br />
<br />
:: The section on keymaps and fonts links only to the KEYMAP page. An additional link regarding setting default console font should be added to:<br />
https://wiki.archlinux.org/index.php/Fonts#Console_fonts<br />
<br />
== add a step: setting the clock ==<br />
<br />
Lots of things care about the clock being more-or-less correct, e.g. pacman-key will not work at all if the clock is too far out. Lots of brand new computers come with the clock set to something in the distant past, which causes weird problems during the install. [[User:Thetrivialstuff|Thetrivialstuff]] ([[User talk:Thetrivialstuff|talk]]) 23:14, 31 July 2012 (UTC)<br />
<br />
== pacman-key --init / populate? ==<br />
<br />
Isn't this a required step? pacstrap does not seem to do it on its own. [[User:Thetrivialstuff|Thetrivialstuff]] ([[User talk:Thetrivialstuff|talk]]) 23:15, 31 July 2012 (UTC)<br />
:Edit: Ah; I think this was related to the "set the clock" step -- I see that there is a pacman keyring init in the boot sequence of the latest media, but it (silently?) fails if the local clock is wrong.<br />
::https://mailman.archlinux.org/pipermail/arch-releng/2012-July/002708.html --[[User:Bluewind|Bluewind]] ([[User talk:Bluewind|talk]]) 09:10, 1 August 2012 (UTC)<br />
<br />
== Link to UEFI Bootloaders page ==<br />
<br />
Instead of telling the user to install GRUB(2) alone in case of UEFI, direct the reader to the [[UEFI_Bootloaders]] page which provides info about all the UEFI bootloaders capable of booting linux kernel. Also how can I edit the guide, there is no "edit" tab shown on top of the page. Is this page restricted to few authors only? -- [[User:The.ridikulus.rat|Keshav P R]] ([[User talk:The.ridikulus.rat|talk]]) 15:31, 19 August 2012 (UTC)<br />
<br />
==<s>Add a new language</s>==<br />
<br />
* Could someone add the Language ref to the Portuguese version of this guide?<br />
https://wiki.archlinux.org/index.php/Installation_Guide_%28Portugu%C3%AAs%29<br />
<br />
Cheers!<br />
<br />
:Done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:08, 20 August 2012 (UTC)<br />
<br />
* Same here for the Romanian translation. Add: '''<nowiki>[[ro:Ghid de instalare]]</nowiki>''' above Russian. Thanks! --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 16:33, 20 August 2012 (UTC)<br />
:...and done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:37, 21 August 2012 (UTC)<br />
<br />
* Please also add [[el:Installation_Guide]]. Thanks. --[[User:Maevius|Maevius]] ([[User talk:Maevius|talk]]) 21:14, 27 August 2012 (UTC)<br />
:Done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 09:45, 3 September 2012 (UTC)<br />
<br />
==Styling==<br />
<br />
* The "'''Install a bootloader'''" section should be a bullet point above "Configure the bootloader: refer back to the appropriate ...", no need to have them separate. Using pacstrap to install the bootloader just seems silly (especially since they were also merged in the Beginner's Guide). Also, commands after {{ic|arch-chroot}} would look better if they were indented with "<nowiki>: {{bc|# <command>}}</nowiki>", kinda like how {{ic|# pacman-key -v <iso-file>.sig}} is at the beginning of the article. Would look much cleaner. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 16:33, 20 August 2012 (UTC)</div>Nilzaohttps://wiki.archlinux.org/index.php?title=Talk:Installation_guide&diff=223687Talk:Installation guide2012-09-17T14:11:17Z<p>Nilzao: </p>
<hr />
<div>== Read this first before add new suggestion ==<br />
* Point of this page is to ''not'' become another Beginner's guide. It's meant to be a ''concise'' checklist of things to be done. So detailed install instruction should go to [[Beginners' Guide]]. <br />
* If anyone wants to discuss/add something, then do it on [[Talk:Beginners%27_Guide/Installation]]. An advanced user will find this page less bloated and easier to read, so let's KISS.<br />
<br />
== GRUB2 Installation ==<br />
<br />
I moved GRUB2 installation after chroot. Otherwise it doesn't work.<br />
grub-bios is in /mnt, so we need to tell grub-install about it. <br />
But arch iso has grub 0.97, and installation - 2.00, so iso's grub doesn't understand installation's files.<br />
--[[User:Shuk|Shuk]] ([[User talk:Shuk|talk]]) 11:42, 23 July 2012 (UTC)<br />
<br />
<br />
to install grub-bios: install guide say:<br />
Configure the bootloader: refer back to the appropriate article from the bootloader installation section.<br />
<br />
At this point I did:<br />
grub-mkconfig > /boot/grub/grub.cfg<br />
<br />
then:<br />
grub-install /dev/sda<br />
<br />
--[[User:Nilzao|Nilzao]]<br />
<br />
== GRUB install failure ==<br />
<br />
This doesn't work for me.<br />
<br />
It looks so similar to the Beginners' Guide as to be almost redundant, but the first subtle difference I came across meant (for me) that this procedure failed where the Beginners' Guide succeeded.<br />
<br />
Under "GRUB" you have:<br />
<br />
"Install GRUB2 to the harddrive containing your boot partition before you chroot."<br />
<br />
# grub-install /dev/sda<br />
<br />
<br />
doing so returns:<br />
<br />
"Path /boot/grub is not readable by GRUB on boot. Installation is impossible. Aborting."<br />
<br />
<br />
<br />
In the Beginners' Guide, this step takes place after chrooting, which (for me) works ok, (although the wording - "Install GRUB2 to the harddrive containing your boot partition before you chroot" - is the same, so I guess both wiki entries are at fault).<br />
--[[User:bananabrain|bananabrain]]<br />
<br />
== Link Elinks to wiki ==<br />
<br />
Just read that elinks is included on install iso, maybe add an alias/script to allow loading of wiki guide installation guide? --[[User:Mr Green|Mr Green]]<br />
<br />
== <s> Check MD5 with Windows </s> ==<br />
<br />
Maybe we should add a link to http://www.etree.org/md5com.html - so people know how to check the MD5 with windows. I would add it myself but the page is locked for edit :-( . --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
<br />
: This info should be add to [[Beginner's Guide]]. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 03:26, 25 July 2012 (UTC)<br />
<br />
: QuickSFV is better, IMO. Personally I wouldn't add it at all. Downloading through BitTorrent means that the hash tree is checked, and unless you have a drive with bad sectors ''(in which case you have bigger issues than this)'', then you don't really need to verify it. -- [[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 07:44, 25 July 2012 (UTC)<br />
<br />
== <s> The method to set locale </s> ==<br />
<br />
The documentation sais to set the locale by:<br />
* Set [https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale locale] preferences in {{ic|/etc/locale.conf}}.<br />
The documentation at [https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale locale] sais that the locale can also be set at {{ic|/etc/rc.conf}}. This is confusing and should be clarified. --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
:It can be set in both files. The {{ic|locale.conf}} file is used by systemd and is more portable across distributions. It's relatively new, so the {{ic|rc.conf}} method existed previously (rc.conf is specific to Arch Linux). I think the [[locale]] page makes it pretty clear that both can be used. [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 08:27, 26 July 2012 (UTC)<br />
<br />
== Mention the other config files ==<br />
<br />
The old installation guide said something about editing the other config files:<br />
<br />
* /etc/rc.conf<br />
* [http://wiki.archlinux.org/index.php/Fstab /etc/fstab]<br />
* /etc/mkinitcpio.conf<br />
* /etc/modprobe.d/modprobe.conf<br />
* /etc/resolv.conf<br />
* /etc/hosts<br />
* /etc/locale.gen<br />
* /etc/pacman.d/mirrorlist<br />
* /etc/pacman.conf<br />
* /etc/crypttab<br />
<br />
This guide does not even mention {{ic|/etc/rc.conf}} which is one of the central config files of archlinux. That should be added. --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
: Well I saw this: [[Beginners'_Guide#Configure_system]] so {{ic|/etc/rc.conf}} isnot the official way to configure the system anymore... --[[User:PMay|PMay]] ([[User talk:PMay|talk]])<br />
::True, but some clarification somewhere about exactly which bits of rc.conf are still necessary and which have been superceded (and by what) would be useful. So far it seems like just the first six lines of the LOCALIZATION section and the HOSTNAME line from the networking section. I'm still slightly in the dark here, but getting there. --[[User:bananabrain|bananabrain]]<br />
:::Regarding rc.conf, a lot of information has been added to its man page. I'm not sure how well aligned the [https://projects.archlinux.org/initscripts.git/tree/rc.conf.5.txt man page] and [[rc.conf|wiki page]] for it are, might need some updating. In any case you don't need to change anything in rc.conf for a basic install, so anything regarding that should go into the [[Beginners' Guide]]. --[[User:Emiralle|Emiralle]] ([[User talk:Emiralle|talk]]) 16:59, 24 July 2012 (UTC)<br />
<br />
::::The [[rc.conf]] page will need quite a bit of updating once {{pkg|initscripts}} >= 2012.07.5-1 moves to [core].<br />
::::-- [[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 17:06, 24 July 2012 (UTC)<br />
<br />
== Change section "Connect to the internet" ==<br />
<br />
Since the installation guide is now part of the iso image, I'd like to see a few references to the manpages of the necessary tools here, since you cannot open the network related wiki pages. Maybe something like this would be acceptable:<br />
Assuming a wired ethernet connection, running dhclient or dhcpcd is <br />
sufficient to get a lease. Otherwise set up the connection manually<br />
using ip add, wpa_supplicant (WLAN with WPA), pppoe-setup (DSL), etc.<br />
You can also create and use netcfg profiles. Read more in the manpages:<br />
ip(8), wpa_supplicant(8), pppoe(8), netcfg(8), netcfg-profiles(5)<br />
A reminder to install the packages for the internet connection in the pacstrap section would also be nice. -- [[User:progandy|progandy]]<br />
<br />
== Suggestions to update this guide as part of ISO ==<br />
Since this guide is now being included as 'install.txt' in the ISO, it might be beneficial to incorporate the following changes:<br />
* Entirely remove the '''1. Download''' section and move it to the Download area of the archlinux.org page. This document here is about installing, not downloading, checking, burning discs or dd'ing. The majority of users reading this have likely already booted up the install medium.<br />
* Begin or end the document by mentioning the new archlinux(7) man page which explains the location of important system configuration files<br />
# man archlinux<br />
* Slightly expand the '''6. Connect to the internet''' section to include the most basic examples of setting up a private network using a dynamic and static IP address. (Right now it's only a single paragraph/line.) It's a vital installation step and should actually be moved to the top as one of the first actions during system setup. This fact should be emphasized.<br />
<br />
Obtain dynamic IP <br />
# dhcpcd<br />
<br />
Set static IP<br />
# ip link set dev eth0 up<br />
# ip addr add 192.168.1.2/24 dev eth0<br />
# ip route add default via 192.168.1.1<br />
# echo "nameserver 8.8.8.8" >> /etc/resolv.conf<br />
<br />
--[[User:MajorTom|MajorTom]]<br />
<br />
:* I can agree to all your suggestions, I wonder why no one is modifying the wiki. Internet connection setup is the most important part and should be covered more extensively. In addition to your changes, mention the manpages and configuration templates for netcfg and pppoe-setup/connect. The boot medium must at least contain easy accesible information in order to read all pages referenced in the installation guide. There should also be mentioned that elinks is installed and can be used to access the wiki. --[[User:Progandy|Progandy]] ([[User talk:Progandy|talk]]) 21:50, 24 August 2012 (UTC)<br />
<br />
:* The {{ic|dhcpcd}} network daemon is started automatically: [http://www.archlinux.org/news/install-media-20120804-available/], [https://wiki.archlinux.org/index.php/Beginners%27_Guide#Network_setup], so there's no reason to start it manually. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 08:17, 25 August 2012 (UTC)<br />
<br />
== <s> Change PS1 during chroot </s> ==<br />
<br />
Be handy for some users to export PS1="[ chroot ]" maybe minor change to arch-chroot script [[User:Mr Green|Mr Green]]<br />
<br />
: This will never work. PS1 will be overridden by the shell init inside the chroot, which arch-chroot has zero control over. I can't see unknowingly changing the files inside the chroot as being a good idea.<br />
<br />
== Keymaps ==<br />
<br />
As this guide mentions the loading of keymaps using loadkeys there should be at least a very small example about /etc/vconsole.conf<br />
<br />
Either not talk about keymaps or tell how to make it correct. When this is used as a checklist, the setup of the keymap should not be missing.<br />
: [[KEYMAP]] page link added. Close. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 04:03, 4 September 2012 (UTC)<br />
<br />
:: The section on keymaps and fonts links only to the KEYMAP page. An additional link regarding setting default console font should be added to:<br />
https://wiki.archlinux.org/index.php/Fonts#Console_fonts<br />
<br />
== add a step: setting the clock ==<br />
<br />
Lots of things care about the clock being more-or-less correct, e.g. pacman-key will not work at all if the clock is too far out. Lots of brand new computers come with the clock set to something in the distant past, which causes weird problems during the install. [[User:Thetrivialstuff|Thetrivialstuff]] ([[User talk:Thetrivialstuff|talk]]) 23:14, 31 July 2012 (UTC)<br />
<br />
== pacman-key --init / populate? ==<br />
<br />
Isn't this a required step? pacstrap does not seem to do it on its own. [[User:Thetrivialstuff|Thetrivialstuff]] ([[User talk:Thetrivialstuff|talk]]) 23:15, 31 July 2012 (UTC)<br />
:Edit: Ah; I think this was related to the "set the clock" step -- I see that there is a pacman keyring init in the boot sequence of the latest media, but it (silently?) fails if the local clock is wrong.<br />
::https://mailman.archlinux.org/pipermail/arch-releng/2012-July/002708.html --[[User:Bluewind|Bluewind]] ([[User talk:Bluewind|talk]]) 09:10, 1 August 2012 (UTC)<br />
<br />
== Link to UEFI Bootloaders page ==<br />
<br />
Instead of telling the user to install GRUB(2) alone in case of UEFI, direct the reader to the [[UEFI_Bootloaders]] page which provides info about all the UEFI bootloaders capable of booting linux kernel. Also how can I edit the guide, there is no "edit" tab shown on top of the page. Is this page restricted to few authors only? -- [[User:The.ridikulus.rat|Keshav P R]] ([[User talk:The.ridikulus.rat|talk]]) 15:31, 19 August 2012 (UTC)<br />
<br />
==<s>Add a new language</s>==<br />
<br />
* Could someone add the Language ref to the Portuguese version of this guide?<br />
https://wiki.archlinux.org/index.php/Installation_Guide_%28Portugu%C3%AAs%29<br />
<br />
Cheers!<br />
<br />
:Done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:08, 20 August 2012 (UTC)<br />
<br />
* Same here for the Romanian translation. Add: '''<nowiki>[[ro:Ghid de instalare]]</nowiki>''' above Russian. Thanks! --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 16:33, 20 August 2012 (UTC)<br />
:...and done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:37, 21 August 2012 (UTC)<br />
<br />
* Please also add [[el:Installation_Guide]]. Thanks. --[[User:Maevius|Maevius]] ([[User talk:Maevius|talk]]) 21:14, 27 August 2012 (UTC)<br />
:Done. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 09:45, 3 September 2012 (UTC)<br />
<br />
==Styling==<br />
<br />
* The "'''Install a bootloader'''" section should be a bullet point above "Configure the bootloader: refer back to the appropriate ...", no need to have them separate. Using pacstrap to install the bootloader just seems silly (especially since they were also merged in the Beginner's Guide). Also, commands after {{ic|arch-chroot}} would look better if they were indented with "<nowiki>: {{bc|# <command>}}</nowiki>", kinda like how {{ic|# pacman-key -v <iso-file>.sig}} is at the beginning of the article. Would look much cleaner. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 16:33, 20 August 2012 (UTC)</div>Nilzao