-
create a new virtualbox for ArchLinux
-
allocate memory size
-
create a virtual disk
-
set virtual disk type
-
fixed size or dynamic size
-
storage location and disk size
-
start virtualbox
-
set boot image before boot
- select the entry
Boot Arch Linux (x86_64)
-
login in Arch Linux live environment and you are ready to setup you Arch Linux, just do it.
- partition,
fdisk /dev/sda
-
create a primary partition, here we create a primary partition to mount /
- format partition as ext4,
mkfs.ext4 /dev/sda1
- mount partition to /mnt,
mount /dev/sda1 /mnt
- select the fastest mirror
vi /etc/pacman.d/mirrorlist
, here we set http://mirrors.163.com
- update pacman cache,
pacman -Syy
- install basic system,
pacstrap -i /mnt base base-devel net-tools
, please inputenter
to selectdefault
- generate fs partition record,
genfstab -U -p /mnt >> /mnt/etc/fstab
- set root directory,
arch-chroot /mnt /bin/bash
- set language,
vi /etc/locale.gen
, please uncomment en_US.UTF-8 and zh_CN.UTF-8
- locale generate,
locale-gen
- set hostname,
echo 'zql.org' > /etc/hostname
- update hosts for hostname,
vi /etc/hosts
- create user
zql
,useradd -m -g users -G wheel -s /bin/bash zql
- set password for zql,
passwd zql
- set password for root,
passwd
- install xorg, display drivers, desktop environment,
pacman -S grub-bios xorg xorg-server xorg-drivers deepin deepin-extra lightdm lightdm-deepin-greeter networkmanager xf86-video-intel
, please inputenter
to selectdefault
- install grub,
grub-install /dev/sda
- generate grub config,
grub-mkconfig -o /boot/grub/grub.cfg
- enable NetManager,
systemctl enable NetworkManager
- add login session,
vi /etc/lightdm/lightdm.conf # add greeter-session=lightdm-deepin-greeter
- enable desktop display manager,
systemctl enable lightdm
- umount /mnt,
umount /dev/sda1
- reboot
- yeah! welcome to deepin!
virtualbox install arch and deepin desktop environment
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 先读一下前面这段话,以决定是否要看下去: 这是写给纯小白的Arch Linux安装步骤。Arch的可配置自由度太高...
- 建议:在开始安装之前,请简要通读全文一遍; 本文目录: ● 本文的目的● 第一步,U盘启动电脑● 第二步,安装前...