Dual boot with windows/mnt

Questions and thoughts about present and future editions
Forum rules
Before you post please read this
dfledford
Level 1
Level 1
Posts: 2
Joined: Tue Jul 30, 2013 10:23 pm

Dual boot with windows/mnt

Postby dfledford » Tue Jul 30, 2013 11:16 pm

I'm fairly new to Linux Mint and I would like to know how to change the boot order when my computer comes up so that I can have Windows 7 as default. This will be easier for my wife just to hit enter for windows.
Thanks for your help.

User avatar
Aging Technogeek
Level 13
Level 13
Posts: 4583
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Dual boot with windows/mnt

Postby Aging Technogeek » Wed Jul 31, 2013 12:07 am

Open a terminal and enter

Code: Select all

gksu gedit /etc/default/grub


Enter yuor password when it is requested and a window should open that looks like this

Code: Select all

# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""


The important line here is "GRUB DEFAULT". You must change the "0" to the proper number for Windows. Tofind this number, press any key when th grub boot menu s on screen (stops timer). Starting with the first entry (Mint)count down to the Windows entry. Start counting with 0 rather than 1 (This is the way grub counts) and count every line, even those not referring to an OS directly (I believe there is a line "Other Operating Systems" after the last Mint entry. (Count this line). Close the Window when all changes are made and saved

Change the grub default from 0 to the number for Windows, click "Save"in the toolbar at the top, and Windows will be the new default boot. It will not change position in the menu, but it will be highlighted and will boot automatically if no other choice is made during the time out interval (or if enter is pressed without selecting an OS)

You can also change the timeout interval by changing "GRUB TIMEOUT" from 10 to any value down to 0. Again, click "Save" to change the setting permanently.
Registered Linux User 483387

wayne128
Level 10
Level 10
Posts: 3412
Joined: Tue Jul 13, 2010 12:15 am

Re: Dual boot with windows/mnt

Postby wayne128 » Wed Jul 31, 2013 12:18 am

in addition from ag's post above, after changing /etc/default/grub and save the file, on terminal, you need to do this :

sudo update-grub

User avatar
Aging Technogeek
Level 13
Level 13
Posts: 4583
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: Dual boot with windows/mnt

Postby Aging Technogeek » Wed Jul 31, 2013 9:02 am

Thanks wayne128.

I usually forget to do this when I change grub. Stands to reason that I would forget to mention it in a how-to.
Registered Linux User 483387


Return to “About Mint Editions”

Who is online

Users browsing this forum: No registered users and 1 guest