mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-30 00:00:15 +01:00
Created Boot HermitCore from a raw image (markdown)
parent
17a79e81f3
commit
34987d6427
1 changed files with 10 additions and 0 deletions
10
Boot-HermitCore-from-a-raw-image.md
Normal file
10
Boot-HermitCore-from-a-raw-image.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
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 `dd` an raw file. A size of 50 Mb (=512 block size * 102400 block) is for `stream` large enough.
|
||||
|
||||
```bash
|
||||
$ dd if=/dev/zero of=stream.img bs=512 count=102400
|
||||
102400+0 records in
|
||||
102400+0 records out
|
||||
52428800 bytes (52 MB, 50 MiB) copied, 0.138028 s, 380 MB/s
|
||||
```
|
Loading…
Add table
Reference in a new issue