Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure to have build a Lustre kernel before continuing. (Other kernel configurations probably work too except the stock kernel).
  2. In UTM first run dracut --force --no-hostonly  which rebuilds the initramfs with all drivers available. This is important to support the storage bus type in VMware. Later, dracut --force  rebuilds initramfs only with the needed drivers.
  3. Shutdown the VM and convert the qcow2 VM file to vmdk via qemu-img . If command not available, install qemu (e.g., via brew: brew install qemu ):
    Code Block
    languagebash
    themeEclipse
    # First, navigate to the UTM VM directory
    qemu-img convert -p -f qcow2 -O vmdk <VM_file_name>.utm/Data/*.qcow2  ~/Downloads/rocky8-7.vmdk
  4. Add VM in VMware Fusion and use Create a custom virtual machine , choose Use an existing virtual disk .

  5. Boot into the existing Lustre kernel.

  6. Final steps:

    1. Fix swap: swapon /dev/mapper/rl-swap --fixpgsz 

    2. The NIC has changed, so the old config file no longer applies: Navigate to /etc/sysconfig/network-scripts/ , change the file name and the config, i.e., the NAME  and DEVICE  fields. 

    3. Set a new hostname

    4. Regenerate hostkeys cd /etc/ssh && rm ssh_host_* && ssh-keygen -A 

  7. 7. Reboot and done.