Skip to content

Commit

Permalink
Merge pull request #857 from itsme300/patch-2
Browse files Browse the repository at this point in the history
Update linux-misc-1.md
  • Loading branch information
0xAX authored Nov 23, 2024
2 parents 0995b4b + 2332d8d commit ce22aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Misc/linux-misc-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ $ find . -print0 | cpio --null -ov --format=newc | gzip -9 > ~/dev/initrd_x86_64
We can now run our kernel in the virtual machine. As I already wrote I prefer [qemu](https://en.wikipedia.org/wiki/QEMU) for this. We can run our kernel with the following command:

```
$ qemu-system-x86_64 -snapshot -m 8GB -serial stdio -kernel ~/dev/linux/arch/x86_64/boot/bzImage -initrd ~/dev/initrd_x86_64.gz -append "root=/dev/sda1 ignore_loglevel"
$ qemu-system-x86_64 -snapshot -m 8G -serial stdio -kernel ~/dev/linux/arch/x86_64/boot/bzImage -initrd ~/dev/initrd_x86_64.gz -append "root=/dev/sda1 ignore_loglevel"
```

![qemu](images/qemu.png)
Expand Down

0 comments on commit ce22aa5

Please sign in to comment.