<div dir="ltr">2017-04-24 10:33 GMT+08:00 Hideki EIRAKU <span dir="ltr"><<a href="mailto:hdk@igel.co.jp" target="_blank">hdk@igel.co.jp</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Tgn Yang <<a href="mailto:yzh07136@gmail.com">yzh07136@gmail.com</a>><br>
Subject: [BitVisor-users-en:35] Stuck at booting(outputs nothing)<br>
Date: Fri, 21 Apr 2017 21:21:18 +0800<br>
<span class="gmail-"><br>
> Hi, I'm using bitvisor on Ubuntu 16.04 64bit. I successfully compiled the<br>
> bitvisor.elf, module1.bin and module2.bin, and added a menuentry in grub2<br>
> config file. However, it just got stuck when I choose bitvisor at the grub<br>
> menu when booting. There is no output, neither in screen or serial port.<br>
> All I did is as follows.<br>
><br>
> make config<br>
> make<br>
> cd boot/login-simple<br>
> make<br>
><br>
> Then I manually copied those three files into /boot directory as suggested<br>
> by the domument.<br>
> I have already disabled the secure boot feature.<br>
><br>
> Is there anything missing? I have no idea why it would just get stuck.<br>
<br>
</span>I guess you are using UEFI system.  Booting from GNU GRUB2 like<br>
following is for legacy BIOS system:<br>
<br>
------------------------------<wbr>------------------------------<br>
menuentry 'BitVisor' {<br>
    # For BIOS system ONLY<br>
    set root=(hd0,gpt2)<br>
    multiboot bitvisor.elf<br>
    module module1.bin<br>
    module module2.bin<br>
}<br>
------------------------------<wbr>------------------------------<br>
<br>
To run on UEFI system, see instructions in the<br>
bitvisor-1.4-release-notes.<wbr>txt:<br>
<br>
------------------------------<wbr>------------------------------<br>
    To start with UEFI, build a program in the boot/uefi-loader/<br>
    directory (a UEFI application that loads the bitvisor.elf).  Then<br>
    put the generated binary (loadvmm.efi) and the bitvisor.elf in a<br>
    directory that can be accessed by UEFI.  After that, make the<br>
    loadvmm.efi executed before an OS loader by using EFI Shell or<br>
    UEFI firmware functions.<br>
------------------------------<wbr>------------------------------<br>
<br>
You need mingw-w64 package in Ubuntu to build the boot/uefi-loader/.<br>
To start from GNU GRUB2, copy the loadvmm.efi and the bitvisor.elf to<br>
/boot/efi/ directory and use chainloader command like following:<br>
<br>
------------------------------<wbr>------------------------------<br>
menuentry 'BitVisor' {<br>
    # For UEFI system ONLY<br>
    set root=(hd0,gpt1)<br>
    chainloader /loadvmm.efi<br>
}<br>
------------------------------<wbr>------------------------------<br>
<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></blockquote><div>Thanks for your answer, but it outputs 'FileSystemProtocol 8000000000000003' when I choose <br>BitVisor at grub menu. This message disappers in a flash and it immediately returns back<br></div><div>to the grub menu. I tried to google the number 8000000000000003 but I didn't find it useful.<br><br></div><div>Here is the menu I added in /etc/grub.d/40_custom<br>menuentry 'BitVisor' {<br>    # For UEFI system ONLY<br>    insmod chain<br>    set root=(hd0,gpt2)<br>    chainloader --force /boot/loadvmm.efi<br>}<br></div><div>The bitvisor.elf file is also in /boot directory.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888">
--<br>
Hideki EIRAKU <<a href="mailto:hdk@igel.co.jp">hdk@igel.co.jp</a>><br>
______________________________<wbr>_________________<br>
BitVisor-users-en mailing list<br>
<a href="mailto:BitVisor-users-en@bitvisor.org">BitVisor-users-en@bitvisor.org</a><br>
<a href="https://www.bitvisor.org/mailman/listinfo/bitvisor-users-en" rel="noreferrer" target="_blank">https://www.bitvisor.org/<wbr>mailman/listinfo/bitvisor-<wbr>users-en</a><br>
</font></span></blockquote></div><br></div></div>