can't boot win xp after upgrading 9.1 to 10.04

looked at several forums, but got no solution thus far.
After I did the upgrade from Ubuntu 9.10 to the 10.04 version, grub lists, but won't load windows xp any more - nothing, just a flashing underscore. It also lost the DHCP connection). It also forced the suse boot to safe mode. I have an Unbuntu 9.1 CD, but that's useless now, of course won't work with the repair-install option. The windows partition is all there and readable, so I backed it all up [XP repair disk won't work after the SP2 upgrade, another, even more lengthy process to go around]
I saw other posts having similar problems, obviously I should have not upgraded directly.
The problem seems trivial, but, for a few years now, I used suse and now Ubuntu only as a "user" for everything, except certain programs, that are not running in Linux, so I am not an expert. I can follow simple instructions for the terminal - sudo, etc. but not too much sophisticated 'stuff' (I promise, I will check my local college for a suitable Linux class for this fall semester, they did not have one last year).
Could someone point me in a proper direction, where I can find solutions to those problems - or at least boot XP again (my wife does not do Linux and we now tear the laptop apart)?
Thanks

Same issue

I was having the same issue. It appears that the links used in Grub get damaged when moving to Grub2 in 10.04. Try the following and see if it works.

Open a terminal window and type the following.

sudo update-initramfs -u -k all
sudo update-grub

Once you do, restart your computer and if it is a Grub2 menu issue, it should be fixed.

no win xp boot

followed your instructions, but no go thus far.
Thanks, anyway,
I am downloading the win xp sp2 recue cd, will see if that repairs it.
cheers, GRW

solution

Hi,

I have not upgraded to 10.04 but i faced the problem when i upgraded grub.

here are some tips which i hope they will work in 10.04. It worked in 9.1 karmic koala

This works if you have installed win XP first, then ubuntu and later upgraded the grub. Ubuntu works but when you select XP grub says

"no such signature
press any key to continue"

open grub2 via gedit - sudo gedit /boot/grub/grub.cfg

(if you cannot edit, try this

in the terminal i.e. applications --> accessories --> terminal

type (or copy paste --> right click menu works or do ctrl +shift + v )

ls -l /boot/grub/grub.cfg

if you see

-r--r--r--

It is read only. Every time Grub2 updates the file it changes its permissions into read only.

Type

sudo chmod 644 /boot/grub/grub.cfg

which changes the permissions to

-rw-r--r--r--

now type

sudo gedit /boot/grub/grub.cfg

)

just add this line at the bottom

--------------

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (loader) (on /dev/sda1)" {
set root=(hd0,1)
chainloader +1
}

--------------

if you want to make XP as default OS to boot then

Copy the above lines to the top e.g. - in bold

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (loader) (on /dev/sda1)" {
set root=(hd0,1)
chainloader +1
}

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-22-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
linux /boot/vmlinuz-2.6.31-22-generic root=/dev/sdb9 ro quiet splash
initrd /boot/initrd.img-2.6.31-22-generic
}

Tip:

you can change title in the quotes i.e. "Microsoft Windows XP Professional (loader) (on /dev/sda1)" to anything you like, but let it be sensible

source:
http://ubuntuforums.org/showthread.php?t=1200600