This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:archlinux:install [2022/09/16 08:48] – [from existing linux] 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 107: | Line 130: | ||
| pacman-key --lsign-key F75D9D76 | pacman-key --lsign-key F75D9D76 | ||
| pacman -Syyu | pacman -Syyu | ||
| - | pacman --noconfirm -S linux-lts linux-headers | + | pacman --noconfirm -S linux-lts linux-lts-headers |
| - | pacman --noconfirm -S zfs-dkms | + | pacman --noconfirm -S zfs-dkms |
| systemctl enable zfs.target | systemctl enable zfs.target | ||
| systemctl enable zfs-import-cache | systemctl enable zfs-import-cache | ||