Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.16 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.16 KB

CloudVM BIOS

This repository contains the code for the minimal BIOS firmware used to boot up the selected virtual machine. CloudVM BIOS is based on SeaBIOS.

Building image

To build for QEMU (CloudVM uses QEMU by default), follow the steps below:

  1. Clone the BIOS repository:
git clone https://github.com/SectonCloud/BIOS
  1. Install build-essential & git:
sudo apt-get install build-essential git -y
  1. Configure BIOS options (optional)

  2. Build firmware image:

make

The resulting file "out/bios.bin" contains the processed BIOS image.

BIOS configuration

You can customize the processed BIOS image by running make menuconfig.

If you get "Unable to find the ncurses libraries or the required header files.", install libncurses5-dev & libncursesw5-dev:

sudo apt-get install libncurses5-dev libncursesw5-dev

Troubleshooting

scripts/xxx.sh: Permission denied

chmod +x scripts/xxx.sh

python: not found

Make sure that python3 and python-is-python3 are installed.