I am trying to change the boot order in Grub2 so when the selection screen comes up the first entry would be windows. I have read a lot about changing /etc/grub.d but nothing i've read has helped at all. Has anyone figured this out yet?
I am trying to change the boot order in Grub2 so when the selection screen comes up the first entry would be windows. I have read a lot about changing /etc/grub.d but nothing i've read has helped at all. Has anyone figured this out yet?
* That link does not actually explain how to re-order the menu entries, only how to change the default menu entry e.g. go to list item #4 by default. I haven't seen an explanation of how to change the order of the entries yet.
Personally, I would much rather change the menu order, with my default option on top, than tell grub to choose #4 or "Ubuntu 11.04 Natty Nautilus". It's a more natural convention and specifying a name or number seems like it would be prone to breaking if you ever added or deleted entries, or changed the names of the menu entries.
You can change the order as you want with the following package:
http://www.howtogeek.com/howto/43471...-the-easy-way/
okay, I am beyond a newbie in linux. I really need things dumbed right down. I managed to find this etc/default/grub file. When I click it to "edit" it, so the "default = 0", instead of 8 (I somehow managed to change this before), I can't because the file is read-only.
How do I edit the file?
I am logged in my administrator account. But I haven't gone to the terminal and logged in as "the root" or the "sudo" (i'm not even sure what those mean).
What do I do?? All the instructions on the internet presuppose that I know alot more than I do
easy way to get root permissions in the terminal would be:
sudo bash
and then enter your password.
But grub.cfg is not usually writable so you have to set write permissions on the file before editing it:
chmod +w /boot/grub/grub.cfg
Take those permissions away after editing with
chmod -w /boot/grub/grub.cfg
Last edited by 1kenthomas; March 1st, 2012 at 06:08 AM. Reason: add suggestion...
Yup! you sholdnt touch Grub.cfg file . For any kind of GRUB related operations you already have a software named as " Grub Customizer "
http://www.ubuntugeek.com/grub-custo...-settings.html
One more thing you shouldn't change permissions of Grub.cfg file .
if it is a deadly situation and no choice except editing the grub.cfg file , then you can edit as like this
But before editing anything , make sure 100% that you know what you're doing to GRUB .Code:sudo gedit /boot/grub/grub.cfg
Dont miss anything even it is small. one small pin is enough to bring down a man.
Bookmarks