Toggle navigation
TechnoWikis.com
Email or Username
Password
Remember
Login
Register
|
I forgot my password
All Activity
Questions
Hot!
Pending
Ask a Question
Privacy Policy
Contact
Installing Arch Linux with the official ISO
Home
Tutorials
Linux / Unix
Installing Arch Linux with the official ISO
(adsbygoogle = window.adsbygoogle || []).push({});
+4
votes
195
views
Installing Arch Linux with the official ISO
asked
Jun 24, 2019
in
Linux / Unix
by
backtothefuture
(
552k
points)
reopened
Jun 24, 2019
|
195
views
answer
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
1
Answer
+5
votes
Best answer
Preparing the ISO image
1-
First we download the official ISO image of
https://www.archlinux.org/download/
2-
Once the ISO image is downloaded, we should check its integrity, this is done by downloading the text file sha1sums.txt from the download page.
3-
To verify the integrity of the ISO image and make sure of what we downloaded was successful or we can not execute the following commands in a terminal:
sha1sum -c sha1sums.txt
gpg -v archlinux-2012-08-04-dual.iso.sig
4-
As we could see in the screenshot above, the ISO checksum is correct and the signature is valid.
5-
Now that we are sure that our ISO is correct, we can burn the CD with our favorite program.
6-
Insert the CD into our computer.
7-
We enter the start menu of our computer or let it automatically start from the installed installation device.
8-
If the previous steps were done correctly we will see the following screen:
9- We
select the architecture we want and press Enter.
10-
We look for the layout of the keyboard for our region, these can be found in the following path: / usr / share / kbd / keymaps /.
11-
Finally we set the desired layout of the keyboard with: loadkeys keyboardlayout
Creating and mounting the partitions
1-
We execute
cfdisk
or
cgdisk
, being the first parameter of the device that we want to partition
cfdisk / dev / sdX
cgdisk / dev / sdX
2-
We create our partition scheme
3-
We save the partition scheme
4-
We use the mkfs command to create the file system in the specified partition
mkfs -t vfat / dev / sdX
mkfs.ext4 -L root / dev / sdX
5-
Then we mount our partition with / mnt
mount / dev / sdX3 / mnt
6-
We create directories for our other partitions
mkdir -p / mnt / boot
7-
We mount the other participations
mount / dev / sdX1 / mnt / boot
After this, we follow the following steps to connect to the Internet:
1-
To connect to a wireless network we create a
netcgf
profile and execute the following command:
netcfg mywireless
2-
In the opposite case we use
dhclient
or
dhcpcd
to obtain an IP address.
Then we install the base of the system and the boot system:
1-
We run
pacstrap
with the designated parameters:
pacstrap / mnt base base-devel
2-
We install the desired starting system.
I recommend
Syslinux
:
pacstrap / mnt syslinux
3-
The last step of the boot system will be done with chroot during the initial configuration of the distribution.
Now, once the partitions are made, connected to a network and the file system is mounted, we will proceed to the initial configuration of the distribution.
1-
We generate
fstab
with
genfstab
:
genfstab -p / mnt >> / mnt / etc / fstab
2-
We change the root in the system address:
arch-chroot / mnt
3-
We set a name for the host in
/ etc / hostname
4-
We create the
symlink
in
/ etc / localtime
5-
We set the local configuration in
/etc/locale.conf
6- We
uncovered the local configuration in
/etc/locale.gen
7-
We run locale-gen
8-
Configure
/etc/mkinitcpio.conf
9-
We generate the initial ramdisk:
mkinitcpio -p linux
10- We
finished the installation of the boot system.
11-
We set the password for the root with passwd.
12-
We left the chroot environment with exit.
And with this we have our Arch Linux running on our computer.
answered
Jun 24, 2019
by
stackoverflow
(
3.5m
points)
edited
Jun 24, 2019
ask related question
comment
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Related questions
+5
votes
1
answer
How to create USB Booteable Linux with ISO
asked
Oct 5, 2019
in
Linux / Unix
by
backtothefuture
(
552k
points)
|
357
views
+5
votes
1
answer
Install JAVA on Arch Linux
asked
Mar 8, 2021
in
Linux / Unix
by
backtothefuture
(
552k
points)
|
181
views
+5
votes
1
answer
How to mount ISO image on Linux
asked
Oct 6, 2019
in
Linux / Unix
by
backtothefuture
(
552k
points)
|
345
views
+4
votes
1
answer
How to burn a Linux ISO image to USB DD command
asked
Aug 23, 2019
in
Linux / Unix
by
backtothefuture
(
552k
points)
|
304
views
+5
votes
1
answer
The 9 free Google courses to improve your work (with official certificates)
asked
Nov 30, 2020
in
Help
by
backtothefuture
(
552k
points)
|
250
views
Sponsored articles cost $40 per post. You can contact us via
Feedback
All categories
Tutorials
7.5k
Microsoft
1.9k
Android
1.4k
Security
120
Linux / Unix
543
Internet
757
Virtualization
104
Apple
611
Networks
64
Other Devices
321
Other Applications
184
Hardware
19
Development
53
Digital Marketing
47
Databases
14
Graphic Design
30
Guides
794
GraphicDesign
54
Networking
4
PlayStation
186
Gaming
55
Linux/Unix
85
Manzana
33
Otherdevices
38
Otherapps
49
Digitalmarketing
39
Safety
1
Developing
2
Help
685
Social Networks
34
Android Tutorial
549
iPhone Tutorial
267
News
17
Social
6
Phone
11
Telephone
9
Applications
167
Smartphones
3
Cell Phones
11
Applications
25
Travels
6
Photo
21
Education
18
Games
25
Internet
14
Music
8
Technique
10
Video
6
Windows
5
Apple
2
Cell Phones
3
TikTok
216
Trips
2
House
1
Operating System
5
Tips & Tricks
892
Solutions
6
Tutorials
3
FAQ
1
Applications
5
Cell Phones
2
Tutorials
4
Computers
6
Tutoriales
2
8
Technology
2
In Computers
1
In Applications
2
Tutorials Tutorials
9
Applications Applications
25
Aplicaciones Applications
4
Devices Devices
5
Tutoriales Tutorials
1
Tutorials u00a0 Tutorials
2
Applications u00a0 Applications
2
Devices u00a0 Devices
1
OS OS
1
Etc Etc
2
Most popular questions within the last 30 days
Please leave a comment about whether the solution works or not (with device model)
[X]Close
10,659
questions
10,791
answers
510
comments
3
users