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.

2

3 Answers 3

6

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

enter image description here

enter image description here

1
  • 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, 2012 at 4: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".

2
  • 1
    easyBCD only works with vista or later(because it uses bcd as boot config.) not with XP(becasue xp uses boot.ini) except you have installed vista or seven along side. May 28, 2012 at 2:12
  • It doesn't??? I never knew that. Thanks for pointing it out! May 28, 2012 at 2:18
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.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.