Ah, you speak of "boot/grub/menu.list", which is the configuration file for grub-legacy. I presumed that you meant grub2 (grub-pc|grub-efi). The grub-legacy support is largely unmaintained, and their is no **config option** for replacing the "Debian" text in the grub-legacy menus. That's not to say it's impossible though, it **is** possible. Since this is just text in text based files, you can easily enough construct a "hook" that you can place in your config to make the necessary modification to the binary contents before it is finally wrapped up as an ISO/IMG/whatever. So: 1. You create a small "hook" script in your config directory which does text replacement on the binary/boot/grub/menu.list file. 2. You execute the build. What happens: 1. When the build reaches the grub-legacy setup stage, it writes the config with "Debian" strings. 2. A little later the binary hooks stage is reached, and your hook gets run, which modifies that file to replace those strings as you desire. 3. After this the stage for wrapping things up as an ISO or whatever is reached, completing your image. You should find instructions for writing hooks in the `live-manual`. Alternatively, stop using grub-legacy. Regards, Lyndon On Sat, 2020-05-02 at 21:52 +0530, Harshad Joshi wrote:
|