using GRUB to load kernel + an app?
using GRUB to load kernel + an app?
Here's the deal... I want to run userland code and get syscalls working properly, but I don't have any code to use filesystems yet. I'm wondering if I could use GRUB to load a small program from disk for me, so I can run it as a ring 3 app. Or is there an easier way to execute user mode code?
Re:using GRUB to load kernel + an app?
i think you can load modules with GRUB.
you have to put something like:
module /bin/test
in your config file
(i have never used GRUB and i won't so i can't say "it works")
you have to put something like:
module /bin/test
in your config file
(i have never used GRUB and i won't so i can't say "it works")
Re:using GRUB to load kernel + an app?
Hi,
i am trying to use multiboot-modules at the time, but when i dump the memory-area where the modules should be, i only get '0's. It's not a failure in bochs, because i tested my kernel on real-hardware.
Soeren
i am trying to use multiboot-modules at the time, but when i dump the memory-area where the modules should be, i only get '0's. It's not a failure in bochs, because i tested my kernel on real-hardware.
Soeren