Skip to content

Instantly share code, notes, and snippets.

@Daeraxa
Last active May 2, 2022 19:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Daeraxa/951bb11bb4fd9313e9f70dc0c9f5edc8 to your computer and use it in GitHub Desktop.
Save Daeraxa/951bb11bb4fd9313e9f70dc0c9f5edc8 to your computer and use it in GitHub Desktop.
Some basic config notes for setting up Redox on VirtualBox

VirtualBox 6.1 on Linux Mint 20.3

Redox OS v.0.7.0

  • Download x86_64 UEFI SSD: https://static.redox-os.org/releases/0.7.0/redox_2022-04-28_570_harddrive-efi.bin.gz
  • Extract image (.bin file) and run the following in the directory:
    • VBoxManage convertfromraw harddrive-efi.bin redox.vdi --format VDI
  • Create new virtual machine
    • Type: Other
    • Version: Other/Unknown (64-bit)
    • Memory size: 2048MB
    • Do not add a virtual hard disk
  • In the settings of the VM make the following changes
    • System > Motherboard > Enable EFI (special OSes only)
    • Display > Screen > Video Memory: Set to 32MB
    • Storage > Select Controller:IDE and change Type in the Attributes to AHCI
      • Add the redox.vdi disk you made before to this controller
    • Network > Adapter 1 > Click the Advanced item and change Adapter Type to Intel PRO/1000 MT Desktop (82540EM)

On first boot you will be presented with the EFI shell.

You can boot into Redox by running the following on the Shell> prompt:

fs0:\efi\boot\bootx64.efi

To avoid having to type that every time you can set the startup.nsh script. At the same Shell> prompt:

  • fs0:
  • cd efi\boot
  • edit startup.nsh
  • Type the following into the file: fs0:\efi\boot\bootx64.efi
  • Press F2 then Return to save
  • Press F3 to exit and reboot the VM

You should now be able to boot into Redox and select a screen resolution Once you are in then to enable the mouse to work correctly you will need to turn off mouse integration on VirtualBox (Input > Mouse Integration)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment