VirtualBox under Installation Archlinux+xfce4
This article is basically done by the wiki, as your own installation notes, illustrations after the supplement (usually may not be filled, unless I reload again, hehe)
Booting with ArchLinux ISO
#lsblk查看硬盘和分区名称 (SATA disk starts with SD, the first hard drive is called SDA)
#fdisk/DEV/SDA
N New Partition
P Display existing partition information
t modify the partition format
W Save exit
#mkfs. EXT4/DEV/SDA1 formatted partition to EXT4
#mkswap/DEV/SDA7 formatted SDA7 as a swap partition
#swapon/dev/sda7 Activate swap partition
#mount/dev/sda1/mnt mount Partitions to/mnt, such as with multiple partitions, create a new folder in the/mnt after the mount is loaded
The system defaults to DHCP, if you want to use a static IP, do the following:
#ip link to view the existing network card name (Interface_name instead of the network card name below)
#ip Link Set interface_name up
#ip addr Add ip_address/subnet_maskbroadcast broadcast_address Dev interface
(IP addr Add IP address/subnet mask broadcast broadcast address dev NIC name)
#ip route add default via Default_gateway defaults gateway
#vi/etc/resolv.conf Add DNS
#ping www.163.com Test network does not pass through
We should be able to connect to the Internet here.
#vi/etc/pacman.d/mirrorlist Modify the installation source (at the end of the file there are two domestic sources, copied directly to the beginning of the file can be)
# PACSTRAP/MNT Base Installation Base system
# genfstab-p/mnt >>/mnt/etc/fstab Add boot-mounted partitions
# arch-chroot/mnt go to file system with/mnt as root
# echo computer_name >/etc/hostname Modify Computer name
# ln-s/usr/share/zoneinfo/zone/subzone/etc/localtime Modify Time zone
(Domestic is: ln–s/usr/share/zoneinfo/asia/shanghai/etc/localtime)
#locale-gen
#echo. UTF-8 >/etc/locale.conf Default language, here is English
# Mkinitcpio-p Linux
# passwd Set the root user's password
Install Syslinux start Management
#pacman –S Syslinux
Configure Syslinux
#vi/boot/syslinux/syslinux.cfg
Find APPEND root=/dev/sda1 rw, change the sda1 to the partition where the system/directory resides.
Quit restart
#exit
#umount –r/mnt
#reboot
The basic system has been installed here, the CD-ROM drive exits when restarting, and the direct hard drive starts
#useradd –m ABC add a regular user
#passwd ABC to modify the password for user ABC
Set up a network
Dhcp:
#systemctl Enable DHCPCD
#systemctl Start DHCPCD
STATIC IP:
#systemctl Enable SYSTEMD-NETWORKD
#systemctl Enable systemd-resolved
#systemctl Start SYSTEM-NETWORKD
#systemctl Start systemd-resolved
# ln-s/run/systemd/resolve/resolv.conf/etc/resolv.conf
#vi/etc/systemd/network/eth.network Here "Eth.network" is the name of their own, as long as there is ". Network" End is OK, as for the ". Network" end Line no, no, no.
Eth.network Content Examples:
[Match]
Name=interface_name NIC Name
[Network]
dns=192.168.1.254 DNS Server
ADDRESS=192.168.1.87/24 IP Address/mask
gateway=192.168.1.254 Gateway
#systemctl Restart SYSTEMD-NETWORKD
Installing the video driver
Regardless of the actual use of a card, n card or Intel's graphics card, as long as the virtual machine installed, only the virtual machine provides the driver (for this drive for 1 weeks, do not install the graphics driver, most of the resolution in Xfce is not adjusted)
Vmware:
#pacman –S Xf86-video-vmware
Virtual-box:
#pacman –S Virtualbox-guest-utils
#modprobe –a vboxguest vboxsf vboxvideo load these three modules
Installing xorg
#pacman –S Xorg-server Xorg-server-utils
Installing Xfce4
#pacman –S Xfce4 xfce4-goodies here xfce4-goodies is not required, just a few common packages, lazy directly loaded
Log in to ABC user
$vi. xinitrc
At last add Startxfce4, auto start Xfce4
Or use Startxfce4 to start xfce4 directly with a normal user
Of course, you can also install slim such as Windows Boot Manager to start X
Well, it should be okay to be here, anyway, I'm faking it.
Reference:
Wiki of ArchLinux
https://wiki.archlinux.org/
VirtualBox installation ArchLinux2014
http://tieba.baidu.com/p/3283620884
VirtualBox installation ArchLinux
Https://wiki.archlinux.org/index.php/VirtualBox_ (%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87) #. E8.99.9a.e6.8b.9f.e6.9c.ba.e4.b8.8a.e5.ae.89.e8.a3.85_arch_linux
Install the ArchLinux 2013-06-01 Edition as a personal workstation
Http://blog.sina.com.cn/s/blog_69e5d8400101bqlj.html
ArchLinux operating system minimized installation and configuration details (for future reference)
Http://blog.sina.com.cn/s/blog_69e5d840010143ym.html
Arch Deep Learning Summary of the second: the installation of graphical interface
Http://blog.sina.com.cn/s/blog_69e5d8400101977a.html
Video Learning Materials:
Linux a great God recorded ArchLinux installation tutorial
Part1:
Https://www.youtube.com/watch?v=WITWz1pHskI
Part2:
Https://www.youtube.com/watch?v=Vj9wCWek2aM
This article is from the "Haina Rivers" blog, please be sure to keep this source http://jxnewdate.blog.51cto.com/803946/1719241
Install Archlinux+xfce4 under VirtualBox