Click here to Skip to main content
15,881,139 members
Articles / All Topics

Arch Linux Installation - Part Two

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
1 Oct 2015CPOL2 min read 3.9K  
Picking back up where part one ended. Open virutal box and select your newly partitioned virtual machine click settings and select storage.

Picking back up where part one ended. Open virutal box and select your newly partitioned virtual machine click settings and select storage. Within the Storage Tree select the Controller: IDE and replace GParted with the Arch Linux ISO you downloaded then click ok then start the virtual machine.

Selecting An Arch Linux Version

After a few seconds you'll be presented with the Arch Linux boot screen. At this point you can choose either the 64 or i686 version. It doesn't matter which version you decide to go with because this guide will work with either one.

Arch Linux Boot Screen

Press the up/down keys to highlight which version suits you then press enter to select it. Once you do this, the Arch Linux boot process will be displayed on your screen. When it's done you'll be dropped right into a command prompt.

Partition Verification

The first command we need to issue is fdisk -l. This command lists the partitions for our virtual machine. Issuing this command allows us to make sure that the list that's displayed to us is what we expected.

The items shown under the Device Boot column in the list are as follows:

Root partition:

  • /dev/sda1

Linux swap partition:

  • /dev/sda2

Home partition:

  • /dev/sda3

Mounting Drives

Now we need to create our home directory and we can do so with the following command:

  • mkdir /mnt/home

Next we need to mount our /dev/sda1 and /dev/sda3 partitions in order to modify them:

  • mount /dev/sda1 /mnt
  • mount /dev/sda3 /mnt/home

Install Base Distribution

Next we need to issue the pacstrap command:

  • pacstrap -i /mnt base

What's happening at this point is that pacstrap is installing the base distribution to the /mnt directory.

pacstrap will eventually ask you to enter a selection. Just press enter when it does. Next it will ask you to proceed with installation; type Y then press enter and it will continue installing the base distribution.

Wrap Up

In the next part we will start by creating a fstab file and continue installing Arch!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
If you liked my post visit my website at http://ericanderson.io

I'm a software engineer, gamer and musician who loves all things .NET.
When I'm not spending time with my family I love learning new things about programming, talking about tech and teaching people how to code.

Currently I'm working with C#, ASP.NET, Angular.js and Node.js.

If you have any questions or concerns, please don't hesitate to reach our to me!

Need a developer to help turn your vision into reality?

I'm available for freelance work!
Send all inquiries to: freelance@ericanderson.io

Comments and Discussions

 
-- There are no messages in this forum --