From f7af96ada4f7591f66b453b8549b0bf5befbef2a Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 28 May 2017 21:12:45 +0200 Subject: [PATCH] Updated Boot HermitCore from a raw image (markdown) --- Boot-HermitCore-from-a-raw-image.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Boot-HermitCore-from-a-raw-image.md b/Boot-HermitCore-from-a-raw-image.md index d3d8db1..573f07f 100644 --- a/Boot-HermitCore-from-a-raw-image.md +++ b/Boot-HermitCore-from-a-raw-image.md @@ -41,7 +41,7 @@ Syncing disks. Now, we are able to format our partition. ```bash -$ sudo mkfs.ext3 /dev/nbd0p1 +$ sudo mkfs.ext2 /dev/nbd0p1 mke2fs 1.42.13 (17-May-2015) Discarding device blocks: failed - Input/output error Creating filesystem with 261888 4k blocks and 65536 inodes @@ -59,7 +59,7 @@ Afterwards, we are able to mount the partition, to install grub and our applicat ```bash $ sudo mount /dev/nbd0p1 /mnt/ -$ sudo grub-install --root-directory=/mnt --no-floppy --modules="normal part_msdos ext3 multiboot biosdisk" /dev/nbd0 +$ sudo grub-install --root-directory=/mnt --no-floppy --modules="normal part_msdos ext2 multiboot biosdisk" /dev/nbd0 $ sudo cp /opt/hermit/bin/ldhermit.elf isodir/boot/ $ sudo cp /opt/hermit/x86_64-hermit/extra/benchmarks/stream /mnt/boot/ ```