Boot QUBES with kexec

46 views
Skip to first unread message

Robert Walz

unread,
Dec 10, 2017, 9:05:15 AM12/10/17
to qubes...@googlegroups.com
Hello,

I have no experience with Xen, maybe you can help me.

I use coreboot with a linux payload (linux kernel in flash ROM) and want to kexec qubes-os from it.

Does anybody know how to kexec the xen hypervisor?

I tried some options, but it doesn't work. I tried this:
(after mounting the boot partition)

kexec -l /boot/vmlinuz --initrd /boot/initrd --command-line "kernel boot parameters"
kexec -e

Do I need some special boot parameters?

Regards

Holger Levsen

unread,
Dec 10, 2017, 11:35:23 AM12/10/17
to Robert Walz, qubes...@googlegroups.com
On Sun, Dec 10, 2017 at 03:05:11PM +0100, Robert Walz wrote:
> Does anybody know how to kexec the xen hypervisor?

http://osresearch.net/ uses kexec to boot Qubes.


--
cheers,
Holger
signature.asc

Robert Walz

unread,
Dec 10, 2017, 12:19:57 PM12/10/17
to Robert Walz, qubes...@googlegroups.com
Hello Holger,

thanks, I already found this on https://github.com/osreserach/heads

"Booting Qubes requires patching Xen's real mode startup code see patches/xen-4.6.3.patch and adding no-real-mode to start of the Xen command line.
Booting or installing Qubes is a bit hacky and needs to be documented."


Jean-Philippe Ouellet

unread,
Dec 11, 2017, 10:44:53 AM12/11/17
to Robert Walz, qubes-users
On Sun, Dec 10, 2017 at 12:19 PM, Robert Walz <t420co...@gmail.com> wrote:
> On Sun, Dec 10, 2017 at 5:35 PM, Holger Levsen <hol...@layer-acht.org>
> wrote:
>>
>> On Sun, Dec 10, 2017 at 03:05:11PM +0100, Robert Walz wrote:
>> > Does anybody know how to kexec the xen hypervisor?
>>
>> http://osresearch.net/ uses kexec to boot Qubes.
>>
>>
>> --
>> cheers,
>> Holger
>
> Hello Holger,
>
> thanks, I already found this on https://github.com/osreserach/heads
>
> "Booting Qubes requires patching Xen's real mode startup code see
> patches/xen-4.6.3.patch and adding no-real-mode to start of the Xen command
> line.
> Booting or installing Qubes is a bit hacky and needs to be documented."

See: https://github.com/osresearch/heads/blob/22282da905d6deabd81aa753845ff4af381f343d/initrd/bin/qubes-boot
Reply all
Reply to author
Forward
0 new messages