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.
Booting Blues
-
- Member
- Posts: 93
- Joined: Mon Nov 24, 2008 9:13 am
Re: Booting Blues
For a bootable CD, try this: Bootable_El-Torito_CD_with_GRUB_Legacyabhishekmaharana 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.
--TS
-
- Posts: 16
- Joined: Sat Aug 23, 2008 4:13 am
Re: Booting Blues
We have already tried this but in vain.Hyperdrive wrote:For a bootable CD, try this: Bootable_El-Torito_CD_with_GRUB_Legacyabhishekmaharana 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.
--TS
We have kernel.bin file,we have GRUB.Now can you tell us what to do,please?
Re: Booting Blues
Or also:
http://wiki.osdev.org/Bootable_CD
http://wiki.osdev.org/Bootable_CD
Elen síla lúmenn' omentielvo
- DreamOS64 - My latest attempt with osdev: https://github.com/dreamos82/Dreamos64
- Osdev Notes - My notes about osdeving! https://github.com/dreamos82/Osdev-Notes
- My old Os Project: https://github.com/dreamos82/DreamOs
- DreamOS64 - My latest attempt with osdev: https://github.com/dreamos82/Dreamos64
- Osdev Notes - My notes about osdeving! https://github.com/dreamos82/Osdev-Notes
- My old Os Project: https://github.com/dreamos82/DreamOs
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Booting Blues
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.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
-
- Posts: 16
- Joined: Sat Aug 23, 2008 4:13 am
Re: Booting Blues
HiLove4Boobies 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.
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.
- Attachments
-
- buildbmw.txt
- (2.88 KiB) Downloaded 40 times
-
- bootload.asm
- (8.26 KiB) Downloaded 72 times
Re: Booting Blues
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
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
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
Re: Booting Blues
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...
And I really don't know why I am even replying after that dude sent the OP to me via PM...
Every good solution is obvious once you've found it.
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: Booting Blues
That's why I didn't replyAnd I really don't know why I am even replying after that dude sent the OP to me via PM...