bootmgmt_install_grub() must build the needed paths, version.lst file copy rework
target device preparation
memory management issues and broken if statement
be_do_istallgrub port to use libbootmgmt interface