This project is read-only.

BootLoader?

Jan 7, 2011 at 11:24 PM

Were the hell is the bootloader,i assume its in ASM?I just need to know were it is,need to change a few ting.

Thanks in advance!

Jan 8, 2011 at 12:30 AM
The bootloader is Syslinux.

On 1/7/2011 7:24 PM, FFA702 wrote:
> From: FFA702
>
> Were the hell is the bootloader,i assume its in ASM?I just need to know
> were it is,need to change a few ting.
>
> Thanks in advance!
>
> Read the full discussion online
> <http://cosmos.codeplex.com/Thread/View.aspx?ThreadId=240913&ANCHOR#Post545704>.
>
> To add a post to this discussion, reply to this email
> ([email removed]
> <mailto:[email removed]?subject=[Cosmos:240913]>)
>
> To start a new discussion for this project, email
> [email removed] <mailto:[email removed]>
>
> You are receiving this email because you subscribed to this discussion
> on CodePlex. You can unsubscribe or change your settings
> <https://cosmos.codeplex.com/subscriptions/thread/project/edit> on
> codePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any
> posts to this discussion will also be available online at codeplex.com
>
Jan 8, 2011 at 2:14 AM

Okay,now how would i replace the bootloader whit someting like grub?I assume the os is in Cosmos\Tools\asm\main.asm ?

Jan 8, 2011 at 2:19 AM
Edited Jan 8, 2011 at 2:20 AM

Im using grub for launching my custom kernel on other machines.

 

Just compile the .iso and use this menu.lst:

 

color blue/black yellow/bluetimeout 120

title Custom OS

kernel/memdisk iso

initrd /customOS/MattsOSBoot.iso

 

 

If you need anything else just ask.

Jan 8, 2011 at 5:31 AM

I must admit its the first time ive played whit grub, could you please explaine from start or point me to some kind of documentation?

Jan 8, 2011 at 10:32 AM
Theoretically, all we need to boot our kernel (the .bin or .obj file in the .iso), is a Multiboot Spec compliant bootloader. Grub claims to be as well. We use syslinux as it also supports pxe booting, usb bootring, etc..


On Sat, Jan 8, 2011 at 6:31 AM, FFA702 <notifications@codeplex.com> wrote:

From: FFA702

I must admit its the first time ive played whit grub, could you please explaine from start or point me to some kind of documentation?

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Jan 8, 2011 at 1:11 PM
> I must admit its the first time ive played whit grub, could you please
> explaine from start or point me to some kind of documentation?

http://tinyurl.com/qg3dhd
Jan 8, 2011 at 5:13 PM

Kudzu,lol i looked at google before i posted here, but i didint find anyting about downloading it on windows, compiling it then use it to boot a costum OS...

And mterwoord, does the boot loader actually put the kernel in the ram and then tell the computer he can start to read the kernel at xxxx adress?What would i need to do if i whant to dowload the syslinux source, then change a few ting, then compile (or assemble) it then replace the old one by the new one.I tryed to learn assembly long ago but i got some issue whit understanding how tings work...

Jan 8, 2011 at 6:24 PM
On 1/8/2011 1:13 PM, FFA702 wrote:
> Kudzu,lol i looked at google before i posted here, but i didint find
> anyting about downloading it on windows, compiling it then use it to
> boot a costum OS...

It doesnt run on Windows. Its running in a VM, so it thinks its runnig
on real hardware. Grub is available precompiled since its not specific
to an OS. In the early days Cosmos used grub, but we found Syslinux to
be better and easier to use.

> And mterwoord, does the boot loader actually put the kernel in the ram
> and then tell the computer he can start to read the kernel at xxxx
> adress?What would i need to do if i whant to dowload the syslinux

The bootloader loads the kernel in RAM, makes some basic memory configs
so the kernel has a pre setup before its called ( so it can run in fact)
and then it calls the kernel. It then is no longer used, and full
control is passed to the kernel.