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 16: Line 16:
 
-wlo1 is my wifi-card, iw dev will tell you what yours is
 
-wlo1 is my wifi-card, iw dev will tell you what yours is
  
-johndoe is a placeholder, as is /dev/sda1
+
-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])
 
-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])
Line 28: Line 28:
  
  
   mount /dev/sda1 /mnt
+
   mount /dev/sda2 /mnt
  
 
   pacstrap /mnt base base-devel
 
   pacstrap /mnt base base-devel
Line 79: Line 79:
 
   umount /mnt
 
   umount /mnt
 
   reboot
 
   reboot
 
  
 
   iw dev
 
   iw dev
Line 109: Line 108:
  
 
   startx
 
   startx
 
 
enjoy your freedom
 
 
  ##.pc
 

Revision as of 16:51, 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.06.01 arch iso, the torrent is best (you should be fine on the 2013.07.01 install media, and 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)
 locale-gen


 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


 passwd
 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
 visudo
 ##uncomment:
 %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
 exit
 umount /mnt
 reboot
 iw dev
 sudo wifi-menu
 sudo pacman -Syyu alsa-utils alsa-firmware pulseaudio-alsa git wget
 sudo pacman -S xorg xorg-xinit xorg-server-utils mesa xorg-twm xorg-xclock xterm ttf-ubuntu-font-family ttf-droid ttf-liberation libtxc_dxtn
 ##lib32-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 vlc
 ##or for xmonad: sudo pacman -S xmonad-contrib dmenu scrot chromium firefox vlc
 ##or for e17: sudo pacman -S enlightenment17 connman chromium firefox vlc midori
 ##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)
 startx