安装步骤及配置:
cfdisk /dev/sda dos
/dev/sda1 1G 83
/dev/sda2 2G swap
/dev/sda2 17G 83
mkfs.ext4 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2
mkfs.ext3 /dev/sda3
mount /dev/sda3 /mnt
mkdir /mnt/boot /mnt/var /mnt/home
mount /dev/sda1 /mnt/boot
pacstrap /mnt base base-devel
pacman -Syu
pacstrap /mnt grub-bios
genfstab -p /mnt >> /mnt/ect/fstab
arch-chroot /mnt
hwclock --systohc --utc
mkinitcpio -p linux
passwd root
useradd -m -g users -s /bin/bash kong
passwad kong
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
exit
exit
reboot
登录
hostnamectl set-hostname archlinux
ip add
systemctl start dhcpcd
ip add
vi /ect/sudoers
增加一行 kong ALL=(ALL) ALL
pacman -S xorg
pacman -S xterm xorg-xclock xorg-twm xorg-xinit xorg-server-utils
pacman -S slim slim-themes archlinux-themes-slim xdg-user-dirs
pacman- S xfce4
systemctl enable slim.service
cp /etc/X11/xinit/xinitrc ~/.xinitrc
vi xinitrc
#掉twm$下面,增加exec xfce4-session
vi /etc/slim.conf
找到current_theme default ,将default修改archlinux-soft-grey
reboot
启动后,输入root 密码 后提示 failed to execute login command,
驱动和X11都应该是可以的,操作startx的时候出现3个窗口
离线
不要用 slim 了,实现有问题。
离线