Wednesday, July 15, 2015

How to install combo: Arch Linux VMware, step by step, for VMware Workstation (Part I)


Arch Linux have many supporters due many different reasons. This minimalist Linux distribution expects some effort from the user, but that's the reason why some Linux fans use it. This additional effort to understand the system can bring a better understanding of the way the OS is built. However, if you are a beginner, it may be a little difficult to start using WMware-Arch Linux, so here's a detailed guide on how to do it.

Note: This is a log process, so I'll divide it into 2 articles. This is the first part, enjoy it!

For this example, I'll use a VMware virtual machine. Let's begin.

Prerequisites:
  • The Arch Linux .iso image. You can download it here.
Steps:

Create and boot the Virtual Machine

1. Open VMware Workstation.
2. Go to File > New Virtual Machine
3. Select 'Custom(advanced)' and click 'Next'
4. Click 'Next'
5. Select 'Installer disc image file'
6. Browse the .iso file you downloaded earlier.
7. Click 'Next'
8. Select 'Linux'
9. In the 'Version' drop down, select 'Other Linux 3.x kernel 64 bit'. In case you have a 32 bit version, select 'Other Linux 3.x kernel'.
New virtual machine wizard
10. Click 'Next'
11. Type a name for the virtual machine and click 'Next'
12. I'll leave the Processor configuration as it comes by default. Click 'Next'

13. I'll leave the RAM value by default. Click 'Next'
14. Continue with the wizard and leave all the values by default (this is for this example). Then click 'Finish'
15. Turn the virtual machine on

Now you'll see this screen:

Arch Linux first screen
16. Select 'Boot Arch Linux (x86_64)'. For a 32 bit architecture use 'Boot Arch Linux (i686)'. Next, you'll see this:

Arch Linux console
 As with older version of Linux, most of the actions will take place here, in the console. This can be scary for many new users, but you get used to it. Let's continue.

Partition disk

OK, this part can be tricky. There are several options to partition the disk for Arch Linux. I'll use here what I think is the best way, but you can look for more details here. Also, I'll only mention the tools I use as I continue, but I won't explain the details on why I selected them, unless it is necessary.

1. Enter this command:

cfdisk /dev/sda

2. Select 'dos'
Label type dos mbr

3. Select 'New' and press Enter.
Arch Linux partition size
*Update*

It is necessary to create a boot partition too, so GRUB can be installed there afterwards. So, before continuing, we'll create it:


  • Set the partition size to 150M
  • Press Enter
  • Select the partition you just created and select 'Type'. Press Enter
  • Select BIOS boot and press Enter
After that, you should see this:
MBR boot

*End of Update*


Once you have the boot partition, create another partition selecting the Free space and selecting 'New'. Now I'll follow this guide I wrote for Ubuntu some time ago. So, I'll assign 40% of the total space to the root partition. The total size of the disk I'm using for this example is 8GB, so set it to 3GB (approximately 40% of 8GB) and hit Enter, then select 'primary' and press Enter.

4. Select 'Free space' and 'New', then hit Enter.

7. Assign this partition 3.9GB. This will leave 1GB for the swap area, which is enough for the RAM memory used by this virtual machine (of course, just in this particular case). Hit Enter, select 'primary' and hit Enter again.

10. Select 'Free space', 'New' and press Enter. Now I have just 997MB for the swap area. I'll use all that space. 

11. Select the partition you just created and select 'Type', then press Enter. Then, select '82 Linux Swap / Solaris' and press Enter.
After all that, you should see this:
12. Now select 'Write' and press Enter. Type 'yes' and press Enter again.
13. Select 'Quit' and press Enter (ignore the message in 'Quit': Quit program without writing partition table. It will be saved anyway).

This is all for now, I hope it's useful! Don't forget to check the following article at: http://www.testools.net/2015/07/how-to-install-arch-linux-step-by-step_20.html

0 comentarios:

Post a Comment