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