Boot process modification
Example implementations relate to memory mode categorization. An example boot process modification can include invoking a first service of a client operating system (OS) on top of an enabled host OS, modifying a boot process of the host OS using the first service, and executing applications within the client OS based on the modified boot process of the host OS.
1. A machine-readable medium storing instructions executable by a processing resource to cause a computing system to:
invoke a first service of a client operating system (OS) on top of an enabled host OS;
invoke a second service located on the enabled host OS;
modify a boot process of the enabled host OS using the first service and the second service; and
execute applications within the client OS based on the modified boot process of the enabled host OS.
2. The medium of claim 1 , further comprising the instructions executable to modify the boot process by emulating a boot process of the client OS using the first service.
3. The medium of claim 1 , further comprising the instructions executable to facilitate communication between the client OS and the enabled host OS via the second service.
4. The medium of claim 3 , wherein the first service is located on the client OS.
5. The medium of claim 1 , wherein the client OS is an updated version of the enabled host OS.
6. A machine-readable medium storing instructions executable by a processing resource to cause a computing system to:
modify a boot process of an enabled host OS using a first service, comprising:
booting a graphics resource provider of the enabled host OS; and
attaching a display manager of a client OS to the graphics resource provider;
modify the boot process of the enabled host OS using a second service, comprising:
emitting a list of startup events associated with a native boot process of the client OS; and
initializing applications on the client OS; and
execute client applications in the client OS using the modified boot process.
7. The machine-readable medium of claim 6 , further comprising instructions executable to modify the boot process using the first service and comprising establishing a communication link between the enabled host OS and the client OS.
8. The machine-readable medium of claim 7 , further comprising instructions executable to pass system management commands via the link.
9. The machine-readable medium of claim 7 , further comprising instructions executable to communicate with the enabled host OS from within the client OS via the link.
10. A method for boot process modification, comprising:
booting a client OS on top of an enabled host OS;
modifying the enabled host OS boot process, comprising:
mounting, using a first service, a client OS image located on a root filesystem of the enabled host OS onto a subdirectory serving as a working filesystem root for the client OS; and
bind-mounting, using the first service, virtual partitions of the enabled host OS into the subdirectory of the working filesystem root; and
executing a client OS application within the client OS using the modified host OS.
11. The method of claim 10 , further comprising a second service emulating startup events in an initialization process of the client OS, the emulating comprising:
booting client applications based on events emitted during the initialization process; and
emulating the startup events in a particular order, such that the client applications boot in a native manner.
12. The method of claim 10 , further comprising running the enabled host OS and the client OS concurrently above the same kernel.
13. The method of claim 10 , wherein modifying the enabled host OS boot process further comprises executing, using the first service, a second service inside a change operation.
14. The method of claim 10 , wherein modifying the enabled host OS boot process further comprises:
mounting partitions and subvolumes in an image located on the enabled host OS;
rebind mounting the virtual partitions; and
invoking a second service in the client OS.
15. The method of claim 14 , further comprising giving autonomous access of native devices to the client OS via the rebind mounting.