Difference between revisions of "User:Ryanpcmcquen/Quick install command set for Arch Linux (goes to startx)"

From ArchWiki
Jump to: navigation, search
(Quick install command set for Arch Linux by Ryan P.C. McQuen)
(Quick install command set for Arch Linux by Ryan P.C. McQuen)
Line 44: Line 44:
   useradd -m -g users -G  
   useradd -m -g users -G \
     audio,disk,floppy,games,locate,lp,network,optical,power,scanner,storage,sys,uucp,video,wheel \
     -s /bin/bash johndoe
     -s /bin/bash johndoe
   passwd johndoe
   passwd johndoe

Revision as of 17:52, 26 August 2013

Quick install command set for Arch Linux by Ryan P.C. McQuen

KNOW YOUR SYSTEM! This works on my 64-bit & 32-bit system.

-2013.08.01 arch iso, the torrent is best (you should be fine on any future ones until the process changes)

Start with wired internet (or not!). If not, do this:

 iw dev
 wifi-menu <your-network-interface>

-wlo1 is my wifi-card, iw dev will tell you what yours is

-johndoe is a placeholder, as is /dev/sda1, /dev/sda2

-run gdisk to create your partition table and such (if you have a legacy bios, make sure to set attribute 'legacy bios bootable' [under expert menu])

 mkswap /dev/sda1
 swapon /dev/sda1
 mkfs.ext4 /dev/sda2
 nano /etc/pacman.d/mirrorlist  ##if you want to move the mirrors around
 mount /dev/sda2 /mnt
 pacstrap /mnt base base-devel
 genfstab -p /mnt >> /mnt/etc/fstab
 arch-chroot /mnt
 nano /etc/locale.gen
 ##uncomment your locale (the utf-8 one)
 ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
 ##or whatever your time zone is
 hwclock --systohc --utc
 ##nano /etc/hostname, if you wish
 nano /etc/pacman.conf
 ##(include multilib for 64-bit)
 pacman -Syy
 pacman -S wpa_supplicant wpa_actiond iw ifplugd dialog wireless_tools
 useradd -m -g users -G \
   audio,disk,floppy,games,locate,lp,network,optical,power,scanner,storage,sys,uucp,video,wheel \
   -s /bin/bash johndoe
 passwd johndoe
 %wheel ALL=(ALL) ALL
 ##and add:
 johndoe ALL=(ALL) ALL
 pacman -S syslinux gptfdisk  ##or your preferred boot loader
 syslinux-install_update -i -a -m
 syslinux-install_update -u
 #make sure root partition is set to boot
 nano /boot/syslinux/syslinux.cfg
 umount /mnt
 iw dev
 sudo wifi-menu
 sudo pacman -Syyu alsa-utils alsa-firmware pulseaudio-alsa git wget curl
 sudo pacman -S xorg xorg-xinit xorg-server-utils mesa xorg-twm xorg-xclock xterm
 sudo pacman -S ttf-ubuntu-font-family ttf-droid ttf-liberation libtxc_dxtn
 ##amd-ucode or intel-ucode
 ##lib32-ati-dri, lib32-intel-dri or lib32-nouveau-dri (for 64 bit)
 ##then a de:
 sudo pacman -S gnome gnome-extra gnome-shell-extensions gksu chromium firefox midori vlc
 ##or for xmonad: sudo pacman -S xmonad-contrib dmenu scrot chromium firefox midori vlc
 ##or for e17: sudo pacman -S enlightenment17 connman chromium firefox midori vlc
 ##later get econnman & terminology through AUR
 nano ~/.xinitrc
 ##and add:
 exec gnome-session
 ##or exec xmonad
 ##or exec enlightenment_start
 ##or sudo systemctl enable gdm, then gdm will start automatically at boot
 ##also, sudo systemctl enable NetworkManager (if you wish)