Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

novm on archlinux #34

Description

@thypon
> novm-import-kernel 
Usage: extract-vmlinux <kernel-image>
error: Command '['~/Workspace/novm/lib/novm/libexec/extract-vmlinux', '/boot/vmlinuz-3.18.5-1-ARCH']' returned non-zero exit status 2

Importing Linux Kernel Image on Archlinux yields an error; archlinux is a rolling release and breaks the standard linux name conventions.

For example the actual kernel image named core\linux (representing 3.18.5-1-ARCH kernel) is placed /boot/vmlinuz-linux with modules under /lib/modules/3.18.5-1-ARCH.

If copy vmlinuz-linux to the expected location the error message become:

> novm-import-kernel
[things]
error: [Errno 2] No such file or directory: '/boot/System.map-3.18.5-1-ARCH'

In archlinux the System.map file isn't available in /boot/System.map-${put here the version} but it is easily recoverable from a running kernel with

> sudo cp /proc/kallsyms /boot/System.map-`uname -r`

After these shims novm works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions