Grub and Grub2 don't get along?

Jonas Norlander jonorland at gmail.com
Sat Oct 31 14:48:37 GMT 2009


2009/10/31 Howard Coles Jr. <dhcolesj at gmail.com>:
> On Saturday 31 October 2009 04:08:57 am Kaj Haulrich wrote:
>> On Saturday 31 October 2009 07:17:24 Jerry Lapham wrote:
>> > I managed to install Kubuntu 9.10 on dev/sda7, an empty but
>> >  previously formatted partition on my laptop.  I was a little
>> >  leary, but I think I let it default to installing grub2 on
>> >  dev/sda.  When I rebooted, the grub menu from Kubuntu 9.04 on
>> >  dev/sda5 was displayed with no way to boot 9.10.
>> >
>> > I thought, well, that was probably a good thing.  I'd just add
>> >  Kubuntu 9.10 on dev/sda7 to that menu like I had Mandriva 2009
>> >  on dev/sda6.  I did it and rebooted but when I clicked on
>> >  Kubuntu 9.10 it took me to a grub prompt.
>> >
>> > How do I get 9.10 to boot?
>>
>> Grub2 is a different beast from grub legacy. No menu.lst anymore.
>> In /boot/grub, you'll find a file called grub.cfg, but - as it
>> clearly says: - don't edit this file.
>>
>> Instead, you'll find a file in /etc/default called grub. This one is
>> editable and after editing one must run: 'sudo update-grub2'.
>>
>> While doing so, it will search for other bootable partitions, and
>> create a new boot menu.
>>
>> In your case, I would simply try to run 'sudo update-grub2' and see
>> what happens.
>>
>> I've had countless problems with grub2 myself during the alpha-beta
>> phase, and the documentation is sparse - to say the least. So,
>> before you edit /etc/default/grub, save it under another name, i.e.
>> 'grub_original'. That way you can restore it - if need be from a
>> live CD, if the system will not boot at all.
>>
>> HTH
>>
>> Kaj Haulrich.
>>
>
> This is unbelievable!.  Why go from the simple, easy to config setup that
> everyone was comfy with, that required no afterward compile, (as was the big
> complaint with LILO)?  Why do we need GRUB now, since it now has the same
> ridiculous problem that LILO was so maligned for?  Stupid.  Also, can someone
> please explain why it needed a "grub2"?  What, exactly, was wrong with grub
> legacy?
>

It was to static and only worked on PC if i remember right. You don't
have to compile it, you can still edit /boot/grub/grub.cfg by hand but
you can also add your options to /etc/grub.d/40_custom and
/etc/default/grub and it will be added next time the update is run.

/ Jonas



More information about the kubuntu-users mailing list