mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 11:56:40 +00:00
updated
This commit is contained in:
parent
86565ba3a2
commit
a70c1566c6
1171 changed files with 27461 additions and 0 deletions
66
servers/Arch/skid9000_memento.sh
Normal file
66
servers/Arch/skid9000_memento.sh
Normal file
|
@ -0,0 +1,66 @@
|
|||
#!/bin/bash
|
||||
#Arch Install :
|
||||
|
||||
loadkeys fr
|
||||
#ip a | grep inet --> dhcpcd
|
||||
timedatectl set-ntp true
|
||||
|
||||
#Partitionnement (uefi) :
|
||||
#[/boot] 512M vfat (uefi system)
|
||||
#[/] le reste ext4 (Linux Root x86_64)
|
||||
#mkfs.truc --> /dev/device
|
||||
|
||||
#mount -> /mnt
|
||||
|
||||
pacstrap /mnt base linux linux-firmware
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
#(ATTENTION AUX UUID et PARTUUID --> blkid)
|
||||
|
||||
#Pour extract un truc : blkid | awk '{print $?}' | tr -d '"'
|
||||
|
||||
#Exemple : https://puush.tuto-craft.com/1591199923-MHvA42QvSt.png
|
||||
|
||||
arch-chroot /mnt
|
||||
|
||||
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
||||
hwclock --systohc
|
||||
|
||||
echo 'fr_FR.UTF-8 UTF-8' > /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
echo 'LANG=en_US.UTF-8' > /etc/locale.conf
|
||||
echo 'KEYMAP=fr' > /etc/vconsole.conf
|
||||
|
||||
echo 'nowhere' > /etc/hostname
|
||||
|
||||
echo "127.0.0.1 localhost
|
||||
::1 localhost" > /etc/hosts
|
||||
|
||||
mkinitcpio -P
|
||||
passwd
|
||||
|
||||
useradd nothing
|
||||
mkdir /home/nothing
|
||||
cp /etc/skel/.* /home/nothing/
|
||||
chown -R nothing: /home/nothing
|
||||
passwd nothing
|
||||
|
||||
pacman -S sudo
|
||||
usermod -aG wheel nothing
|
||||
|
||||
|
||||
pacman -S dhcpcd
|
||||
systemctl enable dhcpcd
|
||||
pacman -S refind
|
||||
refind-install
|
||||
|
||||
Check /boot/refind_linux.conf : https://puush.tuto-craft.com/1589786074-QHD8Lw5Men.png
|
||||
(also check if /boot is really /boot and not / /boot lol)
|
||||
|
||||
exit
|
||||
umount /mnt/boot /mnt
|
||||
reboot
|
||||
|
||||
*login as somebody*
|
||||
|
||||
sudo pacman -S base-devel git i3 xorg-server xorg-xinit
|
Loading…
Add table
Add a link
Reference in a new issue