diff options
-rw-r--r-- | Cargo.toml | 14 | ||||
-rw-r--r-- | Readme.md | 27 |
2 files changed, 27 insertions, 14 deletions
@@ -8,17 +8,3 @@ default-target = "x86_64-vulkan_os.json" [dependencies] bootloader_precompiled = "0.2.0" - -# 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 - 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 +``` + |