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:12:45 +02:00
parent dd45e26de8
commit f7af96ada4

@ -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/
```