!!!???

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Programmer

!!!???

Post by Programmer »

What I have to put in the boot loader, do I have to set the options for everything .
Or the i'll put the kernel only then it will take the control to make anything.

And how can the kernel work with the hard partitions.
Can the whole system make by C even the boot loader with out Assembley.
Ozguxxx

Re:!!!???

Post by Ozguxxx »

What I have to put in the boot loader, do I have to set the options for everything .
What options do you mean?
Can the whole system make by C even the boot loader with out Assembley
As far as I know it is impossible to do everything in c since you have to set up things like gdt, idt that a compiler cannot handle. So you have to deal with assembly in almost everywhere.

Im sorry, I could not really understand your other questions, maybe you can be clearer or you can simply revise them. Good luck.
Programmer

Re:!!!???

Post by Programmer »

The other options that i mean, like identifying the sectors partitions, etc...
If the boot loader run the kernel.bin for example, can the kernel then have the full control ?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:!!!???

Post by Pype.Clicker »

Yes, the kernel should always have the full control over the machine ... It means that it will be able to determine what are the existing partitions by looking at the Master Boot Record ... Check out the Operating System Resource Center (through .:QuickLinkz:.) for more informations about how disks are organized.

Now, for instance, the Linux kernel allows the co-existence of several bootable Linux systems on a single machine by receiving the root partition identifier from the loader, but this is not mandatory ... that's just an extra ;)
Post Reply