How to make Windows XP default boot on a dual boot laptop
This thread belongs to

2009-04-14 22:12 GMT   |   #1
This is a dual boot laptop for my spouse, running XP and Linux as a
dual boot. Grub is the bootloader that chains into XP.

My question is how to make XP the default choice safely, friendly to
update-grub command and having multiple kernels. My wife will mostly
use XP, I am surem although she is familiar with linux.

Use of directive "default <number>" does not seem to be robust due to
changing numbers.

Any recommendations?
2009-04-14 22:12 GMT   |   #2
What does this refer to - I don't understand that sentence.
Are you referring to menu.lst?
2009-04-15 00:50 GMT   |   #3
Yes, I am referring to /boot/grub/menu.lst.

I want to know how to designate XP to be default boot choice, safely
and robustly regarding of the number of things in the menu.
2009-04-15 05:20 GMT   |   #4
You can use "StartUp Manager". It's in the repos and allows you to
choose wich OS will boot by default.
HTH and YMMV Smile
2009-04-15 07:04 GMT   |   #5
Read about "savedefault" usage in Grub. Lets you 'stay' in a single O/S until
you catch the Grub boot screen and switch to another.

Also read about "howmany" (I had 1 Ubuntu come up as "all")., to keep the list
down to a small roar.

Last (for me) "updatedefaultentry". This may be all that is really needed to
keep XPee (or any other item) as default. The good is when you load a new
kernel, the system will re-boot using that (if you used savedefault also).
2009-04-15 07:20 GMT   |   #6
Is there a reason why you cannot put Micro$oft Windoze XP as the first
boot item in menu.list and set default to 0?

It is usual to put the default in the first position.

And why are you putting multiple other kernels on your wife's laptop?
2009-04-15 09:20 GMT   |   #7
Make it the first choice in the list, and set the default to 0, doofus.

2009-04-15 09:24 GMT   |   #8
I am not aware whether update-grub rearranges things, but yes, putting
XP first would work if update-grub does not mess up the order.

As for multiple other kernels, they appear due to system updates of
2009-04-15 09:24 GMT   |   #9
Dan C: Great idea. Thanks
2009-04-15 10:07 GMT   |   #10
And why are you putting multiple other kernels on your wife's laptop?

Many Linux distros do this as part of the update process.

1 2nextlast