Re: Writing your OS so it is used by others
Posted: Fri Jun 17, 2016 12:18 pm
I had thought about using Linux From Scratch as a base and find a way to trim it as much as possible.Octocontrabass wrote:Xen is open-source and does pretty much everything you've asked for.~ wrote:It seems to be bootable from CD-ROM or DVD, but does it have as many drivers as Linux if we implemented that with it?gerryg400 wrote:Doesn't vmware already do this?
Also, it's surely the right thing to do to try to implement something like this to keep that knowledge more available as part of an OS distribution.
I had thought about loading the whole system from an external USB device, floppy or CD/DVD, so as to not leave any evidence nor the need to waste a disk partition just for it.
Once it's loaded, I just remove the boot device of this firmware-like Linux to start emulating what is on the real disk devices.
So machine reboots wouldn't be real, but emulated reboots of the emulator. Onlly turning off the machine would be a real function that would actually turn off the computer.
I had also thought about using Bochs as the emulator to run.
I had thought about creating my own branch of those projects even if they lag behind the newer versions, but use them to learn about how to adjust them for this task.
_______________________
_______________________
_______________________
_______________________
I could probably make my own branch of the Xen project and adjust its source code for what I need, to see what I learn.
Once I get used to them, maintaining a standard PC emulated won't be hard because it won't need as many updates as the Linux kernel, Bochs or other key projects and drivers updated.
So it's clear that defining and keeping a standard hardware emulated will allow me to stay up to date implicitly.
I will just make my own branch based on the projects above to see what resources there are for what I want, and which others I would need to add to my branches.