Booting issue

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
anti149
Posts: 15
Joined: Mon Feb 28, 2011 5:42 pm

Booting issue

Post by anti149 »

Hi! I am making a OS in C using GRUB as mt boot-loader and an asm file to boot the kernel which is in C everything compiles fine and when I boot it goes to GRUB mutiboot as it should, then I click on my kernel, but the screen goes black with just the cursor and hangs for a few seconds then reboots??? do you know what could cause this? 8)
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS. (Larry DeLuca)
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: Booting issue

Post by thepowersgang »

Required Knowledge, Asking Good Questions - You should know these.

Have you tried in an emulator? Have you checked if your kernel even starts to execute? (make a stub that just prints to the screen and then locks)
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
User avatar
Chandra
Member
Member
Posts: 487
Joined: Sat Jul 17, 2010 12:45 am

Re: Booting issue

Post by Chandra »

anti149 wrote:Hi! I am making a OS in C using GRUB as mt boot-loader and an asm file to boot the kernel which is in C everything compiles fine and when I boot it goes to GRUB mutiboot as it should, then I click on my kernel, but the screen goes black with just the cursor and hangs for a few seconds then reboots??? do you know what could cause this? 8)
Triple Fault could cause this. Relevant portion of code required.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
Post Reply