6

I have both Windows XP and Ubuntu installed.
I want to set Ubuntu as my default system when boot the machine.
I don't want to press Down+Enter every time.

I am using Wubi.


Original boot.ini:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\wubildr.mbr = "Ubuntu"

Modified boot.ini:

[boot loader]
timeout=30
default=C:\wubildr.mbr
[operating systems]
C:\wubildr.mbr = "Ubuntu"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

But nothing changed.

kev
  • 843

3 Answers3

6

Click setting and select wubi as default operating system from drop-down menu. Click OK.

enter image description here

enter image description here

kev
  • 843
Serious
  • 176
  • 2
    Warning: do not set the Time to display operating systems to zero when Ubuntu is the default OS. This will prevent Windows from booting. It can be easily fixed for Windows XP, but not on Windows Vista and 7 which requires a Windows repair CD. The minimum for the timeout should be 10 as even small numbers > 0 can cause problems. – bcbc May 28 '12 at 04:12
4

Assuming that you are using Wubi (saw boot.ini).

Use EasyBCD. It's a free program to modify the Windows Bootloader.

After you installed it, open it and go to the Edit boot menu Section.

Then tick the box beside the Ubuntu Entry under "Default".

Eliah Kagan
  • 117,780
0

You have to edit the grub.cfg file.

In the Terminal:

sudo gedit /boot/grub/grub.cfg

You can change the set default="0" line. 0 is the first OS, 1 the second, and so forth.

Or you can change the menu entries.

When your system updates the kernel, you'll lose this GRUB configuration change and have to do it again.

Eliah Kagan
  • 117,780