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
0058e923d7
commit
7e43880eb2
1 changed files with 5 additions and 1 deletions
|
@ -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/
|
||||
```
|
Loading…
Add table
Reference in a new issue