Page 1 of 1

bootloader/kernel

Posted: Fri Apr 03, 2009 8:22 pm
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 .

Re: bootloader/kernel

Posted: Fri Apr 03, 2009 9:45 pm
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)

Re: bootloader/kernel

Posted: Sat Apr 04, 2009 11:07 am
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

Re: bootloader/kernel

Posted: Sat Apr 04, 2009 9:56 pm
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

Re: bootloader/kernel

Posted: Sat Apr 04, 2009 10:12 pm
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 !!

Re: bootloader/kernel

Posted: Sun Apr 05, 2009 9:07 pm
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.

Re: bootloader/kernel

Posted: Mon Apr 06, 2009 10:34 am
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