Page 1 of 1

how to build file system rootimage?

Posted: Sun Feb 17, 2008 6:43 am
by Ruxbin
Hi,everyone.
For the past few weeks, I was coding a little multi-process kernel.
Now I've finished entering pmode and two separate processes can display A&B
on screen (like linux 0.00 : ).
I'm planning to support a.out file format in this system, but there are some problems I can't manage.
1. If I want to fork a process and execute an executable file such as shell. How
can I put the executable file from the outside to my kernel's file system, because I want to compile the source code in Linux.Alternatively, I can compile the shell in my kernel, but it seems to be too complex . It's like building a small file system rootimage with shell in /bin.
Can you guys give me some suggestions or links about managing these stuff?
Thx for your patience. :D

Posted: Sun Feb 17, 2008 6:47 am
by t0xic
JamesM will love me for this :D

You should check out his tutorials here: jamesmolloy.co.uk

edit: bbcode

--Michael

Posted: Sun Feb 17, 2008 6:53 am
by Ruxbin
Thanks for your help, t0xic. I'll check out
:lol:

Re: how to build file system rootimage?

Posted: Sun Feb 17, 2008 9:26 pm
by rjying
Perhaps, you need write code to support file system, and .out execution file format parse.
And write code to support fork new processes or other. that's too a great lot code.
:)