fstim82
Posts: 1
Joined: Mon Sep 10, 2012 8:57 pm

kernel.img - OS starting point?

Mon Sep 10, 2012 9:06 pm

I'm probably getting ahead of myself, but I was reading the Cambridge tutorials about creating operating systems using assembly, and when it came to replacing the kernel.img with your own, it made me wonder: How does it know to find that file and execute it? How does it even know how to navigate the file system in order to find it? I vaguely remember something about autoexec.bat and config.sys from my DOS days being the first things run, and maybe there's a linux equivalent at play here, but then the question is just transfers to how it knows about THOSE files... Is there a simple enough answer for this to be posted, or some required reading I could be linked to?

User avatar
mister_wavey
Posts: 98
Joined: Sun Sep 02, 2012 8:23 am
Location: Abergavenny, Wales, UK
Contact: Website

Re: kernel.img - OS starting point?

Mon Sep 10, 2012 9:56 pm


Return to “Staffroom, classroom and projects”