1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00

Updated Boot HermitCore from a raw image (markdown)

Stefan Lankes 2017-05-28 21:08:18 +02:00
parent b1a7b792b4
commit 8f80a2d636

@ -1,6 +1,6 @@
Sometime is it useful to boot HermitCore from a raw image. For instance, [Google Compute Platform](https://cloud.google.com/compute/docs/images/import-existing-image) depends on this image format.
In this tutorial, an image will be created for the application _stream_. At first, we create with `qemu-img` an image in raw format. A size of 1 Gb is the smallest possible size for the Google Compute Platform and *large* enough for the stream benchmark.
In this tutorial, an image will be created for the application _stream_. At first, we create with `qemu-img` a file in raw format. A size of 1 Gb is the smallest possible size for the Google Compute Platform and *large* enough for the stream benchmark.
```bash
$ qemu-img create -f raw disk.raw 1G