Install extern kernel

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
sbeng77
Posts: 17
Joined: Mon Sep 29, 2008 8:06 am
Contact:

Install extern kernel

Post by sbeng77 »

Hi,
i'm new of this very interesting forum!
I'm following this tutorial: http://www.osdever.net/bkerndev/index.php

On "Printing to the Screen" chapter there is written: "Copy your 'kernel.bin' to your GRUB floppy disk". How can i do it? How install my "kernel" on hd?
Best regards.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Install extern kernel

Post by Combuster »

Bran's tutorial comes with a floppy image you can use. Use rawwritewin or cygwin's dd to clone it to floppy. Once you did that, you'll have a nicely prepared floppy where you can just replace the kernel.bin with whatever kernel you want.

If you want to install your kernel on your harddisk, you'll need grub installed on your harddisk. That means you need a free partition formatted with a filesystem GRUB likes. If you're windows-only, then you'll most likely be stuck running your OS off your favorite emulator's virtual harddrive.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
System123
Member
Member
Posts: 196
Joined: Mon Jul 07, 2008 1:25 am

Re: Install extern kernel

Post by System123 »

I would not recommend installing ur kernel to a hard drive until u are fully or close to completion.. This is because if there is an error or not enough features u wont be able to use it. Rather use a floppy until ur kernel is of a good stable standard
Gizmic OS
Currently - Busy with FAT12 driver and VFS
sbeng77
Posts: 17
Joined: Mon Sep 29, 2008 8:06 am
Contact:

Re: Install extern kernel

Post by sbeng77 »

Ehi guys, thank you for your councils.
I'll follow them and i'll update to you.
Do you can suggest me some other os development tutorial for dummies step by step? :)
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Install extern kernel

Post by Combuster »

"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Steve the Pirate
Member
Member
Posts: 152
Joined: Fri Dec 15, 2006 7:01 am
Location: Brisbane, Australia
Contact:

Re: Install extern kernel

Post by Steve the Pirate »

System123 wrote:I would not recommend installing ur kernel to a hard drive until u are fully or close to completion.. This is because if there is an error or not enough features u wont be able to use it. Rather use a floppy until ur kernel is of a good stable standard
Well, you shouldn't install it as the main OS, but if you already have GRUB installed, it is a great idea in my opinion to add your operating system to it. I usually test on an emulator, but every now and then, I can just restart, choose my OS and then press enter to test it on my computer. Otherwise I would have to burn a CD and then boot that, which would be a waste (as my OS doesn't do anything useful!)
My Site | My Blog
Symmetry - My operating system.
System123
Member
Member
Posts: 196
Joined: Mon Jul 07, 2008 1:25 am

Re: Install extern kernel

Post by System123 »

I guess that is useful however I only use a floppy to test at the moment as I still have alot of buggy sections in my OS
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Post Reply