Last active
December 21, 2015 08:39
-
-
Save ponych/6279764 to your computer and use it in GitHub Desktop.
archlinux 2013.08.01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#fdisk /dev/sda | |
#mkfs.ext4 /dev/sda(1~3) | |
#mkswap /dev/sda4 | |
#swapon /dev/sda4 | |
#mount /dev/sda3 /mnt | |
#mkdir /mnt/boot | |
#mount /dev/sda1 /mnt/boot | |
#mkdir /mnt/home | |
#mount /dev/sda2 /mnt/home | |
#pacstrap /mnt/ base base-devel vim grub-bios os-prober net-tools | |
#genfstab -p /mnt >> /mnt/etc/fstab | |
#arch-chroot /mnt | |
#vim /etc/locale.gen | |
#locale-gen | |
#echo "er.chen" >> /etc/hostname | |
#mkinitcpio -p linux | |
#systemctl enable dhcpcd.service | |
#grub-mkconfig -o /boot/grub/grub.cfg | |
#grub-install /dev/sda | |
#passwd ; // set new password for root | |
#exit | |
#reboot | |
=== reboot line == | |
#pacman -Syu | |
#pacman -S xorg-server xorg-xinit gnome gnome-extra sudo | |
#X -configure | |
#cp xorg.conf.new /etc/X11/xorg.conf | |
#useradd cxx -m | |
#passwd cxx | |
#visudo ;// add cxx to sudor | |
=== login as cxx == | |
$startx | |
=== start gnome-terminal === | |
$sudo systemctl enable gdm.service | |
$sudo reboot | |
=== the end of install === |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment