LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-12-2011, 02:36 PM   #1
moonmoth
Member
 
Registered: Nov 2004
Location: Tallahassee, FL
Distribution: Fedora Core 15
Posts: 95

Rep: Reputation: 17
Making windows7 default boot


I have a dual-boot system, with Windows 7 and Fedora 15. I would like for Windows 7 to be the default boot, and I thought that I knew how to do that. But apparently I do not. I have the default as 1, and Windows 7 is the first title. But it still boots up Fedora 15 if I just let it time out. Here is my /etc/grub.conf file:


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=60
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Windows7
rootnoverify (hd0,1)
chainloader +1
title GNU GRUB 2, (1.98)
kernel /grub2/core.img
title Fedora (2.6.38.8-32.fc15.i686.PAE)
root (hd0,4)
kernel /vmlinuz-2.6.38.8-32.fc15.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.38.8-32.fc15.i686.PAE.img
title Fedora (2.6.35.13-92.fc14.i686.PAE)
root (hd0,4)
kernel /vmlinuz-2.6.35.13-92.fc14.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.35.13-92.fc14.i686.PAE.img
title Fedora (2.6.34.9-69.fc13.i686.PAE)
root (hd0,4)
kernel /vmlinuz-2.6.34.9-69.fc13.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.34.9-69.fc13.i686.PAE.img
 
Old 07-12-2011, 02:46 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
They are numbered starting from 0. default 0 will boot Windows.
 
Old 07-12-2011, 03:04 PM   #3
moonmoth
Member
 
Registered: Nov 2004
Location: Tallahassee, FL
Distribution: Fedora Core 15
Posts: 95

Original Poster
Rep: Reputation: 17
Yup, that works. For some weird reason I thought they started with 1. Guess that is what I get for thinking. :-)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple-Boot Partitioning Help (SnowLeo/Windows7/Ubuntu) JPsHwayZe Linux - Newbie 7 01-27-2011 02:34 AM
How do I configure GRUB to boot Windows7 and Linux? bptknx Linux - Laptop and Netbook 7 01-25-2011 06:28 PM
trying to uninstall debian5 or dual boot with windows7 one2know Linux - Software 2 08-26-2010 03:08 PM
New windows7 netbook, how to set up dual boot? sls54 Linux - Newbie 16 08-09-2010 11:02 PM
dual boot problem: windows7 and ubuntu baxzius Linux - Newbie 2 02-03-2010 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:03 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
Open Source Consulting | Domain Registration