Skip to content

Commit ff2b965

Browse files
Update README.md
1 parent 4fbe204 commit ff2b965

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

README.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@
22
Experimental OS
33

44
- Not yet ready.
5-
- It's experimental. So it's safe to assume that the burn operation can be destructive.
6-
- Use it at your own risk.
75

86
#### Usage
9-
- Fix constants in `scripts/run.sh`
10-
- Just a helpful script for sometime.
11-
- Point `${DISK}` to the disk file.
12-
- Execute `scripts/run.sh` and for build and then burn.
7+
- Use make to build binaries and image files.
8+
- `make`
139

14-
##### Boot from Flash Drive
15-
- It's might better to format drive with MBR with a FAT partition.
16-
- Burn it with image.
10+
##### Boot image on a VM
11+
- Create *Virtual Machine Disk* with fixed size of *4MB*.
12+
- Burn `build/image.vmdk` to `new-disk-flat.vmdk`
13+
- `bash scripts/burn.sh build/image.vmdk /path/to/build/new-disk-flat.vmdk`
14+
- Or replace `new-disk-flat.vmdk` with a sym-link to `build/image.vmdk` :grin:
15+
16+
##### Boot image on a real machine
17+
- Use `dd` or `scripts/burn.sh` to burn image into the disk (potentially destructive).
18+
- ```
19+
bash scripts/burn.sh build/image.vmdk /path/to/devicefile
20+
```
21+
###### Issues on booting from the Flash Drive
22+
- Try formatting device MBR with a FAT partition.
23+
- And then burn it again with test image.

0 commit comments

Comments
 (0)