Arch Linux Basic Installation Arch Wiki

Please download to get full document.

View again

of 26
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report



Views: 4 | Pages: 26

Extension: PDF | Download: 0

Related documents
Available in the Wiki also
  System requirements Arch Linux should run on any i686 compatible machine with a minimum of 64 MB RAM. A basic installation with all packaes from the base  roup should take about ! MB of disk space. #f you are workin with limited space$ this can be trimmed down considerably$ but you will ha%e to know what you&re doin. Prepare the latest installation medium 'he latest release of the installation media can be obtained from the (ownload pae. )ote that the sinle #*+ imae supports both ,- and 64bit architectures. #t is hihly recommended to always use the latest #*+ imae. ã #nstall imaes are sined and it is hihly recommended to %erify their sinature before use. (owload the .sig   file from the download pae /or one of the mirrors listed there0 to the same directory as the .iso  file. +n Arch Linux$ use pacman-key -v iso-file  .sig  as root1 in other en%ironments make use$ still as root$ of p- directly with gpg2 --verify iso-file.sig  . 'he file interity checksums md! and sha2 are also pro%ided. ã Burn the #*+ imae on a 3( or (( with your preferred software. +n Arch$ that&s co%ered in +ptical (isc (ri%e5Burnin.   Note: 'he uality of optical dri%es and the discs themsel%es %aries reatly. 7enerally$ usin a slow burn speed is recommended for reliable burns. #f you are experiencin unexpected  beha%iour from the disc$ try burnin at the lowest speed supported by your burner. Boot the installation medium irst$ you may ha%e to chane the boot order in your computer&s B#+*. 'o do this$ press a key /usually Delete $ F1 $ F2 $ F11  or F12 0 durin the 9+*' phase. 'his will take you into the B#+* settins screen where you can set the order in which the system searches for de%ices to boot from. *elect :*a%e ; <xit: /or your B#+*&s eui%alent0 and the computer should then complete its normal boot process. =hen the Arch menu appears$ select :Boot Arch Linux: and press Enter  to enter the li%e en%ironment where you will run the actual installation /if bootin from a ><# boot disk$ the option may look more like :Arch Linux archiso x86?64 ><#:0. +nce you ha%e booted into the li%e en%ironment$ your shell is @sh1 this will pro%ide you ad%anced 'ab completion$ and other features as part of the rml confi.    Testing if you are booted into UEFI mode #n case you ha%e a ><# motherboard and ><# Boot mode is enabled /and is preferred o%er B#+*Leacy mode0$ the 3(>*B will automatically launch Arch Linux kernel /ernel <#*'>B %ia 7ummiboot0. 'o test if you ha%e booted into ><# mode runC # mount -t efivarfs efivarfs /sys/firmware/efi/efivars # ignore if already mounted# efivar -l #f efi%ar lists the uefi %ariables properly$ then you ha%e booted in ><# mode. #f not check whether all  the reuirements listed at >nified <xtensible irmware #nterface5Reuirements for ><# ariables support to work properly are met. Troubleshooting boot problems ã #f you are usin an #ntel %ideo chipset and the screen oes blank durin the boot process$ the  problem is likely an issue with ernel Mode *ettin. A possible workaround may be achie%ed  by rebootin and pressin e  o%er the entry that you are tryin to boot /i686 or x86?640. At the end of the strin type nomodeset  and press Enter . Alternati%ely$ try video=! DE-1$d which$ if it works$ will not disable kernel mode settin. Dou can also try i%1&.modeset=' . *ee the #ntel article for more information. ã #f the screen does not   o blank and the boot process ets stuck while tryin to load the kernel$  press (a)  while ho%erin o%er the menu entry$ type acpi=off  at the end of the strin and  press Enter . Installation Dou are now presented with a shell prompt$ automatically loed in as root. or editin text files$ the console editor nano is suested. #f you are not familiar with it$ see nano5nano usae.  Change the language   Tip: 'hese are optional for the maEority of users. >seful only if you plan on writin in your own lanuae in any of the confiuration files$ if you use diacritical marks in the =ii password$ or if you would like to recei%e system messaes /e.. possible errors0 in your own lanuae. 3hanes here only  affect the installation process.By default$ the keyboard layout is set to us . #f you ha%e a non>* keyboard layout$ runC # loadkeys layout  ...where layout   can be fr $ uk $ dvorak $ )e-latin1 $ etc. *ee here for -letter country code list. >se the command localectl list-keymaps  to list all a%ailable keymaps. 'he font should also be chaned$ because most lanuaes use more lyphs than the -6 letter <nlish alphabet. +therwise some forein characters may show up as white suares or as other symbols. )ote that the name is casesensiti%e$ so please type it exactly  as you see itC # setfont *at2-(erminus1+ By default$ the lanuae is set to <nlish />*0. #f you would like to chane the lanuae for the install  process (German, in this example) $ remo%e the #  in front of the locale you want from /etc/locale.gen $ alon with <nlish />*0. 9lease choose the ,(F-  entry. # nano /etc/locale.genen,.,(F- ,(F-deDE.,(F- ,(F-# locale-gen# eport *0=deDE.,(F-  Establish an internet onnetion !arning: As of %2FG$ ude% no loner assins network interface names accordin to the wlanH and ethH namin scheme. #f you are comin from a different distribution or are reinstallin Arch and not aware of the new interface namin style$ please do not assume that your wireless interface is named wlan $ or that your wired interface is named eth . Dou can use the command ip link  to disco%er the names of your interfaces.'he d3cpcd  network daemon starts automatically durin boot and it will attempt to start a wired connection. 'ry to pin a ser%er to see if a connection was established. or example$ 7oole&s webser%ersC # ping -c 4  678.12&.142.1'&9 &+689 )ytes of data.+8 )ytes from w)-in-f1'&.1e1''.net 678.12&.142.1'&9$ icmpre:=1 ttl=&' time=17.' ms+8 )ytes from w)-in-f1'&.1e1''.net 678.12&.142.1'&9$ icmpre:=2 ttl=&' time=1.2 ms+8 )ytes from w)-in-f1'&.1e1''.net 678.12&.142.1'&9$ icmpre:=4 ttl=&' time=1+.+ ms--- ping statistics ---4 packets transmitted; 4 received; '< packet loss; time 2''4msrtt min/avg/ma/mdev = 1+.++'/17.42'/1.2&8/'.+7 ms #f you et a ping$ unknown 3ost  error$ first check if there is an issue with your cable or wireless sinal strenth. #f not$ you will need to set up the network manually$ as explained below. +nce a connection is established mo%e on to 9repare the storae dri%e.  !ired ollow this procedure if you need to set up a wired connection %ia a static #9 address. irst$ disable the dhcpcd ser%ice which was started automatically at bootC # systemctl stop d3cpcd.service #dentify the name of your <thernet interface. # ip link1$ lo$ *5>0?@;,5;*AEB,5C mtu +&&4+ :disc no:ueue state ,@A mode DEF0,*( link/loop)ack ''$''$''$''$''$'' )rd ''$''$''$''$''$''2$ enp2s'f'$ >B0D?0(;,*( ?0(C mtu 1&'' :disc noop state DA mode DEF0,*( :len 1''' link/et3er ''$11$2&$41$+%$2' )rd ff$ff$ff$ff$ff$ff4$ wlp4s'$ >B0D?0(;,*( ?0(;,5;*AEB,5C mtu 1&'' :disc m: state ,5 mode DB0( :len 1''' link/et3er '1$'2$'4$'8$'&$'+ )rd ff$ff$ff$ff$ff$ff #n this example$ the <thernet interface is enp2s'f' . #f you are unsure$ your <thernet interface is likely to start with the letter :e:$ and unlikely to be :lo: or start with the letter :w:. Dou also need to know these settinsC  ã *tatic #9 address. ã *ubnet mask. ã 7ateway&s #9 address. ã  )ame ser%ers& /()*0 #9 addresses. ã (omain name /unless you are on a local LA)$ in which case you can make it up0. Acti%ate the connected <thernet interface /e.. enp2s'f' 0C # ip link set enp2s'f' up Add the addressC # ip addr add ipaddress  / mask)its   dev interfacename  or exampleC # ip addr add 1%2.1+.1.2/28 dev enp2s'f' or more options$ run man ip . Add your ateway like this$ substitutin your own ateway&s #9 addressC # ip route add default via ipaddress  or exampleC # ip route add default via 1%2.1+.1.1 <dit resolv.conf $ substitutin your name ser%ers& #9 addresses and your local domain nameC # nano /etc/resolv.confnameserver +1.24.174.&nameserver +1.%&.8%.searc3 e Note: 3urrently$ you may include a maximum of three nameserver  lines. #n order to o%ercome this limitation$ you can use a locally cachin nameser%er like (nsmas   . Dou should now ha%e a workin network connection. #f you do not$ check the detailed  )etwork 3onfiuration pae. !ireless ollow this procedure if you need wireless connecti%ity /=ii0 durin the installation process. irst$ identify the name of your wireless interface. # iw devp3y#'  nterface wlp4s' ifinde 4 wdev '1 addr ''$11$22$44$88$&& type managed
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks