From 0049e68ca45cc177147e3022bcc881e0554d7e20 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 21 Oct 2018 12:41:54 +0200 Subject: Moves run description to Readme and adds resource links --- Readme.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Readme.md (limited to 'Readme.md') diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..08ffd06 --- /dev/null +++ b/Readme.md @@ -0,0 +1,27 @@ +## Resources + +- https://os.phil-opp.com/first-edition/ +- https://os.phil-opp.com/ (second edition) + + +## Run + +### steps to create VDI for VirtualBox +``` +dd if=target/x86_64-vulkan_os/debug/bootimage-vulkan_os.bin of=target/x86_64-vulkan_os/debug/vulkan_os.padded.bin bs=100M conv=sync +VBoxManage convertdd vulkan_os.padded.bin vulkan_os.vdi --format VDI +``` +Use as existing disk for VirtualBox => start + +### steps to create VMDK for VirtualBox +``` +# VBoxManage convertfromraw target/x86_64-vulkan_os/debug/bootimage-vulkan_os.bin target/x86_64-vulkan_os/debug/bootimage-vulkan_os.vmdk --format vmdk +``` +Use as existing disk for VirtualBox => start + +### QEMU on Windows run command +``` +"F:\Windows\Programme\qemu\qemu-system-x86_64.exe" -drive format=raw,file=E:\dweipert\JetbrainsProjects\IdeaProjects\VulkanOS\target\x86_64-vulkan_os\debug\bootimage-vulkan_os.bin +"F:\Windows\Programme\qemu\qemu-system-x86_64.exe" -drive format=raw,file=target\x86_64-vulkan_os\debug\bootimage-vulkan_os.bin +``` + -- cgit v1.2.3