[BitVisor-users-en:37] Re: Stuck at booting(outputs nothing)
Tgn Yang
yzh07136 at gmail.com
Thu Apr 27 12:05:43 JST 2017
2017-04-24 10:33 GMT+08:00 Hideki EIRAKU <hdk at igel.co.jp>:
> From: Tgn Yang <yzh07136 at gmail.com>
> Subject: [BitVisor-users-en:35] Stuck at booting(outputs nothing)
> Date: Fri, 21 Apr 2017 21:21:18 +0800
>
> > Hi, I'm using bitvisor on Ubuntu 16.04 64bit. I successfully compiled the
> > bitvisor.elf, module1.bin and module2.bin, and added a menuentry in grub2
> > config file. However, it just got stuck when I choose bitvisor at the
> grub
> > menu when booting. There is no output, neither in screen or serial port.
> > All I did is as follows.
> >
> > make config
> > make
> > cd boot/login-simple
> > make
> >
> > Then I manually copied those three files into /boot directory as
> suggested
> > by the domument.
> > I have already disabled the secure boot feature.
> >
> > Is there anything missing? I have no idea why it would just get stuck.
>
> I guess you are using UEFI system. Booting from GNU GRUB2 like
> following is for legacy BIOS system:
>
> ------------------------------------------------------------
> menuentry 'BitVisor' {
> # For BIOS system ONLY
> set root=(hd0,gpt2)
> multiboot bitvisor.elf
> module module1.bin
> module module2.bin
> }
> ------------------------------------------------------------
>
> To run on UEFI system, see instructions in the
> bitvisor-1.4-release-notes.txt:
>
> ------------------------------------------------------------
> To start with UEFI, build a program in the boot/uefi-loader/
> directory (a UEFI application that loads the bitvisor.elf). Then
> put the generated binary (loadvmm.efi) and the bitvisor.elf in a
> directory that can be accessed by UEFI. After that, make the
> loadvmm.efi executed before an OS loader by using EFI Shell or
> UEFI firmware functions.
> ------------------------------------------------------------
>
> You need mingw-w64 package in Ubuntu to build the boot/uefi-loader/.
> To start from GNU GRUB2, copy the loadvmm.efi and the bitvisor.elf to
> /boot/efi/ directory and use chainloader command like following:
>
> ------------------------------------------------------------
> menuentry 'BitVisor' {
> # For UEFI system ONLY
> set root=(hd0,gpt1)
> chainloader /loadvmm.efi
> }
> ------------------------------------------------------------
>
> Thanks for your answer, but it outputs 'FileSystemProtocol
8000000000000003' when I choose
BitVisor at grub menu. This message disappers in a flash and it immediately
returns back
to the grub menu. I tried to google the number 8000000000000003 but I
didn't find it useful.
Here is the menu I added in /etc/grub.d/40_custom
menuentry 'BitVisor' {
# For UEFI system ONLY
insmod chain
set root=(hd0,gpt2)
chainloader --force /boot/loadvmm.efi
}
The bitvisor.elf file is also in /boot directory.
--
> Hideki EIRAKU <hdk at igel.co.jp>
> _______________________________________________
> BitVisor-users-en mailing list
> BitVisor-users-en at bitvisor.org
> https://www.bitvisor.org/mailman/listinfo/bitvisor-users-en
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bitvisor.org/archives/bitvisor-users-en/attachments/20170427/9acb98fd/attachment.html>
More information about the BitVisor-users-en
mailing list