Arch Linux Installation detailed

Source: Internet
Author: User
Tags arch linux

Preparing disk Partitions
    • Create mount Directory

Mkdir/mntmkdir/mnt/bootmkdir/mnt/home
    • Hangs on the root partition and swap

      mount the root partition on/mnt. After the, create directories for and mount any other partitions (/mnt/boot,/mnt/home, ...) and activate your swap parti tion if you want them to being detected later by Genfstab.

Mount/dev/sdax/mntmount/dev/sdax/bootmount/dev/sdax/home
Connect to Network
    • Wireless:

Wifi-menu
    • Edit Mirror List

Wget-o/etc/pacman.d/mirrorlist https://www.archlinux.org/mirrorlist/all/
Installation system
PACSTRAP/MNT Base
Configuring the System
    • Generate an fstab file (Use-u or-l to define by UUID or labels):

Genfstab-p/mnt >>/mnt/etc/fstab
    • Chroot

Arch-chroot/mnt
    • Set the hostname:

echo computer_name >/etc/hostname
    • Set The time zone:

Ln-sf/usr/share/zoneinfo/zone/subzone/etc/localtime
    • Set the locale:

Nano-w/etc/locale.genlocale-gen
    • Set the password:

passwd
Create a new initial RAM disk:
Mkinitcpio-p Linux
Install a bootloader:
    • Install GRUB2:

Pacman-s Grubgrub-install--target=i386-pc--RECHECK/DEV/SDA
    • Dual-booting:

Pacman-s Os-prober
    • Generating the Grub configuration file

Grub-mkconfig-o/boot/grub/grub.cfg


This article from "Bo Master: Lone King" blog, please be sure to keep this source http://aceking.blog.51cto.com/3681913/1564164

Arch Linux Installation detailed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.