installing parallels tools in a live-build (running kernel isn't the installed kernel)

Discussion in 'Linux Virtual Machine' started by RussellM5, Nov 2, 2022.

  1. RussellM5

    RussellM5 Bit poster

    Messages:
    7
    Is it possible to install the parallels tools when the running kernel isn't installed in the current system? This is the case when building live boot images - the live OS image being built probably doesn't have the same kernel as the build system, and may not even have access to that kernel (eg: building a Kali live image on a Debian host).

    install-cli.sh and pm.sh can't handle this case as they have calls to uname -r all over the place and expect to be able to find kernel headers for the running kernel even though this isn't actually necessary. I'd rather not have to carry a huge patchset against the parallels tools installer in order to be able to spin live images that actually have guest OS integration.
     
  2. RussellM5

    RussellM5 Bit poster

    Messages:
    7
    fwiw, tried kver="$(ls -1 /lib/modules)" perl -i -pe 's/uname -r/echo $ENV{kver}/g' "$installer_path"/installer/*.sh over the installer scripts and still no go... the installer tries to modprobe its modules (to see if they're built?) which of course fails...
     

Share This Page