home-assistant / operating-system

:beginner: Home Assistant Operating System
Apache License 2.0
4.84k stars 965 forks source link

Not working with Xenserver #377

Closed john-arvid closed 5 years ago

john-arvid commented 5 years ago

Hi,

Not sure if this is related to #265 and #120 But I think since xenserver not supports UEFI boot and the hassos image require it, it will not work on xenserver. Even if #265 refers to implementing Xen.

I have tested and it will not boot past the bios.

pvizeli commented 5 years ago

My XenServer 7.2 support UEFI?

john-arvid commented 5 years ago

Yes, but does your vm's? Ref: https://github.com/xcp-ng/xcp/issues/16#issuecomment-429300423

knd775 commented 5 years ago

My XenServer 7.2 support UEFI?

Without heavily modifying XenServer (and potentially recompiling the kernel), booting VMs in UEFI is not possible.

john-arvid commented 5 years ago

Maybe we could get a image with legacy boot instead of UEFI?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

DaAwesomeP commented 5 years ago

I wish this was not automatically closed. What needs to be done to make a legacy boot build? xcp-ng is the most popular open source hypervisor.

john-arvid commented 5 years ago

It looks like UEFI will be supported in version 8. I haven't tested this feature yet.

https://github.com/xcp-ng/xcp/issues/16#issuecomment-498981998

But it would be nice to have a build without UEFI as you say.

DaAwesomeP commented 5 years ago

I don't know that version 8 will be released for a while. If you can point me in the right direction, I can add a build for legacy boot. Unfortunately, I don't have any experience with building images like this, so if you know which files I need to look at, I can do some research.

DaAwesomeP commented 5 years ago

I can confirm that HassOS works with XCP-ng 8.0.0. However, it does not seem possible to install the guest OS tools due to the read-only filesystem.

jstorgaard commented 4 years ago

Anyone got any luck installing Xen guest tools for XenServer/XCP-NG? (Ref. https://github.com/home-assistant/operating-system/pull/265)

Brandon4466 commented 4 years ago

@jstorgaard how did you get it too boot?

Whether I use the VHDK or the OVA it just says Boot from "Hard Drive... Success" and just stays there.

TFyre commented 3 years ago

I had to change from bios to uefi on XCP-ng 8.1

xe vm-param-set uuid=VM-UUID HVM-boot-params:firmware=uefi