mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-12-28 16:59:40 -05:00
Merge branch 'patch-2' of https://github.com/awokd/qubes-doc into awokd-patch-2
This commit is contained in:
commit
bb3f1b7f5f
@ -138,9 +138,9 @@ If the update process does not automatically do it (you should see it mentioned
|
|||||||
from the update command), you may need to manually rebuild the EFI or grub config depending on which
|
from the update command), you may need to manually rebuild the EFI or grub config depending on which
|
||||||
your system uses.
|
your system uses.
|
||||||
|
|
||||||
EFI (Replace the file names with the correct versions for your updated kernel)
|
EFI
|
||||||
~~~
|
~~~
|
||||||
sudo /usr/bin/dracut -f /boot/efi/EFI/qubes/initramfs-4.4.31-11.pvops.qubes.x86_64.img 4.4.31-11.pvops.qubes.x86_64
|
sudo dracut -f /boot/efi/EFI/qubes/initramfs-$(uname -r).img $(uname -r)
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Grub2
|
Grub2
|
||||||
|
@ -85,9 +85,9 @@ To enable TRIM support in dom0 with LUKS you need to:
|
|||||||
3. Add `rd.luks.options=discard` to kernel cmdline (follow either GRUB2 or EFI, not both):
|
3. Add `rd.luks.options=discard` to kernel cmdline (follow either GRUB2 or EFI, not both):
|
||||||
* GRUB2: `/etc/default/grub`, `GRUB_CMDLINE_LINUX` line and
|
* GRUB2: `/etc/default/grub`, `GRUB_CMDLINE_LINUX` line and
|
||||||
Rebuild grub config (`grub2-mkconfig -o /boot/grub2/grub.cfg`), then
|
Rebuild grub config (`grub2-mkconfig -o /boot/grub2/grub.cfg`), then
|
||||||
Rebuild initrd **in hostonly mode** (`dracut -H -f`)
|
Rebuild initrd (`dracut -f`)
|
||||||
* EFI: `/boot/efi/EFI/qubes/xen.cfg`, `kernel=` line(s), then
|
* EFI: `/boot/efi/EFI/qubes/xen.cfg`, `kernel=` line(s), then
|
||||||
Rebuild initrd **in hostonly mode** (`dracut -H -f /boot/efi/EFI/qubes/initramfs-$(uname -r).img $(uname -r)`)
|
Rebuild initrd (`dracut -f /boot/efi/EFI/qubes/initramfs-$(uname -r).img $(uname -r)`)
|
||||||
|
|
||||||
4. Reboot the system.
|
4. Reboot the system.
|
||||||
|
|
||||||
|
@ -251,10 +251,10 @@ You need to also ensure you have the `kernel-devel` package for the same kernel
|
|||||||
If you are using a distribution kernel package (`kernel` package), the initramfs and kernel modules may be handled automatically.
|
If you are using a distribution kernel package (`kernel` package), the initramfs and kernel modules may be handled automatically.
|
||||||
If you are using a manually built kernel, you need to handle this on your own.
|
If you are using a manually built kernel, you need to handle this on your own.
|
||||||
Take a look at the `dkms` documentation, especially the `dkms autoinstall` command may be useful.
|
Take a look at the `dkms` documentation, especially the `dkms autoinstall` command may be useful.
|
||||||
If you did not see the `kernel` install rebuild your initramfs, or are using a manually built kernel, you will need to rebuild it yourself with the following (replace version numbers with those appropriate for your kernel):
|
If you did not see the `kernel` install rebuild your initramfs, or are using a manually built kernel, you will need to rebuild it yourself with the following:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
dracut -f /boot/initramfs-4.14.16-200.fc26.x86_64.img 4.14.16-200.fc26.x86_64
|
sudo dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Once the kernel is installed, you need to create a GRUB configuration.
|
Once the kernel is installed, you need to create a GRUB configuration.
|
||||||
|
Loading…
Reference in New Issue
Block a user