Ubuntu 9.10 New GRUB

ph4t3

Expert Member
Joined
Mar 23, 2009
Messages
2,047
Reaction score
7
Location
::1
I noticed that the new Ubuntu no more uses the lagacy GRUB, but rather this new GRUB2 (actually version 1 point something beta). I wanted to re-arrange the order of the OS's at the boot screen, but could'n find "menu.lst".

After a quick google seach, i tried to learn what i could about GRUB2. I found out that there is a no more a menu.lst, but rather a grub.cfg that is compiled using a bunch of scripts. I learnt that I had to change the order of these scrips by renaming them (00_* before 01_* etc) and then recompile the grub.cfg.

Eventually I got what I wanted. But seriously, I miss the simplicity of just editing the menu.lst. Is there no way of reverting back to the old GRUB? I know users that upgraded from a previous version of Ubuntu could choose between keeping the old GRUB, or replacing it with the new 1. What about clean installs?

And on a side note, what's the advantages (or new features) that GRUB2 offers?
 
The grub file is now /boot/grub/grub.conf (on some ditros, maybe even all of them, menu.lst was a softlink to the same file).

In any event, the file says at the very beginning
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

In debian, grub-legacy still exists. maybe it does in ubuntu.
 
Well I'll keep looking. It's a whole new learning curve for me.
 
apt-cache policy grub-legacy should tell you whether the old grub still exists.
 
I edit my grub.cfg by hand sometimes because if I quickly want to test out an option I don't want to edit scripts and/or re-order them and then run update-grub (grub-mkconfig).

Although if you edit grub.cfg by hand, the next time you update your kernel or some other program that triggers the regeneration of grub.cfg you lose your settings.

The best explanation of the working of grub.cfg I found yet: http://grub.enbug.org/FranklinPiat/grub.cfg.manpage?highlight=(grub.cfg)
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X