after these i see my distro name, but its just update-grub command, when run it put "ubuntu" in generated menu.lst file as title
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
Apparently may be still need to modify some other file...
Thanks,
Saqlain.
On Fri, Jan 4, 2013 at 4:35 PM, Felix Miata
<address@hidden> wrote:
On 2013-01-04 13:50 (GMT+0500) Saqlain Abbas composed:
I have customized Ubuntu distribution, along with several customization i
have also changed distribution name, it works well. Currently I use this
cutomized distro rootfs with Linux kernel but whenever i Install grub, the
auto-generated menu.lst file do have original distro name, My question is
grub read which file to determine distro name, as i want to customize it
completely.
Sample snippet from auto-generated menu.lst file
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
Look at title, it contains original distro name, it shows i missed some
file in orignal distro and grub still can determine original distro name
and show it in tile. So kindly guide how grub determine distro name...
Have you looked to see what is in /etc/*release?
See:
http://www.freedesktop.org/software/systemd/man/os-release.html
http://0pointer.de/blog/projects/os-release
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub
--
Kind Regards,
Saqlain Abbas.