Hi Michael,<br><br>&gt; So why don&#39;t you just put appropriate options (kopt=splash etc.) in the<br>&gt; menu.lst you fcopy to the target system?<br><br>As I understand NFSROOT is mounted as read only. <br>Can $FAI/files/boot/grub/menu.lst/GRUB be modified during FAI installation?<br>
<br>But it is a good method to create the correspondent menu.lst for every CLASS we use.<br>So I see the next steps FAI does:<br>1) instsoft hook copies &quot;temporary&quot; menu.lst to the target <br>(command fcopy -s $FAI/files2 /boot/grub/menu.lst/CLASSNAME)<br>
2) instsoft task installs configured packets successfully ( our deb packet can find and modify menu.lst )<br>3) GRUB script installs and upgrades grub.<br>4) finally menu.lst depending on defined CLASS is copied to the target.<br>
<br>This method works. We slightly modified it to avoid creation of addition directory that stores all CLASS implementation of  menu.lst for all the CLASSes. Instead we created script that modifies  $target/boot/grub/menu.lst depending on defined CLASS in one of LAST scripts by sed command. Like<br>
ifclass CLASS_HW1 &amp;&amp; sed -i -e &#39;/^kernel/s/$/ vga=791 splash/&#39; $target/boot/grub/menu.lst<br>ifclass CLASS_HW2 &amp;&amp; sed -i -e &#39;/^kernel/s/$/ vga=785 splash/&#39; $target/boot/grub/menu.lst<br><br>
And this works now.<br>Thank you very much for all your help!<br><br>Kind Regards,<br>Alexey.<br><br><br><br><div class="gmail_quote">2009/9/9 Michael Goetze <span dir="ltr">&lt;<a href="mailto:mgoetze@mgoetze.net">mgoetze@mgoetze.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div class="im"><br>
&gt; E.g. we use Splashy in our HW devices.<br>
&gt; To configure Splashy some values must be written manually in menu.lst as<br>
&gt; kernel&#39;s parameter.<br>
&gt; Our product deb packets have Splashy in dependences list and modifies<br>
&gt; menu.lst itself.<br>
<br>
</div>So why don&#39;t you just put appropriate options (kopt=splash etc.) in the<br>
menu.lst you fcopy to the target system?<br>
<br>
Regards,<br>
<font color="#888888">Michael<br>
</font></blockquote></div><br>