Booting Blues

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
abhishekmaharana
Posts: 16
Joined: Sat Aug 23, 2008 4:13 am

Booting Blues

Post 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.
Hyperdrive
Member
Member
Posts: 93
Joined: Mon Nov 24, 2008 9:13 am

Re: Booting Blues

Post 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
abhishekmaharana
Posts: 16
Joined: Sat Aug 23, 2008 4:13 am

Re: Booting Blues

Post 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?
User avatar
finarfin
Member
Member
Posts: 106
Joined: Fri Feb 23, 2007 1:41 am
Location: Italy & Ireland
Contact:

Re: Booting Blues

Post by finarfin »

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
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Booting Blues

Post 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.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
abhishekmaharana
Posts: 16
Joined: Sat Aug 23, 2008 4:13 am

Re: Booting Blues

Post 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.
Attachments
buildbmw.txt
(2.88 KiB) Downloaded 40 times
bootload.asm
(8.26 KiB) Downloaded 71 times
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: Booting Blues

Post 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
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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Booting Blues

Post 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...
Every good solution is obvious once you've found it.
pcmattman
Member
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

Post 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 ;)
Post Reply