Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232001 > unrolled thread

Unable to boot on Xen HVM + OVMF

Started byJohn Mok <a9121431@gmail.com>
First post2021-02-24 02:10 +0100
Last post2021-02-26 09:00 +0100
Articles 5 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Unable to boot on Xen HVM + OVMF John Mok <a9121431@gmail.com> - 2021-02-24 02:10 +0100
    Re: Unable to boot on Xen HVM + OVMF didier gaumet <didier.gaumet@gmail.com> - 2021-02-24 10:00 +0100
      Re: Unable to boot on Xen HVM + OVMF John Mok <a9121431@gmail.com> - 2021-02-25 14:10 +0100
        Re: Unable to boot on Xen HVM + OVMF didier gaumet <didier.gaumet@gmail.com> - 2021-02-26 08:50 +0100
          Re: Unable to boot on Xen HVM + OVMF John Mok <a9121431@gmail.com> - 2021-02-26 09:00 +0100

#232001 — Unable to boot on Xen HVM + OVMF

FromJohn Mok <a9121431@gmail.com>
Date2021-02-24 02:10 +0100
SubjectUnable to boot on Xen HVM + OVMF
Message-ID<BLQQF-8fP-1@gated-at.bofh.it>
Hi,

Tried to install Buster on Xen HVM + OVMF. Installation completed
successfully, but unable to boot (Windows HVM guest has no boot
problem).

Re-install Buster with BIOS and boot succeeded.

OVMF boot NOT supported on Debian ? I hope someone could point me in
the right direction.

Best regards,

John Mok

[toc] | [next] | [standalone]


#232012

Fromdidier gaumet <didier.gaumet@gmail.com>
Date2021-02-24 10:00 +0100
Message-ID<BLYbw-47h-5@gated-at.bofh.it>
In reply to#232001
I have never used Xen but I use Qemu/KVM via virtmanager on a Debian 10
  host. I have installed several UEFI (OVMF) booting guest OSes, 
including Debian with no particular problem.

The problem of your Debian guest not booting could be caused by the 
Debian installer not being run in UEFI mode, the media upon Debian is to 
be installed being not GPT type, the mandatory EFI partition being 
absent, the GRUB bootloader being not installed or incorrectly set-up, 
and so on...

Debian installation guide (UEFI and general):
  https://www.debian.org/releases/stable/amd64/ch03s06.en.html#UEFI
  https://www.debian.org/releases/stable/amd64/index.en.html

There is an OVMF page on the Xen wiki, detailing setup and troubleshooting:
  https://wiki.xenproject.org/wiki/OVMF

[toc] | [prev] | [next] | [standalone]


#232077

FromJohn Mok <a9121431@gmail.com>
Date2021-02-25 14:10 +0100
Message-ID<BMoz0-3kT-1@gated-at.bofh.it>
In reply to#232012

[Multipart message — attachments visible in raw view] — view raw

Hi didier,

Thanks for prompt reply.

I installed Debian Buster with UEFI boot on my ThinkPad P52 successfully
without any boot problem.

I think it is related to Xen HVM + OVMF.

Anyone has an idea what went wrong ?

Thanks.

John Mok

On Wed, Feb 24, 2021, 16:50 didier gaumet <didier.gaumet@gmail.com> wrote:

>
> I have never used Xen but I use Qemu/KVM via virtmanager on a Debian 10
>   host. I have installed several UEFI (OVMF) booting guest OSes,
> including Debian with no particular problem.
>
> The problem of your Debian guest not booting could be caused by the
> Debian installer not being run in UEFI mode, the media upon Debian is to
> be installed being not GPT type, the mandatory EFI partition being
> absent, the GRUB bootloader being not installed or incorrectly set-up,
> and so on...
>
> Debian installation guide (UEFI and general):
>   https://www.debian.org/releases/stable/amd64/ch03s06.en.html#UEFI
>   https://www.debian.org/releases/stable/amd64/index.en.html
>
> There is an OVMF page on the Xen wiki, detailing setup and troubleshooting:
>   https://wiki.xenproject.org/wiki/OVMF
>
>

[toc] | [prev] | [next] | [standalone]


#232143

Fromdidier gaumet <didier.gaumet@gmail.com>
Date2021-02-26 08:50 +0100
Message-ID<BMG2R-5u2-1@gated-at.bofh.it>
In reply to#232077
Le 25/02/2021 à 14:03, John Mok a écrit :
[...]
> I think it is related to Xen HVM + OVMF.
> 
> Anyone has an idea what went wrong ?

Hello,

did you use the "bios='ovmf'" option in the xl.cfg file of your Debian 
Xen guest?
  By default, even if OVMF is installed/present on your OS host, Xen 
uses Seabios, not OVMF (so legacy Bios instead of true UEFI).

This could explain why Microsoft Windows runs without problem as your 
Xen guest: Win10 can run either on UEFI or a Legacy Bios.

[toc] | [prev] | [next] | [standalone]


#232144

FromJohn Mok <a9121431@gmail.com>
Date2021-02-26 09:00 +0100
Message-ID<BMGcx-5xm-3@gated-at.bofh.it>
In reply to#232143
Hi Didier,

Yes, I set BIOS='ovmf', and the Debian installation showed UEFI installer.

Best regards,

On Fri, Feb 26, 2021 at 3:47 PM didier gaumet <didier.gaumet@gmail.com> wrote:
>
> Le 25/02/2021 à 14:03, John Mok a écrit :
> [...]
> > I think it is related to Xen HVM + OVMF.
> >
> > Anyone has an idea what went wrong ?
>
> Hello,
>
> did you use the "bios='ovmf'" option in the xl.cfg file of your Debian
> Xen guest?
>   By default, even if OVMF is installed/present on your OS host, Xen
> uses Seabios, not OVMF (so legacy Bios instead of true UEFI).
>
> This could explain why Microsoft Windows runs without problem as your
> Xen guest: Win10 can run either on UEFI or a Legacy Bios.
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web