preparation
開VM
指定archlinux installation DVD disk1
2
3
4
5
6
7
8cgdisk /dev/sda
primary /dev/sda1 bootable 83 linux
primary /dev/sda2 82 swap
mkswap /dev/sda2
mkfs.ext4 /dev/sda1
mount /dev/sda1 /mnt
nano /etc/pacman.d/mirrorlit
最前加上 Server=http://archlinux.cs.nctu.edu.tw/$repo/os/$arch
installation
1 | ~~pacstrap /mnt base base-devel brub~~ |
setup
1 | arch-chroot /mnt |
lang
1 | vi /etc/locale.gen |
make boot image
1 | mkinitcpio -p linux |
setup brub
1 | pacman -S grub-bios |
setup
1 | passwd |
finalize & reboot
1 | exit |
after reboot check swap
1 | cat /proc/swaps |
install X11
1 | pacman -S xorg-twm xorg-xclock xterm |
install KDE
1 | ~~pacman -S kde~~ |