Grub problems Lucid 10.04

Joep L. Blom jlblom at neuroweave.nl
Tue May 31 21:29:17 UTC 2011


On 31/05/11 18:03, Goh Lip wrote:
> On 05/31/2011 11:47 PM, Tom H wrote:
>> On Tue, May 31, 2011 at 11:20 AM, Goh Lip<g.lip at gmx.com> wrote:
>>> On 05/31/2011 09:44 PM, Joep L. Blom wrote:
>
>>> To include new kernels...
>>> sudo update-grub
>>>
>>> To rectify most problems...(and include new kernels)
>>> sudo grub-install /dev/sda #assuming sda#
>>>
>
>
>>> Save and just to be sure, at terminal, "sudo update-initramfs"
>>
>> You can't just run "update-initramfs", you have to run
>> "update-initramfs -u".
>>
>
> Good catch, Tom.
>
>> Also, if you don't pass a "-k .." argument, only the latest kernel's
>> initrd is updated.
>>
>> It's not clear from the OP whether it's grub1's or grub2's stage 1
>> that's in the mbr. I can't think of a scenario whereby it's grub1's
>> and that menu.lst isn't updated or that it's grub2 and that it's
>> menu.lst that controls the grub boot menu, but I assume that it's
>> possible.
>>
>
> To check this, a "grub-install -v" will show what grub is 'in charge
> now', but all the same, if grub2 is 'in charge', the above 2 commands
> will resolve this and if grub-l is 'in charge', the same 2 commands or
> amending the menu.lst will also resolve this.
>
>> As Goh says above, his suggestion should rectify your problem but
>> could you post the output of boot info script to understand what's
>> happened?
>>
>> http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/
>>
>
> And if problem persists, bootinfoscript above will probably show what's
> wrong and Tom will have to take over here.
>
> Regards - Goh Lip
Goh Lip & Tom,
Many thanks for the info. I have read it and start digesting it. I can 
not directly rectify it as tomorrow I have much different work to do but 
I let you know the results. Thanks again,
Joep







More information about the ubuntu-users mailing list