I want to install a menu.lst for my CLASS of systems that is different than the default.<br><br>I tried creating a MYCLASS/53-install_grub script that tried to copy my menu.lst to /target/boot/grub/menu.lst but it fails because the directory /target/boot/grub has not been created yet at the time the script runs. The directory does not get created until GRUB/10-setup runs.<br>
<br>I did a "watch find /target/boot" while the system was imaging and I see
that no /target/boot/grub is created when I my script runs. I found where "grub-install" is finally getting called and it's in "/srv/fai/config/files/boot/grub/menu.lst/postinst" which i presume is getting called from the GRUB/10-setup script's fcopy?<br>
<br>I also see that GRUB/10-setup runs last. Which is AFTER my all my scripts in my class. So it would overwrite my menu.lst anyhow.<br><br>1- How do I get my
INSITE/53-insite_grub script to run last? I tried moving it to
INSITE/99-insite_grub and that did not work. GRUB/10-setup still went
last, AND there was no /target/boot/grub when my script ran. Grub is
installed, but there's no grub directory because grub-install had not run yet at the time the script runs.<br clear="all">
<br clear="all">2- Is there a different way to just install a "menu.lst" that's unique to my class? I see a menu.lst/GRUB in the files directory and tried creating a menu.lst/INSITE for my class but that didn't work. Neither are actually getting installed.<br>
<br>3- my script INSITE/53-install_grub creates a /target/boot/grub/menu.lst and I see that when the GRUB/10-setup script runs it moves my menu.lst to menu.lst.pre_fcopy.<br><br>Can someone please instruct me on how to install my own menu.lst for this special class of servers?<br>
<br>-b<br clear="all"><br>-- <br>Brad Allison<br>Senior Systems Administrator<br>AlertSite.com<br>954-312-0188 x214<br><br>