How to load the kernel from bootloader?
How to load the kernel from bootloader?
Hi!
And again i have a problem ???
I don't know how to load my kernel from bootloader. Can somebody help me? Or do you know a manual about this?
Thanks
And again i have a problem ???
I don't know how to load my kernel from bootloader. Can somebody help me? Or do you know a manual about this?
Thanks
Re:How to load the kernel from bootloader?
The FAT12.. thread may be nice reading?
/ Christoffer
/ Christoffer
Re:How to load the kernel from bootloader?
My bootloader and kernel are in floppy disk, so i thing that the filesystem is fat12, i think. Maybe i'am wrong?
Re:How to load the kernel from bootloader?
If your runnin' win98 ^. Then you can go to win explorer and get the propities for A: (or other fd), the first screen tells the format. If you want, you can format it to Fat32 with Win98 ^ and possibly Linux (I'm a linux noobe!).
Re:How to load the kernel from bootloader?
Ok. But my question was - how to load kernel from bootloader?
Re:How to load the kernel from bootloader?
you could try the FAT12 thread (as bubach said) which is here. I think that will have what you need.
Only Human
Re:How to load the kernel from bootloader?
Hmm. I don't understand what they are talking in that thread ::)
Now i tell you what i realy want to do
I have a bootloader and a kernel. My bootloader and kernel is in floppy disk. I want that when my computer is turn on and floppy is in the floppy drive, to boot my kernel. But now it boots just my bootloader, because i don't know what i need to do to boot my kernel ??? . What i need to do or what i need to write, maybe in bootloader, to load/boot my kernel?
Now i tell you what i realy want to do
I have a bootloader and a kernel. My bootloader and kernel is in floppy disk. I want that when my computer is turn on and floppy is in the floppy drive, to boot my kernel. But now it boots just my bootloader, because i don't know what i need to do to boot my kernel ??? . What i need to do or what i need to write, maybe in bootloader, to load/boot my kernel?
Re:How to load the kernel from bootloader?
First, you have to know what filesystem you are using.Vladaz wrote: What i need to do or what i need to write, maybe in bootloader, to load/boot my kernel?
Second, you have to know how to find your kernel on that filesystem. Either your bootloader understands enough of the filesystem to locate the kernel file by name, or you need to feed it "hardcoded" information, e.g. a sector list.
Third, you have to write disk-access code into your bootloader that loads the kernel into memory, and starts executing that kernel.
This leaves two questions unanswered:
1) What does your bootloader do, if it doesn't load the kernel?
2) Why haven't you read the "Quick Links - Read this before you post" thread, or the FAQ, or the "How to ask questions" thread?
Every good solution is obvious once you've found it.
Re:How to load the kernel from bootloader?
Hmm. So what disk-access code must to be? What i need to write? Do you know manuals about it or where to get that code(be good if that code would be with comments)
Re:How to load the kernel from bootloader?
Vladaz, you don't even realize how you come across, do you?
One, my post contains all the relevant links. Just follow 'em.
Two, next time please do not open *two* threads on a topic...
One, my post contains all the relevant links. Just follow 'em.
Two, next time please do not open *two* threads on a topic...
Every good solution is obvious once you've found it.
Re:How to load the kernel from bootloader?
Hi
The best think you can do is !!!!!!!!!!!!!!!!! go to this site
http://alexfru.chat.ru/epm.html
And get bootprog.zip,this loads a com or exe file from the floppy disk. so all you after do is make a com or exe, and call it kernel16.exe and it will load it for you.
It has nasm code ,so you can co see how it's done !.
PS. Do not use any dos int's.
ASHLEY4.
The best think you can do is !!!!!!!!!!!!!!!!! go to this site
http://alexfru.chat.ru/epm.html
And get bootprog.zip,this loads a com or exe file from the floppy disk. so all you after do is make a com or exe, and call it kernel16.exe and it will load it for you.
It has nasm code ,so you can co see how it's done !.
PS. Do not use any dos int's.
ASHLEY4.
Re:How to load the kernel from bootloader?
Still i can't understand how to load/boot/start my OS from my Bootloader.
I have two files: bootloader.bin and kernel.bin
How can I start kernel.bin?
I need that when my bootloader.bin boots, then kernel.bin loads too. I'am using DJGPP and NASM on Windows XP(if it help something). Somebody, who can help me and tell me what code i need to write, to boot kernel.bin from bootloader.bin.
I have two files: bootloader.bin and kernel.bin
How can I start kernel.bin?
I need that when my bootloader.bin boots, then kernel.bin loads too. I'am using DJGPP and NASM on Windows XP(if it help something). Somebody, who can help me and tell me what code i need to write, to boot kernel.bin from bootloader.bin.
Re:How to load the kernel from bootloader?
Reading should help, damnit!Vladaz wrote: Still i can't understand how to load/boot/start my OS from my Bootloader.
*PLONK*
Every good solution is obvious once you've found it.
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:How to load the kernel from bootloader?
Solar, don't loose contenance with this special noob here.
Keep easy, hm? He will learn it soon enough, won't he?
*plonk* have you dared to smash your forehead onto the keyboard? such a sound sound of hurt ... *whamouchplonkaaaaauuuwww*
Keep easy, hm? He will learn it soon enough, won't he?
*plonk* have you dared to smash your forehead onto the keyboard? such a sound sound of hurt ... *whamouchplonkaaaaauuuwww*
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image