Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tips:archlinux:install [2022/09/05 08:24] – [Install system] sscipioni | tips:archlinux:install [2022/10/03 12:23] (current) – [from archlinux iso] sscipioni | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== from archlinux iso ===== | ===== from archlinux iso ===== | ||
| - | * [[https:// | + | install on archiso zfs system from https:// |
| + | < | ||
| + | curl -s https:// | ||
| + | </ | ||
| + | ===== ext4 ===== | ||
| + | |||
| + | |||
| + | create partition | ||
| < | < | ||
| - | systemctl enable dhcpd | + | DISK=ata-SSDPR-CX400-256-G2_GY3042305 |
| + | sgdisk --clear -g $DISK | ||
| + | |||
| + | sgdisk | ||
| + | parted $DISK set 3 bios_grub on | ||
| + | sgdisk | ||
| </ | </ | ||
| - | install on archiso zfs system from https:// | + | format |
| - | < | + | < |
| - | curl -s https:// | + | mkfs.ext4 |
| </ | </ | ||
| + | mount | ||
| + | < | ||
| + | mount $DISK-part1 /mnt | ||
| + | </ | ||
| + | |||
| + | install arch | ||
| + | < | ||
| + | pacstrap /mnt base linux-lts linux-firmware | ||
| + | genfstab -U /mnt >> / | ||
| + | </ | ||
| + | follow https:// | ||
| ==== ZFS ==== | ==== ZFS ==== | ||
| Line 88: | Line 111: | ||
| - | ===== from existing linux ===== | ||
| - | |||
| - | * https:// | ||
| - | * https:// | ||
| - | * https:// | ||
| - | |||
| - | ==== base ZFS ==== | ||
| - | |||
| - | |||
| - | < | ||
| - | cd /tmp | ||
| - | wget https:// | ||
| - | sudo install -m 755 arch-bootstrap.sh / | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | zfs create rpool/ | ||
| - | zfs set atime=off rpool | ||
| - | zfs set relatime=on rpool | ||
| - | zfs set mountpoint=/ | ||
| - | |||
| - | arch-bootstrap /arch | ||
| - | |||
| - | [ -f / | ||
| - | mkdir -p / | ||
| - | cp / | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | cd /arch | ||
| - | mount -t proc none proc | ||
| - | mount -t sysfs none sys | ||
| - | mount -o bind /dev dev | ||
| - | mount -o bind /dev/pts dev/pts | ||
| - | cp -L / | ||
| - | </ | ||
| - | |||
| - | syncro packages and install base | ||
| - | < | ||
| - | chroot . bash | ||
| - | </ | ||
| ===== Install system ===== | ===== Install system ===== | ||
| Line 148: | Line 130: | ||
| pacman-key --lsign-key F75D9D76 | pacman-key --lsign-key F75D9D76 | ||
| pacman -Syyu | pacman -Syyu | ||
| - | pacman --noconfirm -S zfs-linux-lts | + | pacman --noconfirm -S linux-lts linux-lts-headers linux-firmware |
| + | pacman --noconfirm -S zfs-dkms | ||
| systemctl enable zfs.target | systemctl enable zfs.target | ||
| systemctl enable zfs-import-cache | systemctl enable zfs-import-cache | ||
| Line 234: | Line 217: | ||
| < | < | ||
| - | pacman -S gnome gnome-extra gnome-tweak-tool chrome-gnome-shell | + | pacman -S gnome gpaste network-manager-applet |
| systemctl enable NetworkManager.service | systemctl enable NetworkManager.service | ||
| systemctl enable gdm | systemctl enable gdm | ||
| Line 241: | Line 224: | ||
| nvidia | nvidia | ||
| < | < | ||
| - | pacman -S nvidia | + | pacman -S nvidia-dmks |
| </ | </ | ||
| others | others | ||
| < | < | ||
| - | pacman -S zsh rsync openssh | + | pacman -S fish rsync openssh |
| pacman -S libreoffice-fresh-it | pacman -S libreoffice-fresh-it | ||
| </ | </ | ||
| Line 252: | Line 235: | ||
| < | < | ||
| + | exit | ||
| mount | grep -v zfs | tac | awk '/ | mount | grep -v zfs | tac | awk '/ | ||
| zpool export rpool | zpool export rpool | ||
| reboot | reboot | ||
| </ | </ | ||