blob: 08ffd0650830286d45abf5444ee67585f43cd17a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
```
|