diff --git a/configuration/managing-vm-kernel.md b/configuration/managing-vm-kernel.md index fe2616dc..87f77605 100644 --- a/configuration/managing-vm-kernel.md +++ b/configuration/managing-vm-kernel.md @@ -207,6 +207,18 @@ mke2fs 1.42.12 (29-Aug-2014) --> Done. ~~~ +Kernel files structure +----------------------- + +Kernel for a VM is stored in `/var/lib/qubes/vm-kernels/KERNEL_VERSION` directory (`KERNEL_VERSION` replaced with actual version). Qubes supports the following files there: + +- `vmlinuz` - kernel binary (may not be a Linux kernel) +- `initramfs` - initramfs for the kernel to load +- `modules.img` - ext4 filesystem image containing Linux kernel modules (to be mounted at `/lib/modules`); additionally it should contain a copy of `vmlinuz` and `initramfs` in its root directory (for loading by qemu inside stubdomain) +- `default-kernelopts.txt` - default kernel options, in addition to those specified with `kernelopts` VM property + +All the files besides `vmlinuz` are optional. + Using kernel installed in the VM (R4.0) -------------------------------- diff --git a/troubleshooting/uefi-troubleshooting.md b/troubleshooting/uefi-troubleshooting.md index 8c4e75a6..a0d096bb 100644 --- a/troubleshooting/uefi-troubleshooting.md +++ b/troubleshooting/uefi-troubleshooting.md @@ -225,3 +225,13 @@ If that's not an option there, or legacy mode does not work either, you can try 7. Continue with setting up default templates and logging in to Qubes. Whenever there is a kernel or Xen update for Qubes, you will need to follow these [other steps above](/doc/uefi-troubleshooting/#boot-device-not-recognized-after-installing) because your system is using the fallback UEFI bootloader in `[...]/EFI/BOOT` instead of directly booting to the Qubes entry under `[...]/EFI/qubes`. + +Accessing installer Rescue mode on UEFI +--------------------------------------- + +In UEFI mode installer do not have boot menu, but starts directly the installation wizard. To get into Rescue mode, you need to switch to tty2 (Ctrl+Alt+F2) and then execute: + +~~~ +pkill -9 anaconda +anaconda --rescue +~~~