Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guide:installation [2018/03/08 08:57]
emulatorman
en:guide:installation [2019/05/07 05:26] (current)
emulatorman
Line 313: Line 313:
 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp"​ noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp"​
   ​   ​
-rc_need_ppp0="​net.enp2s0f0"​+rc_net_ppp0_need="​net.enp2s0f0"​
 </​code>​ </​code>​
  
Line 338: Line 338:
 New packager keys are necessary by default to install **Hyperbola** from current ISOs. Because changes in existing keys might happen since the ISO release, it is recommended,​ if **not mandatory**,​ to update the keys before attempting an install. New packager keys are necessary by default to install **Hyperbola** from current ISOs. Because changes in existing keys might happen since the ISO release, it is recommended,​ if **not mandatory**,​ to update the keys before attempting an install.
  
-First, you need resize temporary gnupg directory ​to get enough space to upgrade ​the package ​[[https://​www.hyperbola.info/​packages/?​q=hyperbola-keyring|hyperbola-keyring]] and [[https://www.hyperbola.info/​packages/?​q=arch-keyring|arch-keyring]],​ eg:+<note important>​ 
 +Keep in mind these steps will fail if your system is not set to the correct timeor if you are not connected ​to the internet. See [[en:guide:​installation#​connect_to_the_internet|above]] for internet setup instructions. 
 +</note> 
 + 
 +To check that your computer has the correct time, enter <color #​620BB9/#​EEDDFF>​date<​/color> in the terminal.
  
 <code bash> <code bash>
-mount -o remount,​size=100M,​noatime /​etc/​pacman.d/​gnupg+date
 </​code>​ </​code>​
  
-Thenupgrade them:+If the date is incorrectyou will need to manually set the correct time.
  
 <code bash> <code bash>
-pacman -Sy hyperbola-keyring arch-keyring+date MMDDhhmm[[CC]YY][.ss]
 </​code>​ </​code>​
  
-If you face GPG errors updating those packagesit's likely because ​the key that signed it have **expired**. To fix thisrun:+where **MM** is the month**DD** ​the day, **hh** the hour, **mm** the minutes, **CC** the century, **YY** the year and **.SS** the seconds of current timethe seconds can be omitted (and then also the dot before them should be omitted), the year can also be submitted or just the century. for instance if the current time is 32 seconds and 44 minutes past 18 (6 pm) on the 13th November 2013. Then the command would be: 
 + 
 +<code bash> 
 +# date 111318442013.32 
 +</​code>​ 
 + 
 +Once the date is correct, we need to initialize the gnupg directory and update pacman'​s keys. 
 + 
 +<code bash> 
 +# pacman-key --init 
 +</​code>​ 
 + 
 +<code bash> 
 +# mount -o remount,​size=100M,​noatime /​etc/​pacman.d/​gnupg 
 +</​code>​
  
 <code bash> <code bash>
Line 360: Line 378:
 </​code>​ </​code>​
  
-After that, if no errors ​happen, running ​<color #​620BB9/#​EEDDFF>​pacman -Sy hyperbola-keyring arch-keyring</​color>​ again should work.+If you get GPG errors ​updating those packagesyou can try running ​these commands to start over:
  
-If you get an error related to <color #620BB9/#​EEDDFF>​dirmngr</color>, you can get rid of it with:+<code bash> 
 +rm -r /etc/​pacman.d/​gnupg/​* 
 +</code>
  
 <code bash> <code bash>
-mkdir /​root/​.gnupg && chmod go-rx /​root/​.gnupg && touch /​root/​.gnupg/​dirmngr_ldapservers.conf+pacman-key --init
 </​code>​ </​code>​
  
-For the time being, running the previous command might also be needed in the newly installed system. +<code bash> 
- +# pacman-key --populate hyperbola arch 
-It may be also possible that the system clock is behind and the keys are incorrectly marked invalid. ​ To solve this, manually set the correct time.+</​code>​
  
 <code bash> <code bash>
-date MMDDhhmm[[CC]YY][.ss]+pacman-key --refresh-keys
 </​code>​ </​code>​
  
-where **MM** is the month**DD** the day, **hh** the hour, **mm** the minutes, **CC** the century, **YY** the year and **.SS** the seconds ​of current time, the seconds can be omitted (and then also the dot before them should be omitted), the year can also be submitted or just the century. for instance if the current time is 32 seconds and 44 minutes past 18 (6 pm) on the 13th November 2013. Then the command would be:+If you get an error related to <color #​620BB9/#​EEDDFF>​dirmngr</​color>​you can get rid of it with:
  
 <code bash> <code bash>
-date 111318442013.32+mkdir /root/.gnupg && chmod go-rx /​root/​.gnupg && touch /​root/​.gnupg/​dirmngr_ldapservers.conf
 </​code>​ </​code>​
 +
 +For the time being, running the previous command might also be needed in the newly installed system.
  
 ==== Install the base system ==== ==== Install the base system ====
Line 404: Line 426:
  
 Then, you can try to fix them with: Then, you can try to fix them with:
 +
 +<code bash>
 +# rm -r /​etc/​pacman.d/​gnupg/​*
 +</​code>​
 +
 +<code bash>
 +# pacman-key --init
 +</​code>​
  
 <code bash> <code bash>
Line 460: Line 490:
  
   * Write your hostname to <color #​0B71B9/#​DDF1FF>/​etc/​hostname</​color>​   * Write your hostname to <color #​0B71B9/#​DDF1FF>/​etc/​hostname</​color>​
 +
 +<code bash>
 +# echo myhostname > /​etc/​hostname
 +</​code>​
 +
   * Symlink <color #​0B71B9/#​DDF1FF>/​etc/​localtime</​color>​ to <color #​0B71B9/#​DDF1FF>/​usr/​share/​zoneinfo/​Zone/​SubZone</​color>​. Replace <color #​620BB9/#​EEDDFF>​Zone</​color>​ and <color #​620BB9/#​EEDDFF>​Subzone</​color>​ to your liking. For example:   * Symlink <color #​0B71B9/#​DDF1FF>/​etc/​localtime</​color>​ to <color #​0B71B9/#​DDF1FF>/​usr/​share/​zoneinfo/​Zone/​SubZone</​color>​. Replace <color #​620BB9/#​EEDDFF>​Zone</​color>​ and <color #​620BB9/#​EEDDFF>​Subzone</​color>​ to your liking. For example:
  
Line 469: Line 504:
   * Add console keymap and font preferences in <color #​0B71B9/#​DDF1FF>/​etc/​conf.d/​keymaps</​color>​   * Add console keymap and font preferences in <color #​0B71B9/#​DDF1FF>/​etc/​conf.d/​keymaps</​color>​
   * Uncomment the selected locale in <color #​0B71B9/#​DDF1FF>/​etc/​locale.gen</​color>​ and generate it with <color #​620BB9/#​EEDDFF>​locale-gen</​color>​   * Uncomment the selected locale in <color #​0B71B9/#​DDF1FF>/​etc/​locale.gen</​color>​ and generate it with <color #​620BB9/#​EEDDFF>​locale-gen</​color>​
 +  * Set a root password with <color #​620BB9/#​EEDDFF>​passwd</​color>​
 +  * Add your user to the relevant [[https://​wiki.archlinux.org/​index.php/​Users_and_groups|group]] such as:
 +
 +<code bash>
 +# gpasswd -a YourActualUserName video
 +</​code>​
 +
   * Configure <color #​0B71B9/#​DDF1FF>/​etc/​mkinitcpio.conf</​color>​ as needed (see [[https://​wiki.archlinux.org/​index.php/​Mkinitcpio|mkinitcpio]]) and create an initial RAM disk with:   * Configure <color #​0B71B9/#​DDF1FF>/​etc/​mkinitcpio.conf</​color>​ as needed (see [[https://​wiki.archlinux.org/​index.php/​Mkinitcpio|mkinitcpio]]) and create an initial RAM disk with:
    
Line 486: Line 528:
 # grub-install /dev/sdX # grub-install /dev/sdX
 </​code>​ </​code>​
 +
 +<note important>​
 +If you want to [[en:​guide:​encrypted_installation|install GRUB on a Libreboot system]], keep in mind your system **does not use UEFI or Legacy BIOS**, but instead loads GRUB as its only payload. So you we will run this command instead:
 +
 +<code bash>
 +grub-install --no-bootsector /dev/sdX
 +</​code>​
 +</​note>​
  
 <code bash> <code bash>
Line 491: Line 541:
 </​code>​ </​code>​
  
-  * Set a root password with <color #​620BB9/#​EEDDFF>​passwd</​color>​ 
   * Configure the network again for newly installed environment. See [[https://​wiki.archlinux.org/​index.php/​Network_Configuration|Network Configuration]] and [[https://​wiki.parabola.nu/​Wireless_Setup|Wireless Setup]].   * Configure the network again for newly installed environment. See [[https://​wiki.archlinux.org/​index.php/​Network_Configuration|Network Configuration]] and [[https://​wiki.parabola.nu/​Wireless_Setup|Wireless Setup]].
  
- +<note tip> 
-Add your user to the relevant ​[[https://​wiki.archlinux.org/​index.php/​Users_and_groups|group]] such as: +If you are following ​the [[en:guide:​encrypted_installation|libreboot encrypted installation]] instructions,​ be sure to save copy of grub.cfg on a thumbdrive in case the one flashed to libreboot is incorrect. You can use the grub shell to boot from the extra copy. 
- +</note>
-<code bash> +
-# gpasswd -YourActualUserName video +
-</code>+
  
 ==== Configure speech support (for blind and visually impaired users) ==== ==== Configure speech support (for blind and visually impaired users) ====