LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing the boot order after installing Ubuntu alongside Win 7 (https://www.linuxquestions.org/questions/linux-newbie-8/changing-the-boot-order-after-installing-ubuntu-alongside-win-7-a-4175485168/)

dglaesser 11-19-2013 01:48 PM

Changing the boot order after installing Ubuntu alongside Win 7
 
I've recently loaded Ubuntu alongside my Win 7 laptop in order to polish up on my unix command line skills to take the Linux + certification. I came across an article on how to change the default boot order for a dual boot system but cannot find it again....

Currently my machine boots Ubuntu by default unless I arrow down to the windows installation. What file do I need to edit to make Windows the default os?

Thanks

Dave G.

baldur_1 11-19-2013 01:52 PM

try this...

grub_config

schneidz 11-19-2013 01:55 PM

i would change the line that mentions default in the file: /boot/grub/grub.cfg.

yancek 11-19-2013 02:03 PM

Change the "GRUB_DEFAULT=0" line in the /etc/default/grub file and run sudo update-grub. You would need to know which menuentry windows is to get the correct number, counting starts with zero so the third menuentry you would put 2.

The above method will work as long as you don't update grub which will set it back to whatever is in the /etc/default/grub file.

jefro 11-19-2013 10:29 PM

Doesn't ubutu have a way to config grub from the window manager?

http://askubuntu.com/questions/10023...rub-boot-order


All times are GMT -5. The time now is 11:13 AM.