In my pc, there are two operating systems in two partitions. Thus, the boot loader shows all of them when starting the PC. I want to make the boot loader run one OS in order to hide the existence of the other one. But when needed, I should be able to restore the original boot loader that shows all the existing operating systems.
I am thinking about two different copies (images) of the MBR sector. The first one corresponds to the first OS (Taken before installing the second OS), while the second one corresponds to the dual boot OS (Taken after installing the second OS). I am not sure if the MBR sector is sufficient. Maybe other sectors are needed.