Skip to content

Commit 8371044

Browse files
committed
Use relative link and myOS in chainload docs
1 parent f1fb6d8 commit 8371044

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The bootloader crate can be configured through some cargo features:
6969
## Advanced Documentation
7070
See these guides for advanced usage of this crate:
7171

72-
- [Chainloading](https://github.com/rust-osdev/bootloader/blob/master/doc/chainloading.md)
72+
- [Chainloading](doc/chainloading.md)
7373
- Higher Half Kernel - TODO
7474

7575
## License

doc/chainloading.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Chainloading is a technique that allows one bootloader to call another bootloade
55
Create a file under `iso/boot/grub/grub.cfg` in the root directory of your OS's source tree. In it, put:
66

77
```
8-
menuentry "BlogOS" {
8+
menuentry "myOS" {
99
chainloader (hd1)+1
1010
}
1111
```
@@ -17,7 +17,7 @@ Next, create the ISO with:
1717
grub-mkrescue -o grub.iso iso
1818
```
1919

20-
Testing with QEMU:
20+
Testing with QEMU (replacing `my_os` with the name of your OS's target):
2121
```
22-
qemu-system-x86_64 -hda grub.iso -hdb target/x86_64-blog_os/debug/bootimage-blog_os.bin
22+
qemu-system-x86_64 -hda grub.iso -hdb target/x86_64-my_os/debug/bootimage-my_os.bin
2323
```

0 commit comments

Comments
 (0)