tested readbootcfg