> What I don't understand is why you have a package which modifies
> menu.lst but doesn't provide it if one doesn't exist, but oh well.

E.g. we use Splashy in our HW devices.
To configure Splashy some values must be written manually in menu.lst as
kernel's parameter.
Our product deb packets have Splashy in dependences list and modifies
menu.lst itself.
As we can see there is a problem occurs if menu.lst is absent

Thank you

2009/9/9 Michael Goetze <[email protected]>

> Hi Alexey,
>
> > 1) to execute in instsoft.GRUB hook the commands:
> > fcopy /boot/grub/menu.lst
> > $ROOTCMD update-initramfs -k all -u
> > $ROOTCMD update-grub
> > (This provides that menu.lst exists and is configured.)
>
> No - as you see from your error log, these commands don't exist yet in
> the chroot environment. You need to run them after the corresponding
> packages have been installed, of course.
>
> > 2) to remove file faiconfig/files/boot/grub/menu.lst/postinst to GRUB
> > script's directory and to comment
> >  grub update command in it.
> > (This will install grub but not change menu.lst)
>
> Sure, you just need to run grub-install at some point.
>
> What I don't understand is why you have a package which modifies
> menu.lst but doesn't provide it if one doesn't exist, but oh well...
>
> Regards,
> Michael
>

Antwort per Email an