Been a while since I posted ;) For some strange reason, recently I got an urge to try out ArchLinux{#aptureLink_BWSwiwROlt}. After much deliberation finally decided to try out ArchLinux again, in VirtualBox{#aptureLink_YQu9cIpVYm}. My little install guide I compiled as I was reading through the Official ArchLinux Install Guide{#aptureLink_OrVThoOrTI} + Beginner's Guide{#aptureLink_AMQvvRytbx}.

Please note: This is highly customized according to *my* requirements and nowhere as thorough /generalized as the official guides. Still, it might help you. Here we go –

Or if you're stuck without an Internet connection, the install guide is available on the CD, just hit Alt-F6 to spawn a new terminal, and type

to open it ( yes the installer gives wrong info, wonder why!)

The install guide then opens

Feel free to read it, for it is pretty comprehensive.

For now, lets get on with the Install. Hit Alt-F1 to go back to install screen. As the screen shows, you have lots to do, so lets start one by one

We'll start with Option 1- Select Source which allows you to choose CD as source or the ‘net. If you've chosen the CD install image, choose CD,else if you've downloaded net install image, choose the second option

Next, we move onto Option 2: Set Clock!

Select the region and timezone. We'll select Asia/Kolkata and the proceed to set the time. The next option is where most people select wrong and then whine saying “Linux can't set my time!”

Linux expects the Hardware clock ( your BIOS/Real Time Clock (RTC)) to be set in UTC time and applies timezone offsets according to Region, while Windows expects time to be set at localime. Anyways, for now select localtime

Confirm the time and correct it, if it is not correct. For now, the time is correct and we shall move ahead

Next comes, what is probably the toughest part of most OS installs, hard disk preparation. Most people are used to Windows style partitions of C:, D:\ drives, while *nix OS don't follow that architecture. *nix treats all devices as files, and so your c:, D:\ drive gets mapped as funky names like /dev/sda1 /dev/sda2 and so on. While it seems confusing at first, in reality, its not that hard.

/ – refers to “root” or the topmost structure in the hierarchy.

– – dev – refers to special devices such as hard disks, CD drives, USB devices and what not.

– – – – /sd – refers to SCSI device. Earlier the nomenclature was hdx for IDE devices and sdx for SCSI devices, but now SATA devices are designated as sd.

Combine them, you get, /dev/sda as the first hard disk, /dev/sda1 as first partition of your first hard disk

So lets select Hard disk preparation choice. You get another menu

Option 1 – Is probably best if you want to dedicate an entire hard disk to Arch ( in my case, since I'm using a VM anyway). In the context of this guide, this isn't the best option

Option 3- Puts you in the nitty-gritty of partitioning. Lets not get into here either.

We'll jump into Option 2- Manually Partition Hard Disks. Selecting that will launch cfdisk – and it should show you available hard disks:

Confirm the hard disk that you want to partition

So once cfdisk is up, you'll be treated to a barebones interface. Yes, I mean /barebones/.

Since I don't have any existing partitions, I'll just create one by selecting New -> Prirmary

I'll create a swap partition first ,so I'll allocate 1GB to it

Add partition to beginning of the drive

We'll create another partition – and allocate all remaining space to it

Next, mark the type of the partitions – first is the swap

On selecting type, you'll get a huge list of values

Hit enter, and type 82 to choose swap

Now,do the same for the other partition, except that you'll have to enter 83 for filesystem type.. So once you're done with partitioning, it should look something like this:

Before we're done, we'll have to mark the Linux partition as bootable, so that it handles booting.

Finally, choose Write to write all changes to the drive ( so far, nothing has been written, so you can always back out) and then exit.

Now that the partitions have been created, we'll have to assign mount points.

You'll get a Warning message, just click no and move ahead

Earlier, I'd mentioned that sda1 is chosen for swap, so lets select swap as the type:

Do the same for other partition, selection ext3 as the type. When asked for the mount point select “/”

Now, lets move on to 4th option, select pakages where you get to choose which packages to install.Arch follows the policy of install bare minimum first, whatever you want later, so for now you get only a barebones console package. Do select base-develop if you wish to do further tinkering

Just hit OK, wait for a bit, and then you'll be taken back to the main menu. Proceed with installing the packages.

Once install is done, we'll move ahead with configuring the system.Select nano as the editor. Proceed with editing the files only if you know what you're doing!

Otherwise just leave them as it is.

I'll start with editing /etc/rc.conf since I want to change my hostname ( name of my computer)