Installing OS Arch GNU / Linux
Language
Sections
Search
Electronic stores
Counter
Text guide
 

    Back(Documentation)

    Newly from distribution Arch GNU / Linux has been removed graphical installer system. This was due to his long-time update. Developers of the distribution did not panic and prepare installation scripts that help simplify the manual installation of the system. This article is written only because ordinary users, especially after Windows 7, with a console (command line) may refuse to install it at all, let alone work there. Installation is in VmWare Player. You can download the distribution link Arch GNU / Linux from 2012.08.04.

    [Enter] = "Enter" key

    After the startup disk from under DOS, you must select a boot option:

    Boot Arch Linux (i686)

    When the system is booted, all commands must be followed sequentially. Start with a blank hard disk breakdown, which was not a single operating system. Run the utility GNU Parted:

    $parted

    Create a new partition table:

    (parted) mklabel msdos

    A positive answer to these questions:

    (parted) (yes/no)? yes

    Our virtual hard disk has 16GB. Create a primary partition to the size of the entire hard drive from a position of 0.0MB:

    (parted) mkpart primary 0.0M 16G

    Ignore the warning:

    (parted) (Ignore/Cancel)? Ignore

    Exit the program:

    (parted) quit

    Create a file system (the so-called disk formatting :)):

    $mkfs -t ext3 /dev/sda1

    Remove the reserved blocks (5.00%) in the section left for remedial purposes administrator (root):

    $tune2fs -r 0 /dev/sda1

    Mount the partition in a directory:

    $mount /dev/sda1 /mnt

    Connect to the Internet via DHCP:

    $dhclient

    Install base from the developer tools:

    $pacstrap /mnt base base-devel

    Generate a file allocation table file system:

    $genfstab -p /mnt >> /mnt/etc/fstab

    Change the root directory with "/" on "/mnt":

    $arch-chroot /mnt

    Create a file with the name of our virtual computer:

    $cat > /etc/hostname
    wickedpc [Enter]
    CTRL+D

    Create a symbolic link (shortcut) to our time zone (Moscow):

    $ln -s /usr/share/zoneinfo/Europe/Moscow /etc/localtime

    Create a file of our desired locale:

    $nano /etc/locale.conf
    LANG="en_US.UTF-8" [Enter]
    LC_COLLATE="C" [Enter]
    LC_TIME="en_US.UTF-8" [Enter]
    CTRL+O [Enter]
    CTRL+X

    Uncomment (the "#"), our locale:

    $nano /etc/locale.gen
    # en_SG.UTF-8 UTF-8
    # en_US.ISO-8859-15 ISO-8859-15
    en_US ISO-8859-1
    en_US.UTF-8 UTF-8
    # en_ZA ISO-8859-1
    CTRL+O [Enter]
    CTRL+X

    Generate additional information:

    $locale-gen

    Create our kernel with the default configuration:

    $mkinitcpio -p linux

    Install the boot loader:

    $pacman -S syslinux

    Configure the boot loader:

    $/usr/sbin/syslinux-install_update -iam

    Change in the configuration editor to boot from CD "/dev/sda1":

    $nano /boot/syslinux/syslinux.cfg
    CTRL+O [Enter]
    CTRL+X

    Install the administrator password(root). "wicked" = "Your password":

    $passwd [Enter]
    wicked [Enter]
    wicked [Enter]

    We leave from the folder "/mnt" to the root "/":

    $exit

    Unmount the drive:

    $umount /mnt

    All, the base system is installed, the basic settings are made. Reboot into the new system:

    $reboot

    After loading the entry as:

    $login: root
    $password: wicked [Enter]

    Add a new standard user "wicked":

    $useradd -m wicked

    Set the password of the new user:

    $passwd wicked
    $wicked [Enter]
    $wicked [Enter]

    Install the utility that can help the standard user administrative action:

    $pacman -S sudo

    Edit the configuration file:

    $nano /etc/sudoers
    root ALL=(ALL) ALL
    wicked ALL=(ALL) ALL
    CTRL+O [Enter]
    CTRL+X

    Exit the Administrator account:

    $exit

    We go in as a standard user:

    $login: wicked
    $password: wicked

    Install the display server:

    $sudo pacman -S xorg

    Sudo requires a password to operate the current standard user:

    password: wicked

    Answer questions:

    $(default=all): [Enter]
    $[Y/n]: y

    Install the meta-package graphical client (user's desktop :)):

    $sudo pacman -S kde-meta
    password: wicked
    $(default=all): [Enter]
    [Enter]
    [Enter]
    $[Y/n]: y

    Change the system to boot from the console (command line) to the graphical desktop:

    $sudo nano /etc/inittab
    password: wicked
    #Boot to X11
    id:5:initdefault:
    #Login manager
    x:5:respawn:/usr/bin/kdm -nodaemon
    CTRL+O [Enter]
    CTRL+X

    Adding to automatic loading service DBUS, necessary to complete the work of graphical desktop KDE:

    $sudo nano /etc/rc.conf
    password: wicked
    DAEMONS=(syslog-ng network crond dbus)
    CTRL+O [Enter]
    CTRL+X

    User configurable display server to load the client of the KDE desktop:

    $sudo nano .xinitrc
    password: wicked
    exec ck-launch-session startkde [Enter]
    CTRL+O [Enter]
    CTRL+X

    Reboot:

    $reboot

    All, the system is fully operational :)

    Back(Documentation)


Lab Free Technologies © 2009 - 2016