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 18:05:28 +02:00
parent 0058e923d7
commit 7e43880eb2

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