[BitVisor-users-en:36] Re: Stuck at booting(outputs nothing)
Hideki EIRAKU
hdk at igel.co.jp
Mon Apr 24 11:33:38 JST 2017
From: Tgn Yang <yzh07136 ¡÷ 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
}
------------------------------------------------------------
--
Hideki EIRAKU <hdk ¡÷ igel.co.jp>
More information about the BitVisor-users-en
mailing list