How to set Windows as Default OS when Dual Booting Ubuntu?

Answer Posted / amitshiknis

Command is - sudo gedit /boot/grub/menu.lst

This is show output as -
## default num
# Set the default entry to the entry number NUM. Numbering
starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case,
the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry
to 'saved' or your
# array will desync and will not let you boot your system.
default 0

The important line is the last one. You will need to change
that number 0 to match the Windows boot section. Typically
it's always going to be 4 on a default dual-boot
configuration. Change this value to 4, and then save and
reboot your machine. You should go into Windows instead of
Ubuntu automatically.

Thanks,
Amit Shiknis

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is YACC?

861


In detail elaborate the system? What is driver?

1869


. Using sed and grep, write a command which lists files and directories with following properties: (i) created in 1999 (ii) with user's as owner and group

2390


i am prepairing for 2+ yrs exp in oracle/unix production support,can u tell me which type issue comes in server plz help

6829


What is ant_build.sh? Have u seen that file?

2040


What are the events done by the Kernel after a process is being swapped out from the main memory?

2250


What are the main differences between Apache 1.x and 2.x?

7917


what is difference between milestone and run-levels in Solaris ?

2790


If Media Server fails. What are the steps to be followed? Can anyone please reply for this question Thanks, Ganesh

2765


I am new to Unix and Unix Shell scripting could you guide me on how to go about these subjects and where to start from with concern to Oracle?. I also would like to know where does UNIX shell Scripting help in terms of development of a application in Oracle? I have no clue in the subject so do help me. Thank You Neelima

2490


Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?

2353


what is output mkvg pvname

1912


what is the time for incident, problem and change management tickets?

2660


Explain about Inodes?

850


win 3.1 is a

873