I'm a bit stuck with the arrangement of system files on a bootable CD. I need your opinions and suggestions a lot.
At first, I thought of creating of a full CD image in memory and using it as a virtual drive. In this case CD-ROM can be ejected and optical drive can be used to read other media. But my future OS is not a linux, or windows, or anything else. it's very small, so about 90% or more of a Data Area may be used by a user to store videos, photoes, books... anything! In this case copying the entire CD-ROM in memory is unnecessary. And also this method will just eat too much RAM for nothing. Bad idea.
Then I thought of mapping only System Area and a part of the Data Area that corresponds to my OS (just the root directory and all of its contents). But, to my mind, it will make a boot process overcomplicated. Too much checking, sorting, arranging, etc.. Bad idea
Finally, this very idea came to my mind. Create an image of everything. Just one file (size doesn't matter) on a CD-ROM, that will be loaded by a boot loader. This image will be the RAM disk with it's file system, system files and everything that corresponds to my OS. And it even may be stored on a CD in compressed form. Boot loader will decompress it. I think it's a very good idea
The disadvantage of this method is that system files cannot be viewed in an ordinary way. For example, one cannot insert CD in CD/DVD drive and check the contents of a system folder.
So, what do you guys think of it?


