Simple clear advice in plain English

Install Linux and set Windows as default

Make Windows the first option when your PC starts up

q-a-logo

Q I have installed Ubuntu from the Ultimate Guide to Linux cover disc but want to have Windows set as the default option in the list that appears when the computer starts.
Steve Ost

A This is a relatively simple change to make. Start Ubuntu as normal. Click on Applications, Accessories and then Terminal. Type sudo gedit /boot/grub/menu.lst

This will load a text editor with the settings used to set up the menu. If you read it carefully there are plenty of instructions included in the text. Any line beginning with a # is meant for human consumption. The top option, default, is selected when the menu appears.

It starts counting from 0 not 1 in the list that starts after the line ## ## End Default Options ## ## . Count the number of lines starting with title (including the one title Other operating systems: ) and replace 0 with this number. It will probably be the fifth option, so replace 0 with 4. The timeout setting is the number of seconds that the menu will wait for you to press a key.

Alternatively cut and paste the text from title Microsoft Windows XP Home Edition to make active to just below the heading ##End Default Options##. This will make Windows the first option and leave that as the default. Be careful not to change any other text or the gboot menu may not work properly.

Article tags

Reader Comments

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

Blog illustration

Create a Wordpress blog

Blogs are a great way to share news and opinions online. In the first article in our two-part series, we show you how to set one up and update it

Portable hard disk

Are you running short of storage space on your hard disk?

We explain the difference between internal and external storage and show you how to keep your data safe and organised by partitioning your hard disk

PC illustration

Build your own PC and save money

Do you need a new PC but can't afford shop prices in today's economic climate? We show you how to build a fast PC for just £150

Question & Answer

Q.Why are some of the keys on my keyboard doing strange...

> Read the answer

Q.Is my phone’s Bluetooth any use?

> Read the answer

Q.Can I switch boot drives so that I can work on older...

> Read the answer

Best deals on the web

img

Samsung RV520-A07

£359.98- Buy it now

img

Acer Aspire 5750G (LX.RXP02.019)

£399.99- Buy it now

img

Apple MacBook Pro (MD313B/A)

£904.37- Buy it now

Latest issue & subscription deals

Poll

Are you concerned about viruses that target mobile phones?

Jargon Buster

Computing terms explained in plain English

CAD

Computer Aided Design. Software used to create 3D models.

Great shopping deals from Computeractive