-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ryan Collins edited this page Mar 12, 2022
·
6 revisions
Welcome to the VM-OS wiki!
- Compile the linux kernel, with a specific set of build options. (optimised mostly for Qemu itself to start with for testing purposes)
- Find a simple bootloader, to handle booting (qemu testing doesn't need this, but real hardware will)
- A custom init script to: a. Set up DHCP (get an IP address, if there's a network) b. Set up IO devices (keyboard/mouse), if required. c. Start up Qemu with a configured VM image, which will run in foreground. d. Then loop until Qemu exits, and shutdown the machine (gracefully).
The goal is to be able to run, on new hardware, many old operating systems (just by providing a VM image).
The boot time should be fast: we don't need systemd just to run a VM (the VM itself should govern the startup time).
This is a learning experience about operating systems, Linux in general, and VMs.
This section will be split/will be separated later into a write up. This contains various notes of issues/improvements throughout.
- Unable to mount root fs on unknown block
This confused me slightly: seems as though the root fs isn't set up properly/in the right format, but the question is: how to fix this?