# Install custom Kernel in TemplateVM

# install linux kernel

```
sudo apt install linux linux-headers
```

```
grub-install /dev/xvda
grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -p linux
```

- switch vm to HVM in QubesManager