diff options
author | Jochen Sprickerhof <git@jochen.sprickerhof.de> | 2023-01-15 18:20:51 +0100 |
---|---|---|
committer | Jochen Sprickerhof <git@jochen.sprickerhof.de> | 2023-01-15 18:20:51 +0100 |
commit | 0a6efea4c00b83fc1d899c0dc868f05308edd26d (patch) | |
tree | cbe02fa6c957eb86133af54421c1ef613bfbc9ff | |
parent | 37893004236be9c9885cec066e16c23b122d2ad1 (diff) | |
download | debvm-0a6efea4c00b83fc1d899c0dc868f05308edd26d.tar.gz |
Document additional kernel link names
Reported-by: Helmut Grohne <helmut@subdivi.de>
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | bin/debvm-run | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ contains the root filesystem of a (Debian) installation including an init system and a kernel. There is no partition table or bootloader. The following paths are assumed inside: * `/bin/true` is used to detect the architecture of an image - * `/vmlinuz` or `/vmlinux` (depending on the architecture) must be a symbolic + * `(|/boot)/vmlinu[xz]` (depending on the architecture) must be a symbolic link pointing to a regular file containing the kernel. * `/initrd.img` must be a symbolic link pointing to a regular file containing the initrd image. diff --git a/bin/debvm-run b/bin/debvm-run index 5740a02..65eb65c 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -16,7 +16,7 @@ B<debvm-run> [B<-g>] [B<-i> F<image>] [B<-s> I<sshport>] [B<--> I<qemu options>] B<debvm-run> is essentially a thin wrapper around B<qemu> for running a virtual machine image created by B<debvm-create> or something compatible. The virtual machine image is expected to be a raw ext4 image with file system label B<debvm>. The architecture of the machine is detected from the contained F</bin/true>. -It must contain a symbolic link pointing to a kernel image at F</vmlinuz> or F</vmlinux> depending on the architecture and a symbolic link pointing to an initrd image at F</initrd.img>. +It must contain a symbolic link pointing to a kernel image at F<(|/boot)/vmlinu[xz]> depending on the architecture and a symbolic link pointing to an initrd image at F</initrd.img>. Both are extracted and passed to B<qemu>. A net interface configured for user mode is added automatically. |