Hi Alexey, > We have a deb packet that modifies /boot/grub/menu.lst file. > But FAI ( we used config structure from example ) creates this file > during GRUB configuration after "instsoft" task is done. > > We tried to call "fcopy -Uv /boot/grub/menu.lst" in instsoft.GRUB hook > but the menu.lst was overwritten by 10-setup GRUB script to default. So > we need to modify menu.lst again but this method seems not correct. > If 10-setup GRUB script was deleted then GRUB did't install at all. > Can you please suggest how to have menu.lst configured once?
why don't you just replace your GRUB/* scripts with something like $ROOTCMD update-initramfs -k all -u $ROOTCMD update-grub Keep in mind that grub-install is by default executed by an fcopy postinst script, so you must retain at least one fcopy /boot/grub/menu.lst or move that to one of your scripts as well. Regards, Michael
