grub: cleanup boot code