DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wrote a web ui to manage my home server, this project was just for fun. I'm probably not going to end up actually using it.
But I would like to learn how I could make my own custom debian installer whcih has the web ui installed.
I figured I need to use live-build for this:
lb config --binary-images iso-hybrid --mode debian --architectures amd64 --linux-flavours amd64 --distribution bullseye --archive-areas "main contrib non-free" --updates true --security true --cache true --apt-recommends true --debian-installer live --debian-installer-gui true --win32-loader false
I included the packages that I want and the package with my custom webui.
This all works but there are a couple of things I want to change.
- The debian-installer still has the debian logo, I would like to replace this.
- The grub installation (done by debian-installer) shows the boot options with the name "Debian GNU/Linux". I found out that grub-install has an option bootloader-id to change this. But I have no idea where I could change this inside the debian-installer.
I think I'll need to get the source code of debian-installer and edit it to fit my needs? But I couldn't find 'grub-install' inside that source code
The debian-installer still has the debian logo, I would like to replace this.
- The grub installation (done by debian-installer) shows the boot options with the name "Debian GNU/Linux".
edit the grub.cfg file on the iso, I think it will be in boot/grub for uefi boot, for legacy boot it will be a config file in isolinux directory.
That's something I was also thinking of. But the grub.cfg file in the /boot/grub directory has the options to load the installer.
- Live system
- Graphical installer
And those options aren't on the installed system.
I found out that grub-install has an option bootloader-id
All this does is change the name of the EFI/debian directory to something else. Grub menuentry options along with the debian logo displayed are controlled by boot/grub/grub.cfg and/or a grub.cfg somewhere in a sub-directory of the efi directory or another .cfg file sourced by the grub.cfg
don't know about the debian installer grubx64.efi, some will have a grub.cfg embedded in the grubx64.efi
Last edited by colorpurple21859; 04-15-2023 at 10:37 AM.
I think I'll just end up writing my own installation script.
When I boot the live-system I can install it onto the hdd using debootstrap.
This would give me more freedom to customize whatever I want.
Once I've made a script for it. Can I make run it automatically when booting the live-system?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.