LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2013, 01:48 PM   #1
dglaesser
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 11-19-2013, 01:52 PM   #2
baldur_1
Member
 
Registered: Sep 2010
Posts: 133

Rep: Reputation: 13
try this...

grub_config
 
Old 11-19-2013, 01:55 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,120

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
i would change the line that mentions default in the file: /boot/grub/grub.cfg.
 
Old 11-19-2013, 02:03 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,264

Rep: Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358Reputation: 1358
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.
 
Old 11-19-2013, 10:29 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,481

Rep: Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412Reputation: 2412
Doesn't ubutu have a way to config grub from the window manager?

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"A disk read error occured" error for Win 7 boot after changing boot order in grub myrddin123 Linux - Newbie 2 10-31-2013 10:40 AM
I don't get the boot loader after installing ubuntu alongside windows 7 redguy Ubuntu 22 03-20-2012 10:00 AM
[SOLVED] I cant boot up my ubuntu 11.01 after installing win 7 ! Binyam Hailu Linux - Newbie 1 12-31-2011 02:36 AM
I can't uninstal Ubuntu 9.01 alongside Win XP plang53271 Linux - Newbie 8 04-30-2010 10:59 PM


All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration