[BitVisor-devel-en:92] Re: Booting from USB

Hideki EIRAKU hdk at igel.co.jp
Thu Feb 1 19:18:11 JST 2024


Hi,

From: "Dr. Lonnie Cumberland, PhD" <lonnie at outstep.com>
Subject: [BitVisor-devel-en:91] Re: Booting from USB
Date: Wed, 31 Jan 2024 13:04:28 -0500

> Hi All,
> 
> I have been trying for some time to get bitvisor to boot up but have
> had no luck.
> 
> Is there any type of pre-compiled version that will not encrypt any
> drives and that I can boot from a USB as I really just want to see it
> boot up and run before digging heavily into the code more for the
> project specifics.  I just do not know the proper set up for this so
> far.

The default build should work as no encryption.  Example on GNU/Linux:

$ hg clone http://hg.code.sf.net/p/bitvisor/code bitvisor-code
$ cd bitvisor-code
$ make
$ make -C boot/uefi-loader

The binaries can be tested on QEMU like following (note that nested
virtualization of kvm must be enabled with -enable-kvm option):

$ mkdir -p tmp
$ cp bitvisor.elf boot/uefi-loader/loadvmm.efi tmp/
$ qemu-system-x86_64 -M q35 -enable-kvm -bios OVMF.fd -m 2048 -boot menu=on
-cpu host -drive file=fat:tmp/,index=0,media=disk,snapshot=on

Pressing Esc key on QEMU to show boot menu, select Boot Manager,
select EFI Internal Shell, and start BitVisor as follows:

Shell> fs0:
FS0:\> loadvmm.efi

After BitVisor started, EFI Shell prompt comes back.  The EFI Shell is
running on BitVisor.

-- 
Hideki EIRAKU <hdk at igel.co.jp>


More information about the BitVisor-devel-en mailing list