ok this is another way of editing the grub2 menu entires. I am using mint 8 but its based off of ubuntu soo it should work in ubuntu as well. this is what i did.......
1st
i edited the /boot/grub/grub.cfg, b/c of permissons you cannot edit the file you have to edit the 40_custom but then the 30_custom and the 10_custom apear on the top... what a day no? but thats ok you dont need to edit the 40_custom
you just need to edit the /boot/grub/grub.cfg file but back it up just incase even tho you dont have to learn how to back up this crap :)
to back up open up terminal and type
sudo cp /boot/grub/grub.cfg /boot/grub/grub.cfg.backup
that should back it up quickly and fast once u hit enter type in your pw and thats that :)
now it give the grub.cfg permissions.
sudo chmod +w /boot/grub/grub.cfg
(hit enter and type in your pw if asked) then type in
sudo gedit /boot/grub/grub.cfg
(hitenter and type in yor pw if asked) then edit it as you like moving the loading what ever os you want to load 1st and changing the name as you like it to be.
once your done type
sudo chmod -w /boot/grub/grub.cfg
this should take it back for it so you or no one can edit it any more and happy days.......
in the ending of the video i use the old pictures of how my system looks b/c it didnt change i just am showing you how to edit it a different way.........
now in the gedit command you could also use
sudo nano /boot/grub/grub.cfg
instead of
sudo gedit /boot/grub/grub.cfg
but nano is a bit harder to learn how to use and gedit isn't, nano is like edit in windows cmd (comand prompt)..........
[if you get a bit confused about the line that says 40_custom dont worry you can also fix it up inthe 10_custom line it wont really matter just as long what you want to load 1st is on top it wont matter if its in the 40_custom lines or in the 10_custom lines... and also delete anything you dont want to show up in this case if you have extra os names for the same os then delete one and that should fix it... well best of luck]
i hope this helps much of you and well thats all i know about grub... to re-install grub2 please look at my 1st video and ask questions comment... steal this video if you like and say you made it...
just share the goodies and the information...... i dont ever care if you clame my exact video as your own :) :P.... just share the knogen hahahahaha :)
bye and stay safe and use a condom :)
Ещё видео!