flat assembler
Message board for the users of flat assembler.

Index > OS Construction > hdd os

Author
Thread Post new topic Reply to topic
super_scripter



Joined: 05 Jan 2005
Posts: 4
super_scripter 05 Jan 2005, 04:09
I have created an os that is put onto a floppy. I want to put the same os onto a hd and boot it like windows without a floppy and have a thing in boot.ini so i can choose the os (windows,or mine)
Post 05 Jan 2005, 04:09
View user's profile Send private message Reply with quote
smiddy



Joined: 31 Oct 2004
Posts: 557
smiddy 05 Jan 2005, 08:19
So what is your question? Is it; how can I make it boot from HD?
Post 05 Jan 2005, 08:19
View user's profile Send private message Reply with quote
super_scripter



Joined: 05 Jan 2005
Posts: 4
super_scripter 05 Jan 2005, 23:49
yes is is. i have created an os and i want is to boot of a hdd ( hard drive disk ) on one of my partitions.

in boot.ini (located at C:\boot.ini) i want to put another entry for my os (like windows operating systems have).
Post 05 Jan 2005, 23:49
View user's profile Send private message Reply with quote
joachim_neu



Joined: 22 Dec 2003
Posts: 139
joachim_neu 06 Jan 2005, 00:06
well, putting it into boot.ini is one thing, make it boot is the second! is it in RM with BIOS-Ints? if you start, you can save the bootdrive in dl after booting. thats important, because from then all your routines have to be based on this information. but if it runs, you can make it boot from whereever you want!
Post 06 Jan 2005, 00:06
View user's profile Send private message Visit poster's website Reply with quote
super_scripter



Joined: 05 Jan 2005
Posts: 4
super_scripter 06 Jan 2005, 02:06
it is in pm. and will it be in a dll or a bin file or what will the os be in?
Post 06 Jan 2005, 02:06
View user's profile Send private message Reply with quote
super_scripter



Joined: 05 Jan 2005
Posts: 4
super_scripter 07 Jan 2005, 15:12
What do i put into boot.ini so i can boot of my os. And do i have to package my os some how?
Post 07 Jan 2005, 15:12
View user's profile Send private message Reply with quote
beppe85



Joined: 23 Oct 2004
Posts: 181
beppe85 07 Jan 2005, 17:30
On Windows?

Code:
I have the following(one windows per hd):
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Quantum" /fastdetect /NoExecute=OptIn
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Druida" /fastdetect /NoExecute=OptIn    


If I have two partitions, I _guess_ the second should be:
Code:
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Druida" /fastdetect /NoExecute=OptIn    
Post 07 Jan 2005, 17:30
View user's profile Send private message Reply with quote
Redragon



Joined: 27 Nov 2004
Posts: 101
Location: U.S.
Redragon 07 Mar 2005, 01:58
what else would you have to have to make it boot?, just changing the boot.ini file isnt totally going to make it work..what code would you have to add? thanks
Post 07 Mar 2005, 01:58
View user's profile Send private message Reply with quote
drs



Joined: 20 Jan 2005
Posts: 17
Location: Southern California, USA
drs 07 Mar 2005, 04:03
Check out GRUB. This is what I use to play around with OS stuff..

I think it's simple you just add stuff like this to the menu.lst file

title MyFASMOS
root (hd0,0)
kernel /kernel.bin

Ofcourse adjust the partitions and stuff to your liking. It's quite a bit harder to do under LILO.
Post 07 Mar 2005, 04:03
View user's profile Send private message ICQ Number Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 07 Mar 2005, 09:05
one feature that's a life saver with GRUB is the build in command line (press "c") - it has "saved" me (from needing to reboot to a liveCD) many times, esp while setting up this box for the first time (the disk name keppt changing (from hda, sda, hde) ) - don't forget teh tab-completion also Smile
Post 07 Mar 2005, 09:05
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.