步驟如下:
1. 插入USB無線網卡
2. 安裝Lubuntu用來產生Bootable Partition
/dev/sda1 System(Bootable) /dev/sda5 Swap
3. 安裝Arch Linux
# mkfs.ext4 /dev/sda1 # mkswap /dev/sda5 # mount /dev/sda1 /mnt # wifi-menu # vim /etc/pacman.d/mirrorlist Server=http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch Server=http://archlinux.cs.nctu.edu.tw/$repo/os/$arch # pacman -Syy # pacstrap /mnt base # genfstab -p -U /mnt > /mnt/etc/fstab # arch-chroot /mnt [chroot] passwd [chroot] echo arch > /etc/hostname [chroot] ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime [chroot] nano /etc/locale.gen en_US.UTF-8 UTF-8 zh_CN.UTF-8 UTF-8 zh_TW.UTF-8 UTF-8 [chroot] locale-gen [chroot] nano /etc/locale.conf LANG="en_US.UTF-8" [chroot] pacman -S xf86-input-synaptics xorg-server xorg-xrandr grub [chroot] pacman -S net-tools wpa_supplicant wireless_tools networkmanager network-manager-applet gnome-keyring [chroot] pacman -S xfce4 xfce4-goodies slim gamin [chroot] systemctl enable NetworkManager.service [chroot] systemctl enable wpa_supplicant.service [chroot] systemctl enable slim.service [chroot] mkinitcpio -p linux [chroot] grub-install --target=i386-pc --recheck /dev/sda [chroot] grub-mkconfig -o /boot/grub/grub.cfg [chroot] nano /etc/default/grub GRUB_CMDLINE_LINUX="i8042.nomux=1 i8042.noloop=1" [chroot] grub-mkconfig -o /boot/grub/grub.cfg [chroot] exit # umount /mnt # reboot
假如遇到Failed to execute login command(非root帳號),請在登入畫面按時Ctrl + Alt + F2並且使用如下方式解決:
$ nano ~/.xinitrc DEFAULT_SESSION=xfce4 setxkbmap jp exec startxfce4