add support for legacy MBR