From 7e43880eb24dac810a72154c8b8e3f98cf1aa09a Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 28 May 2017 18:05:28 +0200 Subject: [PATCH] Updated Boot HermitCore from a raw image (markdown) --- Boot-HermitCore-from-a-raw-image.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Boot-HermitCore-from-a-raw-image.md b/Boot-HermitCore-from-a-raw-image.md index c561e67..9b5f483 100644 --- a/Boot-HermitCore-from-a-raw-image.md +++ b/Boot-HermitCore-from-a-raw-image.md @@ -57,12 +57,16 @@ Writing inode tables: done Writing superblocks and filesystem accounting information: done ``` -Afterwards, we are able to mount the partition and to install grub. +Afterwards, we are able to mount the partition, to install grub and our application. ```bash $ sudo mount /dev/loop2 /mnt $ sudo grub-install --root-directory=/mnt --no-floppy --modules="normal part_msdos ext2 multiboot biosdisk" /dev/loop1 +sudo cp /opt/hermit/x86_64-hermit/extra/benchmarks/stream /mnt/boot/ ``` **Note:** `loop1`is the MBR, while `loop2`is our partition. +```bash +$ sudo cp /opt/hermit/x86_64-hermit/extra/benchmarks/stream /mnt/boot/ +``` \ No newline at end of file