How to set Windows 7 as default boot OS in dual-boot?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MaCherie

How to set Windows 7 as default boot OS in dual-boot?

Post by MaCherie »

Is there a way to set the default boot OS to Windows 7 instead of Linux Mint? Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mmesantos1

Re: How to set Windows 7 as default boot OS in dual-boot?

Post by mmesantos1 »

MaCherie wrote:Is there a way to set the default boot OS to Windows 7 instead of Linux Mint? Thanks!

Here is the steps I found for doing what you requested.
A lot has changed for Grub with version 2.0 (Ubuntu 9.10, 10.04 etc.), so if your Linux installation is using grub 2.0 then this is trick should work for you.

With Grub 2 you can no longer edit grub.conf or menu.lst files located in /boot/grub folder. The file to be edited is now “grub” located in /etc/default/ folder, you can edit it by running the following command from terminal (sudo gedit /etc/default/grub). The contents would look like this:

If you change this file, run ‘update-grub’ afterwards to update
# /boot/grub/grub.cfg.

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=”"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo’
#GRUB_GFXMODE=640×480

# Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY=”true”

To change the default boot option, you just need to change the GRUB_DEFAULT parameter. 0 is the first entry, so if you want windows to be your default boot option which is, say at, 6th position in the grub menu, then you just need to change the GRUB_DEFAULT value to 5 and save the file and close it. If you want to change the Auto Boot preset time then you would need to change the value of GRUB_TIMEOUT parameter, it should be assigned a value in seconds and would determine the delay in seconds before grub boots the default choice, automatically. Now from the terminal run following command and your grub default boot order would be changed when you boot the next time:
Original Link: http://www.hackourlives.com/change-defa ... -04-lucid/
dawgdoc

Re: How to set Windows 7 as default boot OS in dual-boot?

Post by dawgdoc »

The answer in this post should work for you.

This post has links to two Grub2 tutorials, which have links to further resources.
rykel98

Re: How to set Windows 7 as default boot OS in dual-boot?

Post by rykel98 »

Hi guys, in Ubuntu, there is some GUI to set the default OS in GRUB... is the app available in Linux Mint 10 too? I think it is daunting for newbies who chose Linux Mint because of its user-friendliness to suddenly much around with root passwords and editing grub config files.

UPDATE: I just found it. Go to STARTUP MANAGER. It is in Linux Mint 10 already. :D
Locked

Return to “Installation & Boot”