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.
i have tried a method that showes up several places in which stage1 and stage2 are combined then PartCopied to the disk.
when i do this it boots,but it corrupts the FS and i cannot load "kernel.bin" nor can i add more files because windows just wants to format.
is the a way to get this to work?
(i tried making a bootloader but it doesn't load anything 'cept the welcome message.)
STFW. Same question was asked two threads down, and full instructions are available on the wiki.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
What is your FS?
How is the bootsector?
If you copy your nsectors second stage on the main structure of a FAT12 I guess, It is corrupted!
You can use the second stage as a file and so you have to load it from stage 1 or you have to add some reserved sectors on the MBR...
Combuster wrote:STFW. Same question was asked two threads down, and full instructions are available on the wiki.
I KNEW you would say something like that!why are you so negative???
they dont.the only ones shown are links to the bad one
(btw i joined to learn about OS development.if writing about building OS is wrong please tell me where to do so.)
Because someone is ignoring forum rules, repeatedly? You made two posts that break important forum rules, another 4 that are simply offtopic, and only one that can actually be considered to contribute something.
Does the following sound familiar to you? (if not, I have to add not even reading the forum rules to the list of complaints)
What we are, unapologetically, is hostile to people who seem to be unwilling to think or to do their own homework before asking questions. People like that are time sinks — they take without giving back, and they waste time we could have spent on another question more interesting and another person more worthy of an answer. We call people like this "losers" (and for historical reasons we sometimes spell it "lusers").
I can ignore you too. Do you prefer not having your problem solved?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
The relevant part of the Wiki is GRUB, section "Installing to floppy". It doesn't say anything about PartCopy, but goes into detail about the two-stage process involved to have stage2 properly reside in the filesystem. Proper reading of the article even reveals links to ready-made floppy images you can use.
Every good solution is obvious once you've found it.
berkus wrote:It takes some discipline and patience to do OSdev, if person lacks either or worse, both, better let them go.
No, i just quit trying to find how to make an OS here specificly.
the wiki is good,though.
i have been trying to look for another site dedicated to OSdeving,but havn't found one.
(i will still work on ION OS but unless i can find some help for once ill go back to doing it myself.)
You can use the second stage as a file and so you have to load it from stage 1 or you have to add some reserved sectors on the MBR
Do you prefer not having your problem solved?
It really, really helps if you don't exclusively interpret everything said to you as an insult.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
I meant multiboot.i couldnt get GRUB to use my custom multiboot-compat systems.
i think i will be using ELF when i want all the files to be the same kind(hint:thats a good thing!)
i might share small builds of the cli if i can get that done.just exited about seeing it boot something
iON wrote:I meant multiboot.i couldnt get GRUB to use my custom multiboot-compat systems.
Sorry? Did you just say you cannot implement multiboot support in your kernel properly?
im realy not sure.i might try working on linux but not now.
so far im researching functions,etc.
the reason i dont "ld -T link.ld kernst.o fun.o otherfun.o -o mygreat kernel.bin"is because it gives me the error: