Re: [qubes-users] Boot QUBES with kexec

2017-12-11 Thread Jean-Philippe Ouellet
On Sun, Dec 10, 2017 at 12:19 PM, Robert Walz  wrote:
> On Sun, Dec 10, 2017 at 5:35 PM, Holger Levsen 
> 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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CABQWM_ASwPZ1Lrm6-P1_TKEnWETgZAvyE%2BHbjCJuxhacGaAYSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Boot QUBES with kexec

2017-12-10 Thread Robert Walz
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."



On Sun, Dec 10, 2017 at 5:35 PM, Holger Levsen 
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
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CANYLK6GBwpt5LqB-1Hj9kHzFK8WCTA8xgv352CMi_FXmFncd_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Boot QUBES with kexec

2017-12-10 Thread Holger Levsen
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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20171210163517.jugnfv723un552ch%40layer-acht.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


[qubes-users] Boot QUBES with kexec

2017-12-10 Thread Robert Walz
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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CANYLK6FED3Y3V42KFuCdvnw4y4QUvHT1YHRpU9AyaoBivh-bWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.