"Notes" VIRTUALBOX+ARCH+KDE5 installation Journal

Source: Internet
Author: User

Normal installation is rtfd on the line, can not assist these links are also OK:

Let me put the entire script [1] here:

Loadkeys US
Parted
MKFS.EXT4/dev/sda1
Mkfs.ext4/dev/sda3mkswap/dev/sda2 && swapon/dev/sda2
Mount/dev/sda3/MNT
Cd/mnt
mkdir Boot
Mount/dev/sda1/mnt/boot
VI/etc/pacman.d/mirrorlist
Pacman-syy
Pacstrap/mnt Base Base-devel net-Toolsgenfstab-u-p/mnt >>/mnt/etc/Fstabarch-chroot/mntPacman-S grub-Biosgrub-Install/dev/Sdagrub-mkconfig-o/boot/grub/Grub.cfgexitreboot

In this section of the partition, my partitioning habits are as follows:

With parted:

1 boot Onmkpart primary linux-1. 1G-1

This typesetting is true ....

This is about to say, set up a 100M boot, then 1G swap partition, and then the rest is all/.

Check the parted inside P and then exit Q.

swapon/dev/Mount /dev/sda3//mntmkdir  bootmount / Dev/sda1/mnt/boot

This is where the hang is.

In the Mirrorlist add a NetEase source, speed can be a bit faster:

Server = http://mirrors.163.com/archlinux/$repo/os/$arch

Then according to the above set, to the arch-chroot in after the grub set, even if the system installed.

Reboot first, then set:

First the code:

vi /etc/locale.gen && locale-genEcho lang="en_US. UTF-8" >>/etc/locale.conf

Then the time zone and host name:

Ln -s/usr/share/zoneinfo/asia/shanghai/etc/localtimeechoSCP-1171 >>/etc/hostname

Because later to install the desktop, so first installed kernel module, not anxious to add the user first:

Pacman-s virtualbox-guest-Utils
Pacman-s linux-headersecho vboxguest >>/etc/modules-load.d/vbox.confEcho vboxsf >>/etc/modules-load.d/vbox.confecho vboxvideo >>/etc/modules-load.d/ Vbox.conf

When loading virtualbox-guest-utils, there will be dkms things, here put a link [2], follow the steps inside,

When this is finished, install the desktop:

Pacman-s xorg xorg--S Wqy-zenheiwqy--S SDDM #桌面启动器

Here to say a point of attention, SDDM installed, do not hurry to set up the boot, first self-start, look at the resolution there is no problem, theoretically installed kernel module and virtualbox-guest-utils, the resolution will not be a problem, but still test insurance, Otherwise the boot will always die on failed to start Virtualboxadd.service ....

Then there is nothing, want to install what software to play, here is mainly a point to note, to install the virtualbox-guest-utils, and then installed KDE.

Oh ah, originally wanted to write a few points, the result is written in the water account, so simply as a backup of the installation script forget it.

[1]: https://bbs.archlinuxcn.org/viewtopic.php?id=1901

[2]: Https://wiki.archlinux.org/index.php/VirtualBox_ (%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87)

"Notes" VIRTUALBOX+ARCH+KDE5 installation Journal

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.