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: Tom H
Subject: Re: What does grub-install do?
Date: Sat, 16 Oct 2010 14:50:22 -0400

On Sat, Oct 16, 2010 at 2:35 PM, Barry Jackson <address@hidden> 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 :-
>> >
>> > 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.

AFAIK, update-grub is a Debianism. It even exists in Debian for grub1.



reply via email to

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