You can find extensive information, including sample boot loaders, at OSDev.org. I would recommend being careful about posting to the fora there, however, as they expect you to carry your own weight, and a blanket request such as this one is likely to get negative reactions.
That having been said, I would recommend using GRUB as your bootloader rather than trying to roll your own. GRUB does many of the basic startup tasks for you, and let's you start from a fairly well-developed point.
As for a command-line action, you're on your own.
Schol-R-LEA
Veteran Poster
1,038 posts since Oct 2010
Reputation Points: 447
Solved Threads: 167
Skill Endorsements: 11
I would also recommend using an emulator (e.g., Bochs) or virtualizer (e.g., VirtualBox, QEMU, VirtualPC) rather than running off of live hardware, at least while testing and debugging. If nothing else, it would save you the constant work of rebooting the system as you test it, as you will be able to run the OS inside of your development machine.
Schol-R-LEA
Veteran Poster
1,038 posts since Oct 2010
Reputation Points: 447
Solved Threads: 167
Skill Endorsements: 11
I have bochs installed on my computer, and i have small boot disk OS from floppy.
Could someone help me how to boot floppy on bochs? I read the instructions from
bochs wiki but i'm still confuse.
The main thing you need to do is create a disk image. Fortunately, Bochs comes with a tool, bximage, which makes it easy to create a blank disk image, or (if you already have a disk) copy a disk image to a file.
You can also use a physical disk with Bochs, if you prefer, rather than a disk image file.
Schol-R-LEA
Veteran Poster
1,038 posts since Oct 2010
Reputation Points: 447
Solved Threads: 167
Skill Endorsements: 11