LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-25-2011, 07:40 PM   #1
lukoro
LQ Newbie
 
Registered: May 2011
Location: USA
Posts: 6

Rep: Reputation: Disabled
Question How to make Windows 7 start automatically with dual boot Fedora 14?


Sorry if the wording in the subject is hard to understand. OK, I have Windows 7 and Fedora 14 both on my laptop in dual boot configuration. When my computer starts up it shows a screen that says press any button to select another operating system to start, then I can make Windows 7 start. But after 2 seconds, if I DON'T press any button then Fedora starts automatically. How can I change this so Windows starts automatically when I don't press any button?

Thanks.

Last edited by lukoro; 05-25-2011 at 07:42 PM.
 
Old 05-25-2011, 07:53 PM   #2
Genocide_Hoax
Member
 
Registered: Apr 2011
Distribution: OpenSuse 12.3 , Slackware 13.1 ; Centos 6.2 ; Fedora 14
Posts: 90

Rep: Reputation: 8
Open your console, login as the root and open the file /boot/grub/menu.lst
using

Code:
vim /boot/grub/menu.lst
Press i to edit the text in it.

All you need to edit is default = 1 from default = 0 This should be in the third or fourth line of the file. And to save the fiole after that press esc , put a ':' n type wq.

And your desired change will be made.
 
1 members found this post helpful.
Old 05-25-2011, 08:05 PM   #3
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,102

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
I believe in Fedora, the file is grub.conf and menu.lst is just a link to grub.conf.
You would need to count the title entries and if windows is in fact the first entry, you would do as Genocide_Hoax describes. If it is not the first entry, you would need to put whatever number it is, remember that the count begins with zero (0) not one (1).
 
2 members found this post helpful.
Old 05-26-2011, 07:25 AM   #4
lukoro
LQ Newbie
 
Registered: May 2011
Location: USA
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks guys, I set it to 2 and now Windows 7 starts automatically. Thank you yancek for clearing it up for me.
 
Old 05-29-2011, 01:27 PM   #5
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,102

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
To change the default in Ubuntu the file is either /boot/grub/grub.cfg. At the top of this file, change set default to the number of your windows installation counting from zero (0).

Since you are not supposed to edit that file, you could also edit /etc/default/grub file and change the GRUB_DEFAULT= line to the correct number.

Also, from Ubuntu terminal, you could try running the commands: sudo os_prober (hit enter)
then run: sudo update_grub.
 
1 members found this post helpful.
  


Reply

Tags
boot, dual, dual boot, fedora, windows


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
[SOLVED] problem in booting windows 7 after installing fedora 11 while try to make dual boot crayxmp Linux - Newbie 16 02-23-2010 02:10 AM
How to make dual boot system with windows Xp and fedora 11. akram Linux - Newbie 2 01-23-2010 06:01 AM
Dual Boot Fedora Core 6 & XP, How can I make the MBR start XP first? mdorries Fedora 3 05-18-2007 11:38 AM
How can i make xfree86 start automatically at boot? KiLLaWaBBiT Linux - Software 1 04-07-2003 11:06 AM


All times are GMT -5. The time now is 11:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration