This article at LinuxGazette is a hands-on tutorial for building a small boot sector. The first section provides the theory behind what happens at the time the computer is switched on. It also explains our plan. The second section tells all the things you should have on hand before proceeding further, and the third section deals with the programs. The little startup program won’t actually boot Linux, but it will display something on the screen.