Saturday, October 10, 2009

SOLUTION - Ubuntu grub loader configuration

I was in a class about algorithms and data structures and I turned on my laptop. I saw my grub loader, with the options all mixed up, not the way I wanted them. So I asked Mr. Google if he knew anything about the subject, and there she blows! the answer to my problem =)

So the question was: How to change the order of the options and the default option of the Ubuntu grub loader?

And the answer is the following:

1. Enter the O.S Linux Ubuntu
2. Open the terminal
3. write the following command: "gksudo gedit /boot/grub/menu.lst" (don't forget "gksudo"!)
This command will open a kind of notepad with the file "menu.lst" which describes all the configuration settings of the grub loader menu =)
4. Find the blocks of lines corresponding to the various menu options and order them the way you want them. Be careful not the delete any code you shouldn't delete =)
5. Furthermore, if you want Windows to be the default option, find "default number", and change the number from '0' to the number of the option corresponding to Windows.
6. Save it all and try it!


I hope I helped a little =)
If you have important information, that's not on the post, please leave a comment so I can add it!


See ya on the next post!