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



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

Post New Answer

More Unix AllOther Interview Questions

What is FTP?

5 Answers   BMC,


what is output mkvg pvname

0 Answers  


HOW DO CREATE A NFS FILE SYSTEM

4 Answers   Mind Tree,


In this command sqlplus -s username/password what is -S and what's the use..???

1 Answers   TCS,


Have you used VI editor?

1 Answers   BMC,






how to raise a suncase?pls explain step by step?

0 Answers   CGI,


What is the job responsibility of a System Administrator (UNIX/LINUX),briefly describe (Also point out system admin's daily job details),specify job type & job description?

2 Answers   HP, ICS Integrated Computer Solutions, TCS,


in unix how to change old name to new name

5 Answers  


How to remove weird filenames?

1 Answers  


Which is the most commonly used replacement algorithm?

0 Answers   Aditi Placement Service,


how can you say that unix operating system provides more security than other operating systems.

1 Answers  


How do you create special files like named pipes and device files?

1 Answers   Wipro,


Categories