I wanted to create my own operating system, so I created a distro image with archiso. It's pretty cool!
I created a python file that helps to automate the installation of my distro.
And there is the part that transfers the file to the chroot and then later installs GRUB. It works, but after restarting and the system already installed appears as "Arch Linux".
In the installation file I made in Python, I use the line os.system("COMMAND LINUX")
to execute Linux commands
Is there any command or file I need to change to rename Arch Linux to my distro name? To put it in the installation automation file after installing GRUB so that after the person restarting it already appears "My OS"
PS: Don't tell me to change the menuentry of /boot/grub/grub.cfg, because it automatically overrides.
/etc/default/grub
and/etc/os-release
; you'll need to upgrade GRUB after modifying the 1st file.