Linux Guides

October 23, 2011

How to change the boot order of a dual-boot Linux PC

images

Linux is a great operating system, but it can be hard to completely switch over. For this reason, many people prefer to dual-boot Linux with Windows.  The Linux boot loader though (called Grub), usually defaults to booting Linux.  If you’d prefer to have Windows boot up by default, here’s how to change it:

Note: The Linux distro we’re using for this How To is Ubuntu.

 

Graphical method

If you’re not quite comfortable with the command line yet or just prefer the pretty graphical interface, this is the method for you.

Step 1: We need to install a program called startupmanager by opening the Ubuntu Software Center and installing “startupmanager.”

Startupmanager install (Credit: Screenshot by Ed Rhee)

Step 2: After you’ve finished installing startupmanager, launch it and enter your user password at the prompt.

Step 3: In the Boot options tab, click on the drop-down menu under Default operating system, then select Windows as your default operating system.

Startupmanager default OS (Credit: Screenshot by Ed Rhee)

Step 4: When you’re finished, click the Close button and you’ll see startupmanager finalize the settings.

Startupmanager finalizing (Credit: Screenshot by Ed Rhee)

 

Command line method

If you’re comfortable with the command line or prefer it, use this method. Just make sure you’re also comfortable using a text editor like vi.

Step 1: Open up a terminal window (CTRL+ALT+T).

Step 2: Find the Windows entry number in the boot loader.

Type command:

cat /boot/grub/grub.cfg | grep menuentry

In the screenshot below, you’ll see that “Windows 7…” is the fifth entry, but since entries start at 0, the actual entry number is 4.

Get menuentry (Credit: Screenshot by Ed Rhee)

Step 3: Edit /etc/default/grub

Type command:

sudo vi /etc/default/grub

Change the GRUB_DEFAULT from 0 to 4, then save the file.

Edit grub (Credit: Screenshot by Ed Rhee)

Step 4: Update the changes into the boot loader.

Type command:

sudo update-grub

That’s it. Now you know how to change the boot order of a Linux dual-boot system. If you’d like to see more Linux-related How To articles, let us know in the comments below.



About the Author

GuideBank
GuideBank is your dedicated source for all IT related guides that will save your life one day. We always provide unique and efficient guides. If you have any recommendations about this guide please send us an email at info@guidebank.com




 
 

 
İçerik

How Diablo 2 Items Work

Numerous games are available online that you enjoy and lots of people make it favorite. But none can provide the same replay value and enjoyment as Diablo 2. Others have some their good points; however not all have enough to ma...
by GuideBank
3

 
 
images

Security shield virus protects your computer

how security sheild can help At the moment most people works on the computer. Should it be a desktop, laptop, netbook, tablet PC or just a smartphone. Computers are used in nearly every business and industry. Irrespective of wh...
by GuideBank
4

 
 
images

Canon EOS Rebel T3 12.2 MP CMOS Digital SLR

For my money, the Canon EOS Rebel T3 is probably one of the finest digital single lens reflex (DSLR) available in the under US $500 class. The Canon EOS Rebel T3 is a fine digital single lens reflex (DSLR) available in the unde...
by GuideBank
2

 

 
images

Pros and Cons of doing your Christmas Shopping Online

Online shopping is becoming more and more popular and the numbersshopping online looks set to reach new height this Christmas. What are the prosand cons of doing your Christmas shopping online? Online shopping is becoming more ...
by GuideBank
4

 
 
images

Where And How To Find Quality Web Traffic

Internet marketers focus on the quality of the web traffic and not on the quantity of web traffic. While we may insist that the law of averages works pretty well in our business, it is still our primordial concern that we chann...
by GuideBank
4

 
 
images

How to Avert Credit Card Fraud With A BIN Checker

The bank identification number, which is more commonly known as BIN in business circles, is the shorter version of the issuer identification number or IIN of credit cards. This number series provides the link to an important se...
by GuideBank
1

 

 
images

Add appointments to your Android’s lock screen

Now you can add calendar appointments to the screen you see most often on your Android. The calendar widget is fairly useful, but it takes up a considerable amount of screen real estate. For this reason, it often lands on the s...
by GuideBank
0

 
 
images

The best sites to track Black Friday deals

Are you ready? Black Friday 2011, the day that U.S. retailers and thrifty consumers have been waiting for all year, is just two weeks away. Whether you’re looking for a $2 toaster or a $200 laptop, you’re going to n...
by GuideBank
1

 
 
Icon-Gmail

Eleven awesome Gmail Labs features

Gmail isn’t just cool because it’s part of the Google family of services, it also has many extra features created by independent developers. These features are available to you at no additional cost by enabling them...
by GuideBank
0

 




0 Comments


Be the first to comment!


Leave a Reply

Your email address will not be published.

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>