33 lines
748 B
Bash
33 lines
748 B
Bash
######################## MANUAL !!! ############################
|
|
|
|
loadkeys fr
|
|
timedatectl set-ntp true
|
|
ping -c3 archlinux.org
|
|
|
|
pacman -Syy
|
|
pacman -S reflector
|
|
reflector -c "France" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
|
|
|
fdisk -l | grep /dev/sd | grep Disk
|
|
#/dev/sda 64gb
|
|
cfdisk /dev/sda
|
|
################EFI################
|
|
#gpt
|
|
#delete existing partitions
|
|
#select freespace
|
|
#first partition : 1G (EFI)
|
|
#last partition : 499G (Linux Root x86_64)
|
|
#hit write
|
|
#hit quit
|
|
mkfs.vfat /dev/sda1
|
|
mkfs.ext4 /dev/sda2
|
|
|
|
mount /dev/sda2 /mnt
|
|
mkdir /mnt/boot/
|
|
mount /dev/sda1 /mnt/boot/
|
|
|
|
pacstrap /mnt base base-devel linux linux-firmware sudo nano wget
|
|
genfstab -U /mnt >> /mnt/etc/fstab
|
|
arch-chroot /mnt
|
|
#welcome to chroot, use the first script!
|