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)
parent
6231beba80
commit
b50bd2675d
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@ Sometime is it useful to boot HermitCore from a raw image. For instance, [Google
|
||||||
In this tutorial, an image will be created for the application _stream_. At first, we create with `dd` an raw file. A size of 1 Gb is the smallest possible size for the Google Compute Platform and *large* enough.
|
In this tutorial, an image will be created for the application _stream_. At first, we create with `dd` an raw file. A size of 1 Gb is the smallest possible size for the Google Compute Platform and *large* enough.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ dd if=/dev/zero of=stream.raw bs=1G count=1
|
$ dd conv=notrunc if=/dev/zero of=disk.raw bs=1G count=1
|
||||||
1+0 records in
|
1+0 records in
|
||||||
1+0 records out
|
1+0 records out
|
||||||
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.10712 s, 510 MB/s
|
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.03282 s, 1.0 GB/s
|
||||||
```
|
```
|
||||||
|
|
||||||
Like a normal hard disk, we have to partition the image. The following command create one big partition.
|
Like a normal hard disk, we have to partition the image. The following command create one big partition.
|
||||||
|
|
Loading…
Add table
Reference in a new issue