By Rich Menga on Oct 22, 2008 in Linux, Operating Systems | comments(7)
For those of you out there that run a dual-boot system with Windows XP and Ubuntu, you’ve noticed that Ubuntu is the default OS that loads on each system startup. There is a way to change this so that XP is the default OS instead.
Full documentation:
https://help.ubuntu.com/community/GrubHowto/ChangeDefaultOS
What that documentation instructs you to do:
The boot order list is in a text file called menu.lst. You can edit this using a terminal text editor or by using gedit (a GUI-based text editor).
The OS choice in menu.lst is defined by the default line and title.
If for example the default num is set to 0 and you have the following in your grub.lst:
title Ubuntu, kernel 2.6.15-27-amd64-generic
...
title Ubuntu, memtest86+
...
title Other operating systems:
...
title Microsoft Windows XP Home
“0″ is representative of the first title (it starts from 0, not 1), so you would want the default num to be 4 to start Windows XP first.
For those asking “Um.. okay, so Other operating systems: is technically treated as an OS choice?” Yes it is. That’s the way it’s done in order to display it in the menu on boot.
On my personal system, Windows XP Professional is listed as title 6.
This may sound confusing but it isn’t. All you have to do is when counting the title entries, find the first one (which is 0) then count down until you find the Windows XP entry. Change default num to that number, save the file and reboot. If successful, XP will start first on boot.
By Rich Menga on Oct 3, 2008 in Operating Systems, Optimization, Software | comments(1)
There are utilities like the freeware CCleaner software that can easily let you list and modify auto-run programs from the Windows XP system registry like this:
Above: In CCleaner, click Tools (large icon on left) then Startup (white button in middle column) to see this list.
However if you’re the type that would rather do this the "old fashioned way", you can get to this information and get the same editing ability by using the tried-and-true registry editor.
You can get to the registry editor in one of two ways.
- Click Start / Run / type regedit / click OK.
- Right click on a blank area of the desktop, click New from the context menu that appears, click Shortcut, type regedit in the dialog box that appears (no need to click Browse), click Next, click Finish. This will place a regedit icon on your desktop that you can double-click to launch the Registry Editor.
Inside the registry editor you have to expand some folders - in a specific order - to get to the "run" list.
The order is as follows:
It should look something like this when you’re done:

From here you have the same modify/delete ability as you do with CCleaner, except using the built-in registry editor instead.
IMPORANT NOTE: Messing around with the Windows registry can seriously screw up your Windows installation if done wrong.
It is highly suggested to BACKUP your registry first. This is done easily via the registry editor by simply clicking File then Export. Do this before making any registry changes. Make sure when exporting your "Export Range" is ticked as "All".
Like this (see bottom left):
Didn’t find what you were looking for in Run?
Maybe it’s not there. Maybe it’s in the Start menu’s "Startup" folder instead.
Click Start, All Programs, Startup and check that menu. You can remove any menu entry there by simply right-clicking on it and left-clicking Delete.
If you delete something on a goof, don’t worry because it’s in the Recycle Bin where you can put it back in case you make a mistake.
Just remember there is no Recycle Bin ability with the registry editor. Your only means of restoring something you deleted is by importing a .reg file you exported as explained above.