On Sat, Oct 16, 2010 at 2:35 PM, Barry Jackson <[email protected]> wrote: > On 16/10/10 16:18, Goh Lip wrote: >> >> On Saturday 16,October,2010 11:01 PM, Barry Jackson wrote: >>> >>> On 02/10/10 18:46, Goh Lip wrote: >>> >>>> But use "update-grub" instead of "grub-mkconfig" >>>> >>> From 1.97 "update-grub" is removed and replaced with "grub-mkconfig" >>> >>> I just thought you should know! :-) >>> Cheers - Barry >> >> >> Barry, I'll just copy a message from Tom H in another mailing list which >> is self-explanatory...... >> >> >> update-grub just runs grub-mkconfig! >> >> >> >> # less /usr/sbin/update-grub >> >> #!/bin/sh -e >> >> exec grub-mkconfig -o /boot/grub/grub.cfg "$@" >> >> >> >> # less /usr/sbin/update-grub2 >> >> #!/bin/sh -e >> >> exec update-grub "$@" >> >> Thanks, Tom. >> Regards - Goh Lip >> > > Goh, > Well I just installed a packaged version of 1.98 for Mandriva testing before > it was pushed into the release, and I reported :- > >> > I just hit a snag :- >> > >> > [r...@jackodesktop baz]# update-grub >> > bash: update-grub: command not found >> > [r...@jackodesktop baz]# >> > > The reply was :- > {pts/0}% grep -r update-grub BUILD > BUILD/grub-1.98/NEWS:* update-grub is replaced by grub-mkconfig. > > So which is correct? The Mandriva package does not install the script > /usr/sbin/update-grub.
AFAIK, update-grub is a Debianism. It even exists in Debian for grub1. _______________________________________________ Help-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-grub
