help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does grub-install do?


From: Barry Jackson
Subject: Re: What does grub-install do?
Date: Sat, 16 Oct 2010 19:35:15 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-UK; rv:1.9.2.12pre) Gecko/20101015 Lightning/1.0b2 Lanikai/3.1.6pre

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 :-
> >
> > address@hidden baz]# update-grub
> > bash: update-grub: command not found
> > address@hidden 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.

Who is Tom H and which version was he quoting from?

Barry





reply via email to

[Prev in Thread] Current Thread [Next in Thread]