mirror of
https://github.com/AlexBocken/mykb.git
synced 2025-07-12 15:57:12 +02:00
Compare commits
2 Commits
5e111ba430
...
master
Author | SHA1 | Date | |
---|---|---|---|
2abb5ec721
|
|||
dcf7021bd4
|
@ -34,14 +34,17 @@ mkfs.ext4 /dev/vg/home
|
|||||||
mkswap /dev/vg/swap
|
mkswap /dev/vg/swap
|
||||||
```
|
```
|
||||||
and finally mount them. EFI should be mounted to `/mnt/efi`
|
and finally mount them. EFI should be mounted to `/mnt/efi`
|
||||||
|
If you have not yet created a filesystem on your efi partition, do so now:
|
||||||
|
```sh
|
||||||
|
mkfs.fat -F32 /dev/sda1
|
||||||
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mount /dev/vg/root /mnt
|
mount /dev/vg/root /mnt
|
||||||
mount --mkdir /dev/vg/home /mnt/home
|
mount --mkdir /dev/vg/home /mnt/home
|
||||||
swapon /dev/vg/swap
|
swapon /dev/vg/swap
|
||||||
|
|
||||||
mount --mkdir /dev/sda2 /mnt/efi
|
mount --mkdir /dev/sda1 /mnt/efi
|
||||||
```
|
```
|
||||||
|
|
||||||
## Continue with your normal Arch install:
|
## Continue with your normal Arch install:
|
||||||
@ -98,7 +101,7 @@ and adjust two things in the file:
|
|||||||
```/etc/default/grub
|
```/etc/default/grub
|
||||||
GRUB_ENABLE_CRYPTODISK=y
|
GRUB_ENABLE_CRYPTODISK=y
|
||||||
```
|
```
|
||||||
and add to `GRUB_CMDLINE_LINUX`: (can have multiple, space-separated arguments so don't delete anything if it's there, just add.)
|
and add to `GRUB_CMDLINE_LINUX_DEFAULT`: (can have multiple, space-separated arguments so don't delete anything if it's there, just add.)
|
||||||
```/etc/default/grub
|
```/etc/default/grub
|
||||||
GRUB_CMDLINE_LINUX="cryptdevice=UUID=device-UUID:cryptlvm"
|
GRUB_CMDLINE_LINUX="cryptdevice=UUID=device-UUID:cryptlvm"
|
||||||
```
|
```
|
||||||
|
13
docs/ssh.md
13
docs/ssh.md
@ -77,3 +77,16 @@ Host EXEMPwork
|
|||||||
```
|
```
|
||||||
to your `~/.ssh/config`.
|
to your `~/.ssh/config`.
|
||||||
To connect to the working server, just type `ssh EXEMPwork`.
|
To connect to the working server, just type `ssh EXEMPwork`.
|
||||||
|
|
||||||
|
## Share your clipboard with the server
|
||||||
|
To be able to copy/paste between server and client we need to install `xclip` and `xorg-clipboard` on the server. (Arch: `pacman -S xclip xorg-clipboard`)
|
||||||
|
|
||||||
|
Ensure that the server has enabled X11 forwarding by adding `X11Forwarding yes` to `/etc/ssh/sshd_config` and restarting the sshd service.
|
||||||
|
|
||||||
|
You should now be able to share the clipboard via `ssh -XY user@domain` or by making it permanent adding
|
||||||
|
the following to the corresponding Host block in your `~/.ssh/config`:
|
||||||
|
|
||||||
|
```
|
||||||
|
ForwardX11 yes
|
||||||
|
ForwardX11Trusted yes
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user