vmware/photon

Doesn't boot on XCP-NG/XEN

timemaster5 opened this issue · 7 comments

Describe the bug

The installer successfully starts but fails as it doesn't see the mounted ISO.
I've already mentioned this in a pull request which should have fixed this vmware/photon-os-installer#7

When I use OVA on Xcp-ng, it doesn't boot at all. I can only see the boot menu and then nothing, a black screen with a blinking cursor.

I know XP-ng is not a target platform for this OS, but in hybrid environments, this OS can't be moved from one hypervisor to another, as I tested it.

Reproduction steps

  1. Create a new VM in xcp-ng with x86_64 minimal/full ISO
  2. Import OVA of x86_64 to xcp-ng

Expected behavior

I would expect this system to boot on any hypervisor.

Additional context

No response

With Photon OS 5, see https://vmware.github.io/photon/docs-v5/troubleshooting-guide/photon-installation-issue/, ide interface for cdrom isn't supported anymore. Can you check the setting of the or specifiy a cdrom sata controller ?

I'm afraid, the official 5.0 ova and iso won't help in this case. Just some thoughts:

  • Start with 4.0 (which still includes ide support) and upgrade to 5.0
  • discuss with the Photon OS team your use case and a future pull request which includes the requirement
  • make your custom build with specific .config parameters and modules

Yep, you're right. The official way doesn't work. That's why I am mentioning this. It might be actually useful to support other hypervisors too, as at this point we can't use them for datacenter migration and so on.

Do you think upgrading from 4.0 to 5.0 will work? I guess the kernel will be upgraded too, and the ide support is lost.

Custom build should work fine of course.

We restored IDE support with this commit in photon 5, unfortunately the release iso does not have it.

72f6efe

  1. Upgrading from photon 4 to 5 is a reasonable approach.
  2. You can also generate a new iso using latest packages in photon repo and it should work for you.

Oh nice, I will try it ! thanks

I confirm I can install with 4.0 ISO and upgrade to 5.0 now successfully!

Thank you