Skip to content

virtio disk not supported #23

Open
@hadmut

Description

@hadmut

Describe the bug

Hi,
I am not really sure whether this is a bug or an intentional company decision.

Today I read a recommendation to use Photon OS, wanted to try it, and found, that it is not possible to install it in a virtual machine: It just does not find the disk device /dev/vda to install on.

The reason is, that

/usr/lib/python3.11/site-packages/photon_installer/device.py

calls lsblk to look for disks with option '-I', '7,8,179,202,254,259', which keeps /dev/vda (major 253) out of the list.

I wonder if this is intentionally restricted to vmware environments, has technical reasons, or is just an unintentional omission.

regards

Reproduction steps

  1. run the iso installer image in kvm/qemu with virtual disk, if=virtio
  2. try to install it
  3. notice that photon-installer fails and aborts because no disk can be found.
    ...

Expected behavior

Installation

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions