diff --git a/0_install_system.md b/0_install_system.md index 721f1e8..5e579cc 100644 --- a/0_install_system.md +++ b/0_install_system.md @@ -1,5 +1,7 @@ My install and configuration script for Archlinux. +see: https://www.tecmint.com/arch-linux-installation-and-configuration-guide/ + Archlinux Install ================= @@ -18,25 +20,29 @@ wifi-menu Prepare the storage devices --------------------------- + +mettre ma partition en ```GPT``` + ``` -fdisk /dev/sda -# help: -d ==> delete -p ==> print table -n ==> new (+128M to define 128 MO) -a ==> set partition bootable (for sda1) +fdisk +=> m +``` + + +``` +cfdisk /dev/sda ``` | Name | Boot | Size | Format | Mount | | ---- | :---: | -----: | :--------: | ----- | -| sda1 | * | 128M | mkfs.fat | /boot | -| sda2 | | 8G | mkswap | | -| sda3 | | 32G | mkfs.ext4 | / | -| sda4 | | ALL | mkfs.ext4 | /home | +| sda1 | * | 300M | mkfs.fat | /boot | EFI System +| sda2 | | 8G | mkswap | | swap +| sda3 | | 32G | mkfs.ext4 | / | linux filesystem +| sda4 | | ALL | mkfs.ext4 | /home | linux home mkfs all... ``` -mkfs.fat /dev/sda1 +mkfs.fat -F32 /dev/sda1 mkswap /dev/sda2 mkfs.ext4 /dev/sda3 mkfs.ext4 /dev/sda4 @@ -55,7 +61,7 @@ Install the base system ----------------------- Replace \ by what you want... ``` -pacstrap /mnt base base-devel syslinux vim git +pacstrap /mnt base base-devel syslinux vim git gptfdisk genfstab -L -p /mnt >> /mnt/etc/fstab arch-chroot /mnt echo > /etc/hostname diff --git a/6_network.md b/6_network.md index c4d95b6..f7b9d6a 100644 --- a/6_network.md +++ b/6_network.md @@ -28,3 +28,30 @@ systemctl enable avahi-daemon.service systemctl start avahi-daemon.service ``` + +Corret ontrol of time: +======================== + +Install servie of network time protocol: + +``` +pacman -S ntp +``` + +For ce the time to update fast and not with small change + +``` +ntpd -qg +``` + +Start a service: + +``` +systemctl stop ntpd +``` + +Display the current status + +``` +timedatectl status +```