Difference between revisions of "Quick Arch Linux Install"

From ArchWiki
Jump to: navigation, search
(It is out of date for a long time and serve the same role as Installation Guide.)
(40 intermediate revisions by 27 users not shown)
Line 1: Line 1:
[[Category:Installation]]
+
#REDIRECT [[Installation Guide]]
This document walks you through a basic Archlinux installation. It is based on the 0.6 (widget) installation scripts.
+
 
+
=== Introduction===
+
 
+
This is a quick walkthrough for those who don't yet know what Arch is and what it is capable of. It is written mainly for those people who already have an existing Windows Partition on their harddrive and want to set up Arch Linux without harming the Windows install.
+
 
+
This guide is for \"normal\" hardware, nothing special (such as scsi) is documented.
+
 
+
Windows is assumed to exist on the first partition of the harddrive, otherwise grub won't be able to find it.
+
 
+
====0.1 Necessary things====
+
 
+
* The Archlinux Base Installation-CD or the Full-Installation_CD.
+
* Either one free harddisk or free space on one partition. You have to separate this free space from an existing partition in windows with partitioning tools (such as partition magic).
+
 
+
====0.2 Booting from the Arch-CD====
+
 
+
* Insert the CD in your drive, reboot, and check that your BIOS will boot from the CD-ROM drive first.
+
* Now it should look like this:
+
 
+
[http://home.arcor.de/Langeland/1.png Default Arch boot screen]
+
 
+
* Press <code>Enter</code>
+
* After the boot process is finished, type:
+
<pre>
+
/arch/setup
+
</pre>
+
 
+
You will be installing from the CD first, so network drivers are not necessary.
+
 
+
The Main Menu will appear:
+
 
+
[http://home.arcor.de/Langeland/6.png Main Menu]
+
 
+
===1. Partition Hard-Drive===
+
 
+
If you have an empty Hard-Drive you may skip these steps and choose Auto-Partitioning. Please note this will erase all partions from your Hard-Drive! If you want to keep any partition on your harddrive follow the steps below:
+
 
+
====1.1 Partition the Hard-Drive====
+
* Select Prepare Hard-Drive.
+
* Choose Partition Hard-Drive.
+
* Select the Disc you want Arch-Linux to be installed on.
+
* The cfdisk-Partition Program will open and you can create the partitions. For Arch-Base-Installation there are at least two partitions needed:
+
  * one swap partition
+
  * one data partition
+
 
+
* At this point the display may look like this (if you have a ntfs-partition for windows):
+
 
+
[http://home.arcor.de/Langeland/9.png Cfdisk]
+
 
+
* Don't touch the ntfs (or vfat) partition in any way, or otherwise you may lose Windows.
+
* The type of the swap-partition should be set by setting the partition type to 82
+
* If you want to quit cfdisk without saving anything then press quit, otherwise press write.
+
* After using cfdisk it should look like this:
+
 
+
[http://home.arcor.de/Langeland/10.png Partition Layout]
+
 
+
====1.2 Set Mountpoints====
+
* Select point 3: Set Filesystem Mountpoints
+
* Select the partition you marked as swap
+
* Select the other partition for the system (to mount as /)
+
* Select the Filesystem ext3
+
* Select DONE !!
+
''This last step is very important, many people skip this step, but no actions take place until you select DONE - if you do not do this, the install will appear to work, but will not install any files''
+
 
+
===2. Select Packages===
+
 
+
* Select CD
+
* Now it should look like this:
+
 
+
[http://home.arcor.de/Langeland/11.png Package Categories]
+
 
+
* For now you should select only base and editors.
+
* You want to select all packages in the categories by default
+
* Just press ok.
+
 
+
===3. Install Packages===
+
 
+
* This is rather easy: Just press install packages, say ok and everything will be copied from cd to harddisk.
+
 
+
===4. Install Kernel===
+
 
+
* Choose 2.6 IDE unless you know you have different hardware.
+
 
+
===5. Edit Config Files===
+
 
+
* Choose nano to edit the files
+
''' You have to edit the rc.conf''' if you want to change your keyboard layout. For example de is german.
+
 
+
* nano is easy to understand: Strg-o ( Ctrl-o ) saves the file, Strg-x ( Ctrl-x ) saves the file and exits nano.
+
* Change the line with keymap<code>us to keymap</code>de
+
''' You have to edit the '''menu.lst*.
+
* Here you create your bootloader. There you can switch between windows and linux.
+
* You will see a file like this:
+
 
+
[http://home.arcor.de/Langeland/13.png Menu.lst]
+
 
+
* Everything should be setup right to boot into arch, you only have to add the following lines at the end to have the ability to boot windows:
+
<pre>
+
title Windows
+
rootnoverify (hd0,0)
+
chainloader +1
+
</pre>
+
 
+
Press Strg-O, Strg-X and everything is saved.
+
 
+
===6. Install Bootloader===
+
 
+
* Choose grub.
+
* Choose the entry on top of the list.
+
 
+
===7. Ready to reboot===
+
 
+
* Exit the mainmenu, type reboot and the computer should reboot.
+
* Remove the CD
+
* You can choose between windows and arch, default is arch
+
 
+
===8. First steps in Arch===
+
 
+
* Login as root.
+
* Execute the command <code>passwd</code> to set a password for root.
+
<pre>
+
# passwd
+
</pre>
+
* Add a user. You can use the adduser script. Your user should be in the users, audio and optical groups.
+
<pre>
+
# adduser
+
</pre>
+
 
+
Now it's time to fix your internet and start installing packages with Pacman.
+
Enjoy!
+

Revision as of 03:02, 18 August 2012

Redirect to: