mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Merge branch 'post-02' into post-03
This commit is contained in:
10
README.md
10
README.md
@@ -19,7 +19,13 @@ cargo install cargo-xbuild bootimage
|
|||||||
Then you can build the project by running:
|
Then you can build the project by running:
|
||||||
|
|
||||||
```
|
```
|
||||||
bootimage build
|
cargo xbuild
|
||||||
|
```
|
||||||
|
|
||||||
|
To create a bootable disk image, run:
|
||||||
|
|
||||||
|
```
|
||||||
|
cargo bootimage
|
||||||
```
|
```
|
||||||
|
|
||||||
This creates a bootable disk image in the `target/x86_64-blog_os/debug` directory.
|
This creates a bootable disk image in the `target/x86_64-blog_os/debug` directory.
|
||||||
@@ -33,7 +39,7 @@ You can run the disk image in [QEMU] through:
|
|||||||
[QEMU]: https://www.qemu.org/
|
[QEMU]: https://www.qemu.org/
|
||||||
|
|
||||||
```
|
```
|
||||||
bootimage run
|
cargo xrun
|
||||||
```
|
```
|
||||||
|
|
||||||
Of course [QEMU] needs to be installed for this.
|
Of course [QEMU] needs to be installed for this.
|
||||||
|
|||||||
Reference in New Issue
Block a user