[CentOS] Query regarding grub.conf in centos 6.5 iso

Fri Aug 1 06:01:23 UTC 2014
aravind J <aravindkumar.leo at gmail.com>

On Jul 31, 2014 8:27 PM, "Matthew Miller" <mattdm at mattdm.org> wrote:
>
> On Thu, Jul 31, 2014 at 06:57:17PM +0530, aravind J wrote:
> > So, may I ask what is the usage of that grub.conf in the iso?
>
>
> That is used to boot the actual installer. As you discovered, it's not
> related to what gets installed.
>

Oh Ok.

> > And how can I alter the /etc/grub.conf that is getting generated by
> > anaconda ( I don't want to manually edit it, but I want to add some
extra
> > configurations to it as part of installation)
>
> There are two ways. First, you could edit the Python code in anaconda that
> generates the bootloader configuration (and perhaps provide that as an
> updates.img). Second, and what most people do: use sed or some other tool
to
> edit the generated grub.conf in kickstart post.
>

Thanks. I would try the 2nd option.

Thanks & Regards,
Aravind