Difference between revisions of "Talk:Installation guide"

From ArchWiki
Jump to: navigation, search
(Keymaps)
(Add hostname to /etc/hosts: re, close)
 
(260 intermediate revisions by 53 users not shown)
Line 1: Line 1:
== Read this first before add new suggestion ==
+
== Read this first before adding new suggestions ==
* 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]].
+
* If there is something to discuss which should also affect the Beginner's guide, 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.
+
  
== Prominently link to [[Beginners' Guide]] ==
+
* The point of this page is to ''not'' become another Beginners' guide. It is meant to be a ''concise'' checklist of things to be done. So, detailed installation instructions should go to [[Beginners' guide]].
 +
* If there is something to discuss which should also affect the Beginners' guide, then do it on [[Talk:Beginners' guide]]. An advanced user will find this page less bloated and easier to read, so let's KISS.
 +
* systemd tools such as ''hostnamectl'', ''timedatectl'' and ''localectl'' [https://github.com/systemd/systemd/issues/798#issuecomment-126568596 do not work] in the installation chroot environment, so please do not propose to use them in the guide unless you can prove that they have been made to work also in that case. See [https://wiki.archlinux.org/index.php?title=Talk:Beginners%27_guide&oldid=388727#General_problems], [https://wiki.archlinux.org/index.php?title=Talk:Beginners%27_guide&oldid=404695#Replace_commands_with_their_systemd_equivalents], [https://wiki.archlinux.org/index.php?title=Talk:Beginners%27_guide&oldid=418662#Utilizing_systemd_tools] and [https://wiki.archlinux.org/index.php?title=Talk:Installation_guide&oldid=434985#change_configuration_system_from_old_way_to_new_way.28using_systemd_commands.29] for some past discussions about this issue.
  
From https://www.archlinux.org new users who want to install Arch are likely to end up here, while for them the [[Beginners' Guide]] is a much better fit. IMHO this should be noted in the introductionary paragraphs. --[[User:Raboof|Raboof]] ([[User talk:Raboof|talk]]) 18:14, 3 March 2013 (UTC)
+
__TOC__
:I plan on improving this to the point where that shouldn't be necessary. Feedback on what needs to be added here to fill any gaps would be helpful. It's not going to duplicate high quality pages though. If they're not approachable for beginners it should be fixed there instead of duplicated. [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 03:27, 15 March 2013 (UTC)
+
  
:Meaning in the future there ''will'' be no beginner's guide? --[[User:Ewtoombs|Ewtoombs]] ([[User talk:Ewtoombs|talk]]) 17:21, 16 March 2013 (UTC)
+
== Let's mention filesystem tools in pacstrap step ==
::Well I'm not setting out to delete it, but the purpose of having an entirely separate guide for beginners should begin to fade away. [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 09:03, 1 April 2013 (UTC)
+
  
== Change section "Connect to the internet" ==
+
I propose changing the sentence to ''Other packages or groups can be installed by appending their names to the above command (space separated), possibly including the boot loader '''or filesystem tools'''.'' As the purpose of the site is that it is a checklist, it should mention the most common pacstrap packages such as filesystem tools (for example btrfs-progs are needed separately).
  
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:
+
{{unsigned|18:43, 8 April 2016‎|Drws}}
  Assuming a wired ethernet connection, running dhclient or dhcpcd is
+
  sufficient to get a lease. Otherwise set up the connection manually
+
  using ip add, wpa_supplicant (WLAN with WPA), pppoe-setup (DSL), etc.
+
  You can also create and use netcfg profiles. Read more in the manpages:
+
  ip(8), wpa_supplicant(8), pppoe(8), netcfg(8), netcfg-profiles(5)
+
A reminder to install the packages for the internet connection in the pacstrap section would also be nice. -- [[User:progandy|progandy]]
+
  
== Suggestions to update this guide as part of ISO ==
+
:The {{grp|base}} group already includes {{pkg|e2fsprogs}}, {{pkg|jfsutils}}, {{pkg|reiserfsprogs}}, {{pkg|sysfsutils}} and {{pkg|xfsprogs}}, but no boot loader (except [[systemd-boot]]). Adding a hint for filesystem tools is of much less value than boot loaders, because the system will boot even without the file system tools, which would otherwise have to be loaded from the file system they should make accessible. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 20:58, 8 April 2016 (UTC)
Since this guide is now being included as 'install.txt' in the ISO, it might be beneficial to incorporate the following changes:
+
* 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.
+
* Begin or end the document by mentioning the new archlinux(7) man page which explains the location of important system configuration files
+
# man archlinux
+
* 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.
+
  
Obtain dynamic IP
+
==<s> change configuration system from old way to new way(using systemd commands) </s>==
# dhcpcd
+
  
Set static IP
+
now, we suggested using <code>ln</code>command and <code>echo</code>command to configuration time zone, locale and keymaps as below:
  # ip link set dev eth0 up
+
  ln -s /usr/share/zoneinfo/''zone''/''subzone''
# ip addr add 192.168.1.2/24 dev eth0
+
  echo &apos;LANG=''yourlocale''&apos; > /etc/locale.conf
  # ip route add default via 192.168.1.1
+
but ArchLinux uses systemd in default, so we should using systemd command as below, I think.
# echo "nameserver 8.8.8.8" >> /etc/resolv.conf
+
timedatectl set-timezone ''zone''/''subzone''
 +
localectl set-locale LANG=&apos;''yourlocale''&apos;
 +
localectl set-keymaps ''yourkeymap''
  
--[[User:MajorTom|MajorTom]]
+
{{Unsigned|14 May 2016‎|Orumin}}
  
:* 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)
+
:Has anything changed since [https://wiki.archlinux.org/index.php?title=Talk:Beginners%27_guide&oldid=416614#Utilizing_systemd_tools] and all its trail of linked discussions? If not, maybe we should start "sticking" a Note or something about this at the top of our installation guides' talk pages. [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 03:34, 14 May 2016 (UTC)
  
:* The {{ic|dhcpcd}} network daemon is started automatically: [https://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)
+
::Nope, nothing new. +1 to adding a note. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 10:48, 14 May 2016 (UTC)
  
== <s> Keymaps </s> ==
+
::sorry, I didn't see Beginners guide page. I'll withdraw this proposal -- [[User:orumin]] ([[User talk:orumin|talk]]) 14:02, 14 May 2016 (UTC)
  
As this guide mentions the loading of keymaps using loadkeys there should be at least a very small example about /etc/vconsole.conf
+
:::No worries :) [https://wiki.archlinux.org/index.php?title=Talk%3AInstallation_guide&type=revision&diff=435045&oldid=434985 Notes] [https://wiki.archlinux.org/index.php?title=Talk%3ABeginners%27_guide&type=revision&diff=435044&oldid=432775 added], closed. — [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 06:24, 15 May 2016 (UTC)
  
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.
+
== <s>Add hostname to /etc/hosts</s> ==
: [[KEYMAP]] page link added. Close. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 04:03, 4 September 2012 (UTC)
+
  
:: The section on keymaps and fonts links only to the KEYMAP page. An additional link regarding setting default console font should be added to:
+
As an experienced Unix, Linux and Arch Linux user, it took me a while to figure out why {{ic|hostname -f}}, {{ic|emacs}} and friends were so slow to fire up: I have gotten used to configure the system off the top of my head, only referring to {{ic|install.txt}} from the ISO to make sure I haven't forgotten anything... Which is why I forgot to add the hostname to {{ic|/etc/hosts}}. I suggest adding a hint like this:
https://wiki.archlinux.org/index.php/Fonts#Console_fonts
+
: Link updated. Thanks for suggestion. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 13:47, 18 May 2013 (UTC)
+
  
== add a step: setting the clock ==
+
Set the hostname:
 +
# echo computer_name > /etc/hostname
 +
It is recommended to add the hostname to /etc/hosts as well.
  
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)
+
-- [[User:Ambrevar|Ambrevar]] ([[User talk:Ambrevar|talk]]) 13:13, 21 May 2016 (UTC)
  
I agree, the instructions in "Installation Guide" leaves you without a /etc/adjtime file.
+
:Well, the install.txt is only the essential steps. For your emacs, there is a [[Emacs#Slow_startup]] hint already. This guide already has the crosslink to [[Network configuration#Set the hostname]], which was worked out after an extensive [https://wiki.archlinux.org/index.php?title=Talk:Network_configuration&diff=362901&oldid=360328 discussion] about why adding it to /etc/hosts is still necessary (frequently, but not generally). Based on the existing crosslink in this guide and the discussion I'd say it is out-of-scope here. Closing, please re-open if it is a general issue and (best example) there is something not working in the base install due to it missing in {{ic|/etc/hosts}}. Thanks. --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 20:00, 21 May 2016 (UTC)
The following should be added (taken from beginners guide, but shortened):
+
Set the hardware clock and generate a {{ic|/etc/adjtime}} file with {{ic|# hwclock --systohc --utc}} or {{ic|# hwclock --systohc --localtime}}
+
[[User:Bwid|Bwid]] ([[User talk:Bwid|talk]]) 08:03, 3 March 2013 (UTC)
+
:There's no need for an adjtime file, but it does make sense to have people use {{ic|timedatectl}} from the live media to set the clock correctly. -- [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 03:30, 15 March 2013 (UTC)
+
  
== pacman-key --init / populate? ==
+
::Agreed. Actually the reason it took me such a long time to resolve the issue on my system is that I knew about the host resolution problem with Emacs, but somehow I was convinced that Emacs was using /etc/hostname and thus that my hostname was properly set. I completely forgot about the other one. --[[User:Ambrevar|Ambrevar]] ([[User talk:Ambrevar|talk]]) 00:35, 22 May 2016 (UTC)
  
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)
+
:::Ok, thanks. So we keep as is for now. It certainly is a point that should be considered again with the eventual [[Talk:Beginners'_guide#A_single.2C_unified_official_install_guide|unification]] of install guides. --[[User:Indigo|Indigo]] ([[User talk:Indigo|talk]]) 10:50, 23 May 2016 (UTC)
: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.
+
::https://mailman.archlinux.org/pipermail/arch-releng/2012-July/002708.html --[[User:Bluewind|Bluewind]] ([[User talk:Bluewind|talk]]) 09:10, 1 August 2012 (UTC)
+
  
== Link to UEFI Bootloaders page ==
+
==<s> Consistency with Beginner's Guide Style (File Editing) </s>==
  
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)
+
Specifically, I don't think we should use ''echo'' to place text in a file for the hostname and locale in the installation guide. We are actually going against our own style guide here ([[Help:Style#File_editing_requests]]). If anything we should expect advanced users who use the installation guide not to need copy/paste commands. -- [[User:Rdeckard|Rdeckard]] ([[User_talk:Rdeckard|talk]]), [[ArchWiki:Maintainers|ArchWiki Maintainer]] 13:44, 21 May 2016 (UTC)
  
==Styling==
+
:Indeed, I hope [https://wiki.archlinux.org/index.php?title=Installation_guide&type=revision&diff=436016&oldid=436014 this] fixes it. [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 05:21, 22 May 2016 (UTC)
 
+
* 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)
+
 
+
:I agree that Install a Bootloader should be above Configure the Bootloader. As for the thing with pacstrap installing the bootloader, that must have already been changed, since I didn't find that anywhere. --[[User:Ewtoombs|Ewtoombs]] ([[User talk:Ewtoombs|talk]]) 17:27, 16 March 2013 (UTC)
+
 
+
==Proposed changes to Beginners' Guide and link to Post-Installation==
+
Some major changes are under discussion in [[Talk:Beginners'_Guide#Guide_restructuring]]: some of them would require adjustments to this very guide, see for example [https://wiki.archlinux.org/index.php?title=Talk%3ABeginners%27_Guide&diff=224578&oldid=224567 this post].
+
 
+
Please reply in the linked discussion, '''not''' here.
+
 
+
-- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 12:15, 22 September 2012 (UTC)
+
 
+
:I've added the steps in [[Beginners' Guide/Post-Installation]] to this guide, which now directly sends users to [[Beginners' Guide/Extra]].
+
:If however [[Talk:Beginners' Guide#Guide restructuring]] will be implemented as planned, the [[Beginners' Guide]] will have a slightly different installation procedure than this guide, unless this one is updated too.
+
:-- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 14:08, 24 September 2012 (UTC)
+
 
+
::Shouldn't the information be added ''before'' "Unmount leftovers and reboot" ? By the way, the title should mention rebooting, because most likely a kernel update was involved. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 14:41, 24 September 2012 (UTC)
+
 
+
:::The link to Post-Installation was the last step of the guide, so that's the line I've replaced with the instructions from Post-Installation.
+
:::About rebooting in case of a kernel upgrade, I don't think it's necessary to state that since this guide is aimed at experienced users.
+
:::In any case, any reordering or modification of the various steps should better be approved by a Developer, and probably the forum or the mailing lists are better places than this talk page to involve them in such discussions.
+
:::-- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 14:59, 24 September 2012 (UTC)
+
 
+
::::Yeah, but at this point, you were instructed to reboot. In order to edit {{ic|pacman.conf}}, you need to mount the root partition. And to update your system, you need to chroot into it. It would be better if "Unmount leftovers" was renamed "Unmount leftovers and reboot", and added at the end (before the suggestion to read the instructions from '''Extra'''). --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 15:07, 24 September 2012 (UTC)
+
 
+
:::::You are still instructed to reboot, aren't you? The "Unmount leftovers" section currently tells you to ''"reboot and then login into the new system with the root account"''. In the "new system", the correct partition is already mounted at /.
+
:::::Whether or not configuring pacman, updating the system and adding a user would be better done in the chroot before rebooting, it's something that should be discussed with a Developer. I too think that it would make more sense, requiring one less reboot in case of a kernel upgrade.
+
:::::-- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 15:18, 24 September 2012 (UTC)
+
:::::Renaming "Unmount leftovers" to "Unmount leftovers and reboot" is safe anyway, so I've done that. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 15:37, 24 September 2012 (UTC)
+
:::::@DSpider: you're quite active on the forum, why don't you propose your idea there? I think it would be interesting to discuss it. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 14:11, 25 September 2012 (UTC)
+
:::::Ok, after reading [https://wiki.archlinux.org/index.php?title=Talk%3AInstallation_Guide&diff=226203&oldid=225070 this] I realize that maybe I haven't been clear enough, so I'll try to explain everything more thoroughly.
+
:::::#The current procedure makes you [[Installation_Guide#Configure_the_system|configure the system]] in the '''chroot''' environment from the '''live''' system.
+
:::::#Then, still in the '''live''' system, it [[Installation_Guide#Unmount and reboot|asks]] you to '''exit''' the chroot, unmount the partitions for the '''new''' system, '''reboot''' and login into the '''new''' system. Now, I refuse to write more explicitly in the guide that you should boot into the '''new''' system, and not again in the '''live''' system, in order to login into the new system.
+
:::::#Since you are now into the '''new''' system ('''not''' the live system), the root partition is mounted at {{ic|/}}, not at {{ic|/mnt/}}, so you should be able to configure pacman, update the system and add a user wihtout chrooting. Now, if you've tested the procedure and really noticed that for some obscure-to-me reason you still need to chroot to /mnt in order to do those operations, please ask for clarifications in the forum because I wouldn't be able to answer any more.
+
:::::Last thing, and I think this is the 3rd or 4th time I write it, I '''agree''' with you that configuring pacman etc. could easily be done in the chroot environment at step 1, but you should '''propose''' that change '''in the forum''' first, since it would be a change in the official installation procedure and I won't take responsibility for that.
+
:::::I think this is the best I can do here, the next step to explain all this could be making a movie or a five-act play, but I hope it's not necessary :)
+
:::::-- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 05:56, 30 September 2012 (UTC)
+
 
+
== "Configure the network" is missing ==
+
 
+
Basically, you establish an internet connection, but you also need to configure the network, so that you can connect after rebooting. The Beginners' Guide [[Beginners'_Guide#Configure_the_network|mentions]] it: ''You need to configure the network again, but this time for your newly installed environment. The procedure and prerequisites are very similar to the one described above, except we are going to make it persistent and automatically run at boot.'' And this information seems to be missing from the installation guide. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 13:51, 3 October 2012 (UTC)
+
 
+
:I don't think that any Developer is watching this talk page, you'd better report this in the forum or mailing list. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 10:43, 4 October 2012 (UTC)
+
 
+
::I'm not sure if this should be a part of the installation guide. -- [[User:Karol|Karol]] ([[User talk:Karol|talk]]) 15:20, 29 October 2012 (UTC)
+
 
+
:::Of course it should. Because after rebooting (which you are instructed to), you're left with a borked machine. You need to boot the installation media again, establish an internet connection, mount the partitions and chroot into your system, and only THEN install the required packages. There should at least be a line that mentions [[netcfg]]. Because I read that it can handle both wired and wireless connections, and it's included in {{Grp|base}} now. --[[User:DSpider|DSpider]] ([[User talk:DSpider|talk]]) 07:04, 30 October 2012 (UTC)
+
::::I'm sorry if I'm missing something, but there is [https://wiki.archlinux.org/index.php/Installation_Guide#Connect_to_the_internet a line about netcfg already] and was there a month ago when this discussion was started. If you want to add a note that after rebooting the user has to enable dhcpcd service etc. (so he should have all the needed packages installed beforehand) that's fine with me. -- [[User:Karol|Karol]] ([[User talk:Karol|talk]]) 10:09, 30 October 2012 (UTC)
+
 
+
== Install a bootloader ==
+
 
+
Make it more visible that it is a choise between Grub/Syslinux.
+
 
+
== <s> 2 amendments to do </s> ==
+
 
+
In '''Configure the system''':
+
 
+
There is only one link on
+
    ''Add console keymap and font preferences in /etc/vconsole.conf''
+
This link should apply only to "console keymap".<br>
+
"font preferences" should link to [[Fonts#Console_fonts]]
+
: Link updated. Thanks. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 13:46, 18 May 2013 (UTC)
+
 
+
There is also:
+
    ''Uncomment the selected locale in /etc/locale.gen and generate it with locale-gen.''
+
This should be removed as it has been already done during this step:
+
    ''Set locale preferences in /etc/locale.conf.''
+
 
+
Thanks and regards,
+
[[User:Boism|Boism]] ([[User talk:Boism|talk]]) 21:10, 11 October 2012 (UTC)
+
: They are not the same. First generate locale than set default locale. See [[Locale]] for more info. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 13:46, 18 May 2013 (UTC)
+
 
+
== Mount the partitions ==
+
 
+
Please also mention that if using a swap partition the user should execute swapon at the "Mount to partitions" step. It is important to do this so that the swap partition is included when generating the fstab later on in the guide.--[[User:Takaitra|Takaitra]] ([[User talk:Takaitra|talk]]) 17:13, 14 February 2013 (UTC)
+
 
+
== add netctl to the mentioned ways of configuring network ==
+
 
+
Since netctl is on it's way to replace netcfg we should at least mention its existance in the appropriate section.
+
:Not until it's out of [testing]. -- [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 03:28, 15 March 2013 (UTC)
+
::It's out of testing and in core/base. [[User:Scimmia|Scimmia]] ([[User talk:Scimmia|talk]]) 23:08, 28 April 2013 (UTC)
+
 
+
== Add link to usb installation media ==
+
 
+
Can you add a link to  [[USB Installation Media|written to a USB]]  on:
+
 
+
''The image can be burned to a CD, mounted as an ISO file, or directly written to a USB stick using a utility like dd. It is intended for new installations only; an existing Arch Linux system can always be updated with pacman -Syu.''
+
 
+
please?
+
 
+
== <s> rewrite "stacked block devices" sentence </s> ==
+
 
+
The sentence
+
:Remember to create any stacked block devices like [[LVM]], [[dm-crypt with LUKS|LUKS]], or [[RAID]].
+
makes it sound like it's necessary to create such block devices. I think this could be formulated better as:
+
:If you want to create any stacked block devices like [[LVM]], [[dm-crypt with LUKS|LUKS]], or [[RAID]], do it now.
+
 
+
(No comment on the philosophy of a wiki that doesn't allow editing.) <nowiki>~~</nowiki> [[User:RavuAlHemio|RavuAlHemio]] ([[User talk:Ravu al Hemio|talk]]) 14:32, 22 April 2013 (UTC)
+
:I think the whole Installation section has to be thrown out and replaced with a heavily edited version from the Beginners' Guide - it's quite bad right now. By the way it's just this page and a few others that are protected. This is regarded as the official documentation for the installation procedure. It should really be regularly updated from the community-maintained Beginners' Guide but I haven't had the time for it lately. [[User:Thestinger|thestinger]] ([[User talk:Thestinger|talk]]) 03:06, 24 April 2013 (UTC)
+
:: Updated for now. Thanks for the suggestion. Close. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 13:23, 18 May 2013 (UTC)
+
 
+
== <s> pacstrap links obsolete repo </s> ==
+
 
+
The pacstrap word links to the obsolete github repo https://github.com/falconindy/arch-install-scripts
+
 
+
The current repos seems to be this one: https://projects.archlinux.org/arch-install-scripts.git/ and the link to pacstrap is https://projects.archlinux.org/arch-install-scripts.git/tree/pacstrap.in
+
 
+
[[User:Kolewu|Kolewu]] ([[User talk:Kolewu|talk]]) 23:12, 16 May 2013 (UTC)
+
: Link updated. Thanks for reporting. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 13:15, 18 May 2013 (UTC)
+

Latest revision as of 10:50, 23 May 2016

Read this first before adding new suggestions

  • The point of this page is to not become another Beginners' guide. It is meant to be a concise checklist of things to be done. So, detailed installation instructions should go to Beginners' guide.
  • If there is something to discuss which should also affect the Beginners' guide, then do it on Talk:Beginners' guide. An advanced user will find this page less bloated and easier to read, so let's KISS.
  • systemd tools such as hostnamectl, timedatectl and localectl do not work in the installation chroot environment, so please do not propose to use them in the guide unless you can prove that they have been made to work also in that case. See [1], [2], [3] and [4] for some past discussions about this issue.

Let's mention filesystem tools in pacstrap step

I propose changing the sentence to Other packages or groups can be installed by appending their names to the above command (space separated), possibly including the boot loader or filesystem tools. As the purpose of the site is that it is a checklist, it should mention the most common pacstrap packages such as filesystem tools (for example btrfs-progs are needed separately).

—This unsigned comment is by Drws (talk) 18:43, 8 April 2016‎. Please sign your posts with ~~~~!

The base group already includes e2fsprogs, jfsutils, reiserfsprogs, sysfsutils and xfsprogs, but no boot loader (except systemd-boot). Adding a hint for filesystem tools is of much less value than boot loaders, because the system will boot even without the file system tools, which would otherwise have to be loaded from the file system they should make accessible. -- Lahwaacz (talk) 20:58, 8 April 2016 (UTC)

change configuration system from old way to new way(using systemd commands)

now, we suggested using lncommand and echocommand to configuration time zone, locale and keymaps as below:

ln -s /usr/share/zoneinfo/zone/subzone
echo 'LANG=yourlocale' > /etc/locale.conf

but ArchLinux uses systemd in default, so we should using systemd command as below, I think.

timedatectl set-timezone zone/subzone
localectl set-locale LANG='yourlocale'
localectl set-keymaps yourkeymap

—This unsigned comment is by Orumin (talk) 14 May 2016‎. Please sign your posts with ~~~~!

Has anything changed since [5] and all its trail of linked discussions? If not, maybe we should start "sticking" a Note or something about this at the top of our installation guides' talk pages. — Kynikos (talk) 03:34, 14 May 2016 (UTC)
Nope, nothing new. +1 to adding a note. -- Alad (talk) 10:48, 14 May 2016 (UTC)
sorry, I didn't see Beginners guide page. I'll withdraw this proposal -- User:orumin (talk) 14:02, 14 May 2016 (UTC)
No worries :) Notes added, closed. — Kynikos (talk) 06:24, 15 May 2016 (UTC)

Add hostname to /etc/hosts

As an experienced Unix, Linux and Arch Linux user, it took me a while to figure out why hostname -f, emacs and friends were so slow to fire up: I have gotten used to configure the system off the top of my head, only referring to install.txt from the ISO to make sure I haven't forgotten anything... Which is why I forgot to add the hostname to /etc/hosts. I suggest adding a hint like this:

Set the hostname:
# echo computer_name > /etc/hostname
It is recommended to add the hostname to /etc/hosts as well.

-- Ambrevar (talk) 13:13, 21 May 2016 (UTC)

Well, the install.txt is only the essential steps. For your emacs, there is a Emacs#Slow_startup hint already. This guide already has the crosslink to Network configuration#Set the hostname, which was worked out after an extensive discussion about why adding it to /etc/hosts is still necessary (frequently, but not generally). Based on the existing crosslink in this guide and the discussion I'd say it is out-of-scope here. Closing, please re-open if it is a general issue and (best example) there is something not working in the base install due to it missing in /etc/hosts. Thanks. --Indigo (talk) 20:00, 21 May 2016 (UTC)
Agreed. Actually the reason it took me such a long time to resolve the issue on my system is that I knew about the host resolution problem with Emacs, but somehow I was convinced that Emacs was using /etc/hostname and thus that my hostname was properly set. I completely forgot about the other one. --Ambrevar (talk) 00:35, 22 May 2016 (UTC)
Ok, thanks. So we keep as is for now. It certainly is a point that should be considered again with the eventual unification of install guides. --Indigo (talk) 10:50, 23 May 2016 (UTC)

Consistency with Beginner's Guide Style (File Editing)

Specifically, I don't think we should use echo to place text in a file for the hostname and locale in the installation guide. We are actually going against our own style guide here (Help:Style#File_editing_requests). If anything we should expect advanced users who use the installation guide not to need copy/paste commands. -- Rdeckard (talk), ArchWiki Maintainer 13:44, 21 May 2016 (UTC)

Indeed, I hope this fixes it. — Kynikos (talk) 05:21, 22 May 2016 (UTC)