Grub not working

Tom H tomh0665 at gmail.com
Thu May 5 18:01:27 UTC 2011


On Thu, May 5, 2011 at 12:53 PM, Tony Pursell
<ajp at princeswalk.fsnet.co.uk> wrote:
>
> Looking at 4.1.2 Chain-loading an OS, it gives us
>
> menuentry "Windows" {
>        insmod chain
>        insmod ntfs
>        set root=(hd0,1)
>        chainloader +1
> }
>
> but that's not exactly what is in my /boot/grub/grub.cfg built by
> update-grub.
>
> You will see in '5.1 Simple configuration handling', that it doesn't
> guarantee the grub-mkconfig program (which is run by update-grub) will
> do everything you want and even suggests (horror of horrors) that you
> might need to create your own /boot/grub/grub.cfg.

You don't have to edit "/boot/grub/grub.cfg". You just have to edit
"/etc/grub.d/40_custom" (or create another executable file with the
same format in "/etc/grub.d") and run "update-grub".




More information about the ubuntu-users mailing list