mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-12-25 15:29:29 -05:00
Describe expected files in /var/lib/qubes/vm-kernels/*/
This commit is contained in:
parent
683939b5a9
commit
82e94c1a04
@ -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)
|
||||
--------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user