Remember arch installation (VMware)

Source: Internet
Author: User

This is to find the CentOS image to install a minimal system (computer card), the results of the CentOS comment on the JR mentioned arch and Gentoo, want to try. Compared with Gentoo and Arch,gentoo more complex than arch, choose to install Arch first.

Image used: Http://mirrors.163.com/archlinux/iso/2014.11.01/archlinux-2014.11.01-dual.iso

Installation process Reference:

Http://www.cnblogs.com/mad/p/3280041.html

Most of the process is accurate, but there are two minor problems.

Question 1:

E: Install Grub: pacman-s grub Grub-install--target=i386-pc--RECHECK/DEV/SDA

The right way is actually two orders.

Pacman-s Grub

Grub-install--target=i386-pc--RECHECK/DEV/SDA

Question 2:

Execute command: Grub-install--target=i386-pc--RECHECK/DEV/SDA will report the following error:
/usr/sbin/grub-setup:warn:this GPT Partition label has no BIOS Boot partition; Embedding won ' t be possible!.
/usr/sbin/grub-setup:warn:embedding is not possible.  GRUB can only is installed in the this setup by using Blocklists. However, blocklists is unreliable and their use is discouraged.
/usr/sbin/grub-setup:error:will not proceed with blocklists.

This error occurs because:

Because I was in the partition before the entire/DEV/SDA under the space is assigned/, and this time grub-install, but also need space to put the MBR

My solution:

In Cfdisk, a space was reserved (I chose/DEV/SDA).

Then after this error occurs:

1. Exit the current shell first

2. >>PARTED/DEV/SDA Unit s Print to find the label of the space just reserved

3, >>PARTED/DEV/SDA set 1 Bios_grub on (this 1 is the space I have just reserved for MBR)

4, >>partprobe

And then arch-chroot/mnt, continue the step that just went wrong.

The installation can be completed smoothly.

Ps:

Commands for installing basic tools under arch:

Pacman-s vim SSH

Install tools such as the Ifconfig route under other Linux hairstyles:

Pacman-s net-tools dnsutils inetutils iproute2

Pacman-s Nmap and so on, very much like Ubuntu under the Apt-get and CentOS under the Yum

Update:

Pacman-yy (similar to apt-get update under Ubuntu)

To install SSH:

Pacman-s OpenSSH

Remember arch installation (VMware)

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.