and the same code is placed here  src/modules/BootGRUB.rb:677