17 lines
546 B
Markdown
17 lines
546 B
Markdown
|
# Archlinux Urgent Chroot
|
||
|
|
||
|
In case of failure, here is the savior :
|
||
|
|
||
|
```sh
|
||
|
loadkeys fr
|
||
|
cryptsetup luksOpen /dev/nvme0n1p5 luks
|
||
|
opts=defaults,noatime,nodiratime,ssd,compress=zstd
|
||
|
mount -o $opts,subvol=@ /dev/mapper/vg-arch /mnt
|
||
|
mount -o $opts,subvol=@/home /dev/mapper/vg-arch /mnt/home
|
||
|
mount -o $opts,subvol=@/var /dev/mapper/vg-arch /mnt/var
|
||
|
mount -o $opts,subvol=@/var/log /dev/mapper/vg-arch /mnt/var/log
|
||
|
mount -o $opts,subvol=@/var/cache/pacman/pkg /dev/mapper/vg-arch /mnt/var/cache/pacman/pkg
|
||
|
mount /dev/sdX1 /mnt/boot
|
||
|
arch-chroot /mnt
|
||
|
```
|