Hi Michael,<br><br>> So why don't you just put appropriate options (kopt=splash etc.) in the<br>> 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 "temporary" 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 && sed -i -e '/^kernel/s/$/ vga=791 splash/' $target/boot/grub/menu.lst<br>ifclass CLASS_HW2 && sed -i -e '/^kernel/s/$/ vga=785 splash/' $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"><<a href="mailto:mgoetze@mgoetze.net">mgoetze@mgoetze.net</a>></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>
> E.g. we use Splashy in our HW devices.<br>
> To configure Splashy some values must be written manually in menu.lst as<br>
> kernel's parameter.<br>
> Our product deb packets have Splashy in dependences list and modifies<br>
> menu.lst itself.<br>
<br>
</div>So why don'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>