Elemental derivative has a COS_STATE partition which has following structure:
<ROOT_OF_COS_STATE>
cOS/
grub2/
grubenv
grub_oem_env
grubcustom/
... ...
- The first confusing thing is that the
grubenv,grub_oem_env,grubcustom are not in the grub2 dir as in normal convention.
This is especially true when install the OS via PXE installer under Legacy boot mode, int result disk, there will be another grubenv file:
<ROOT_OF_COS_STATE>
cOS/
grub2/
grub.cfg
grubenv <======
...
grubenv <======
grub_oem_env
grubcustom/
... ...
- Another related thing is: after boot, the
<LOGICAL_ROOTFS>/boot/grub2 dir is still empty, looks weird, it is supposed to be bind mounted with < ROOT_OF_COS_STATE >/grub2.
These things are all trivial, but it would be good if
- move (or make symlinks) of
grubenv,grub_oem_env,grubcustom to grub2 dir
- bind mount
<ROOT_OF_COS_STATE>/grub2 to <LOGICAL_ROOTFS>/boot/grub2 after boot.
Yet need keep compatibility of old version.
Elemental derivative has a COS_STATE partition which has following structure:
grubenv,grub_oem_env,grubcustomare not in thegrub2dir as in normal convention.This is especially true when install the OS via PXE installer under
Legacyboot mode, int result disk, there will be anothergrubenvfile:<LOGICAL_ROOTFS>/boot/grub2dir is still empty, looks weird, it is supposed to be bind mounted with< ROOT_OF_COS_STATE >/grub2.These things are all trivial, but it would be good if
grubenv,grub_oem_env,grubcustomtogrub2dir<ROOT_OF_COS_STATE>/grub2to<LOGICAL_ROOTFS>/boot/grub2after boot.Yet need keep compatibility of old version.