bootloader/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
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

bootloader/kernel

Post by brokenbylaw »

Ok guys i searched the forums (i always do just dont want to go through 400 results)

is it possible to use the windows boot menu to boot into a dev OS (the kernel and stuff)
ive tried to make a folder with my kernel and i used switches in the boot.ini (/hal=myhal.dll & kernel=kernel)
but it hasnt seemed to work yet .
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: bootloader/kernel

Post by earlz »

http://www.tburke.net/info/ntldr/ntldr_ ... _guide.htm

I win.

edit:
oh and maybe this http://support.microsoft.com/default.as ... -us;289022

(thank you openbsd's guide to multibooting)
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

Re: bootloader/kernel

Post by brokenbylaw »

I tried to boot my os from the windows boot loader
i didnt partion my drive im trying to run it from inside the C: partion

multi(0)disk(0)rdisk(0)partition(1)\myos="myos" /fastdetect /kernel=mykernel

and

C:\myos="my os" /fastdetect

but it doesnt seem to work it says i dont have the windows HAL i tried defining it with

/HAL=myhal

any help
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: bootloader/kernel

Post by earlz »

I really have no idea other than basic boot.ini stuff, but are you sure your hal.dll is in the proper format and such? oh and have you tried specifying the drive as multi(0)rdisk(0)....:/myhal.dll
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

Re: bootloader/kernel

Post by brokenbylaw »

what about booting directly into a EXE program like a simple C++ hello world
if i was able to get that done i think iw uold definatly be able to get my kernel and stuff running from it
\thank you for all your help !!
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: bootloader/kernel

Post by earlz »

You can't load a whole kernel through boot.ini...

You can only load a single sector, just like a BIOS boot.. but from there you can have a sector size program that reads the FS and loads your kernel.
brokenbylaw
Posts: 19
Joined: Fri Apr 03, 2009 3:15 pm

Re: bootloader/kernel

Post by brokenbylaw »

Yeah thanks for your help im thinking of having the boot.ini boot into a silent loader for my kernel thank you for your help
Post Reply