How to set Windows as Default OS when Dual Booting Ubuntu?
Answer / 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 |
What is the main advantage of creating links to a file instead of copies of the file?
How do you use Unix for Backend Testing ?
How do you execute a UNIX command in the background?
If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?
how to check GDE,EME,Java,Oracle9i Enterprise Edition Release versions Versions on unix system
How do you log in to a remote Unix box?
What is a level 0 backup?
Name key files or directories on a Windows system that should always be backed up?
how can we create the script in crontab at mid night on sunday,satuarday,fiday 0n monyh october,november,january? please give me answer if anybody knows ? because on important purpose.
How would you change all occurrences of a value using VI?
What is ant_build.sh? Have u seen that file?
differentiate between named & unnamed pipe.
11 Answers Cisco, IIT, ISEC,