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 |
Give the command to display space usage on the UNIX file system.
What is a pipe?
How do you use Unix for Backend Testing ?
What are the processes that are not bothered by the swapper? Give Reason.
What is Expansion swap?
What are the mount and unmount system calls?
What do you mean by nice value?
what happens when we create a file system?
What is Fork swap?
1 Answers Infosys, SSI Small Scale Industries,
What UNIX command will control the default file permissions when files are created?
virtual terminal protocol is an example of which layer and works with which layer?
What are the read or write or execute bits on a directory mean?