Page 1 of 1
how do you start your OS
Posted: Mon Jul 18, 2005 2:15 pm
by GLneo
just felt like asking, and becouse there hasn't been a poll sence before i can remember
Re:how do you start your OS
Posted: Mon Jul 18, 2005 2:16 pm
by Tora OS
well back when i worked on the K OS project and had no clue what i was doing i made my own custom boot loader which sucked.
Now on my Tora OS project ive been using GRUB. Makes things a wee tad easier.
Re:how do you start your OS
Posted: Mon Jul 18, 2005 3:21 pm
by FlashBurn
I use my own bootloader (with 2nd stage) because I started with a bootloader for iso9660 and GRUB doesn?t support it. Another point is that I use a binary file for my kernel.
Re:how do you start your OS
Posted: Mon Jul 18, 2005 4:59 pm
by Kemp
I chose custom with 2nd stage, but it's really a three stage loader. Though with some of the things I'm going to put in the third stage it should probably be dubbed the kernel's 0th stage, lol
Re:how do you start your OS
Posted: Mon Jul 18, 2005 5:41 pm
by Warrior
GRUB.
Re:how do you start your OS
Posted: Mon Jul 18, 2005 8:45 pm
by Brendan
Hi,
I voted for "other" as I've got a 4 stage boot, where the first stage can be GRUB or a custom boot loader...
The basic idea is that the second stage is loaded at a fixed location and started in real mode (with the remainder of a boot image loaded at another fixed location). For GRUB there's an extra step - juggling things in memory and switching from protected mode back to real mode.
The boot sequence is:
- GRUB + post-GRUB fixups, or a native boot loader (DOS utility, boot sector)
- 16 bit setup/detection code, which may run seperate/optional boot menu code
- 32 bit (or eventually 64 bit) setup code (setup and enable paging)
- 32 bit (or eventually 64 bit) kernel setup driver (initialize the micro-kernel and kernel modules)
- a kernel (one of N, auto-selected from detected features)
Cheers,
Brendan
Re:how do you start your OS
Posted: Mon Jul 18, 2005 10:48 pm
by Solar
Voted "GRUB" for my past project, will do custom 2-stage boot for my new approach, with the kernel binary itself capable of being GRUB-loaded as an alternative. (I.e., kernel.bin loaded either by custom code or GRUB, with the custom code being done for learning about such things and having full control over the machine for early debug.)
Re:how do you start your OS
Posted: Mon Jul 18, 2005 11:18 pm
by Neo
I intially started out with a custom first and second stage bootloader (was pretty good actually
).
However I have been laying of the implementation stuff for a while now and soaking in the theory. When I do start out the next time I will try to use GRUB as a bootloader though.
Re:how do you start your OS
Posted: Tue Jul 19, 2005 8:07 am
by Dex4u
I use "bootprog" as i like to keep things simple ;D .
Re:how do you start your OS
Posted: Thu Jul 21, 2005 5:27 am
by Xardfir
I use GRUB because it's generic and has been tested on a lot more platforms than I have access to.
Re:how do you start your OS
Posted: Thu Jul 21, 2005 5:42 am
by distantvoices
GRUB
until middle of 2003 I've used my own custom boot loader, but then the kernel grew bigger and bigger and I approached Hassles and edges I didn't want to cope with anymore so I switched over - as of now, BlueIllusion boots happily with grub - be it from floppy be it from CDROM.
Re:how do you start your OS
Posted: Thu Jul 21, 2005 7:40 am
by Solar
Actually, I changed my mind when I saw what a mess they are still making with GRUB 2. Killing off a perfectly good product in pre-1.0, redubbing it "legacy", lots of talks about changing the Multiboot specs...
New plan is to do YACL. Yet another chain-loaded OS. Bootsector for selecting boot partition, partition boot sector for locating and loading the kernel binary from filesystem.
A nice bonus is that you could still install GRUB and have it chainload my stage 2 code from the filesystem, instead of having to install it in the partition boot sector.