Page 1 of 1
Booting Blues
Posted: Mon Mar 23, 2009 2:37 am
by abhishekmaharana
Hi.
We are a group of amateur OS developers. And we are developing our OS.We have made our kernel into a file "kernel.bin".
But we are not able to boot it.
Can you please tell us how to make a bootable image of this kernel.bin file.
We are using GRUB to load the files.
Re: Booting Blues
Posted: Mon Mar 23, 2009 2:51 am
by Hyperdrive
abhishekmaharana wrote:We have made our kernel into a file "kernel.bin". But we are not able to boot it.
Can you please tell us how to make a bootable image of this kernel.bin file. We are using GRUB to load the files.
For a bootable CD, try this:
Bootable_El-Torito_CD_with_GRUB_Legacy
--TS
Re: Booting Blues
Posted: Mon Mar 23, 2009 2:53 am
by abhishekmaharana
Hyperdrive wrote:abhishekmaharana wrote:We have made our kernel into a file "kernel.bin". But we are not able to boot it.
Can you please tell us how to make a bootable image of this kernel.bin file. We are using GRUB to load the files.
For a bootable CD, try this:
Bootable_El-Torito_CD_with_GRUB_Legacy
--TS
We have already tried this but in vain.
We have kernel.bin file,we have GRUB.Now can you tell us what to do,please?
Re: Booting Blues
Posted: Mon Mar 23, 2009 3:09 am
by finarfin
Re: Booting Blues
Posted: Mon Mar 23, 2009 4:20 am
by Love4Boobies
Also please let us know exactly *how* you failed. How did you go about building the image? What are you trying to boot it on? Bare metal? Bochs? QEMU? Any logs? etc.
Re: Booting Blues
Posted: Mon Mar 23, 2009 5:33 am
by abhishekmaharana
Love4Boobies wrote:Also please let us know exactly *how* you failed. How did you go about building the image? What are you trying to boot it on? Bare metal? Bochs? QEMU? Any logs? etc.
Hi
I tried making floppy image using the shellscript which I am sending you.I am also sending you the bootloader file.The script ran but it is displaying following error message :
>>>Coppying OSBMW kernel and programs....
"mount: wrong fs type,bad option ,bad superblock on /dev/loop0,
missing codepage or helper program, or other error "
Then we tried with the GRUB bootloader but then also we didn't succeed.We request you to tell us how we can use GRUB for booting or how can we do it directly.we just have our kernel.bin file and don't even know how to convert the binary file into an .elf format.
Re: Booting Blues
Posted: Mon Mar 23, 2009 6:46 am
by kmtdk
well
what you have attached is a bootloader, witch is defently not GRUB
so what you have tried is to use a custome bootloader, and then load the kernel.
so exactly:
how is the kernel ( code), and i realy hope you know what a bootloader is, and what it does. ( GRUB is a bootloader, so now when you have written you own)
kmt dk
Re: Booting Blues
Posted: Mon Mar 23, 2009 7:08 am
by Solar
How To Ask Questions,
Grub,
GCC Cross-Compiler,
Bare Bones, in that order.
And I really don't know why I am even replying after that dude sent the OP to me via PM...
Re: Booting Blues
Posted: Mon Mar 23, 2009 7:24 am
by pcmattman
And I really don't know why I am even replying after that dude sent the OP to me via PM...
That's why I didn't reply