RE: regarding grub.conf file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, but rebuilding an rpm just to change a line of text is a bad idea. 
Instead of mucking around with anaconda or the grub rpm, you are much 
better off running a simple one-liner in %post:

perl -pi -e 's/Red Hat Linux/My Linux/g' /etc/grub.conf

That will do exactly what you are looking for, and all you need to do is 
put in your %post is n your kickstart file.

James



James S. Martin, RHCE
Contractor
Administrative Office of the United States Courts
Washington, DC
(202) 502-2394




"Alexander Rau" <alex@xxxxxx>
Sent by: anaconda-devel-list-admin@xxxxxxxxxx
03/12/2004 08:12 AM

 
        To:     "'Pathik Patel'" <abhi4091@xxxxxxxxxxx>, 
<anaconda-devel-list-request@xxxxxxxxxx>, <anaconda-devel-list@xxxxxxxxxx>
        cc: 
        Subject:        RE: regarding grub.conf file


Hi:

You need to rebuild the grub rpm from source and change the line where it
writes Red Hat into the grub.conf to MYDISTRO. Then you need to make sure
that the newly created grub rpm file is in the buildinstall directory.

Hope this helps.

AR

-----Original Message-----
From: anaconda-devel-list-admin@xxxxxxxxxx
[mailto:anaconda-devel-list-admin@xxxxxxxxxx] On Behalf Of Pathik Patel
Sent: 12 March 2004 02:52
To: anaconda-devel-list-request@xxxxxxxxxx; anaconda-devel-list@xxxxxxxxxx
Subject: regarding grub.conf file

hi to all,
          i want to know how grub.conf file is
generated by  anaconda.also how can i change the line
tile Red Hat Linux to MY Linux not manually by editing
/etc/grub.conf but in anaconda so when grub is
installed and grub.conf is generated i will get MY
Linux when i boot for the very first time.
thats why i want to know the entire process how
grub.conf file is generated by anaconda.
do reply me

waiting for a reply from the list.

thanks and regards,

pathik.

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, 
services,
tools and more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list






[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux