Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- Arch install guide - BIOS
- Wired Ethernet connection
- BIOS NON UEFI
- This guide installs base arch with no DE or WM
- # ls /sys/firmware/efi/efivars
- -if directory above exist this system is UEFI. Please use a differnet guide.
- # ping archlinux.org
- # timedatectl set-ntp true
- # timedatectl status
- # lsblk OR # fdisk -l
- used to locate name of disk name to install arch on. probably /dev/sda
- # gdisk /dev/sd*
- Create Partitions:
- Partition 1 - boot partition:
- -type 'n' and at enter prompt to create new partition
- -default partition number
- -first sector accept default, last sector type +250M
- -use 8300 and press enter
- Partition 2 - swap partition:
- -type 'n' at propmt
- -default partition number
- -first sector default, last sector +2G
- -use 8200 and press enter
- Partition 3 - root partition:
- -type 'n' and enter at prompt
- -default partition number
- -first sector default, last sector +15G
- -use 8300 and press enter
- Partition 4 - home partition:
- -type 'n' and enter at prompt
- -default partition number
- -first and last sector default
- -default 8300 hex code
- -type -w to write and quit
- - y to confirm
- # mkfs -t ext4 /dev/sda1
- # mkfs -t ext4 /dev/sda3
- # mkfs -t ext4 /dev/sda4
- # mkswap /dev/sda2
- # parted /dev/sda set 1 bios_grub on
- # swapon /dev/sda2
- # mount /dev/sda3 /mnt
- # cd /mnt
- create points and mount
- # mkdir boot home
- # mount /dev/sda1 boot
- # mount /dev/sda4 home
- # cd /mnt
- # pacstrap /mnt base base-devel linux linux-firmware
- # genfstab /mnt>> /mnt/etc/fstab
- # arch-chroot /mnt
- # nano /etc/locale.gen
- uncomment
- #en_US.UTF-8 UTF-8
- #en_US ISO-8859-1
- *** if nano not installed
- #pacman -Sy nano vim
- # ln -s /usr/share/zoneinfo/America/Detroit > /etc/localtime
- # nano /etc/locale.conf
- LANG="en_US.UTF-8"
- # locale-gen
- # hwclock --systohc --utc
- # pacman -Sy dialog iw grub
- # grub-install --target=i386-pc /dev/sda
- # grub-mkconfig -o /boot/grub/grub.cfg
- # echo hostname > /etc/hostname
- replace hostname with desired hostname
- # passwd
- # exit
- # umount -R /mnt
- # reboot
- { if host doesnt connect to internet
- # sudo systemctl start dhcpcd }
- # useradd -m -G wheel, -s /bin/bash admin
- # passwd admin
- # nano /etc/sudoers
- admin ALL=(ALL) NOPASSWD:ALL
- # pacman -Sy
- # pacman -Sy vim
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement