CJS
the bootloader is still the windows bootloader that is linked at mbr. I believe the original question is up to bmosov01...to answer....but he may need to read how to use a rescue cd first...and howto fixmbr for windows in case he puts grub into mbr.
bmosov01
forgive me for any pressure you may feel but here are the 2 alternatives for you
bios jumps to mbr to find bootable partition ->
either windows or linux is linked to mbr but not both
a)
install grub to mbr
boot live cd
Code:
su
root (hd0,1)
setup (hd0)
quit
you MUST see a end line that says succeeded...meaning mbr has a stage1 grub file that is linked to jump to balance of booting files at sda2....grub counts from zero
reboot computer
------------------
since I can not easily explain that non-visually let revisit your linux entry
-----------------
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 7ef466f2-9561-4b3f-9391-a2ed54e387de
kernel /vmlinuz-2.6.27-7-generic root=UUID=ba79e001-bf29-43d1-9a69-50aae1d475ed ro quiet splash
initrd /initrd.img-2.6.27-7-generic
quiet
----------------------------------------------------
The uuid entries must match the other entries you have posted for UUID
----------------------------------
and your uuid entry shows
/dev/sda2: UUID="7ef466f2-9561-4b3f-9391-a2ed54e387de" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: UUID="ba79e001-bf29-43d1-9a69-50aae1d475ed" SEC_TYPE="ext2" TYPE="ext3"
so the first mention of UUID takes grub to a partition called sda2 and that is correct
the second mention of UUID says root = (sda5) and that appears to be correct.
As you have a separate /boot partition to / partition.
Please report if you remember not doing this?
SO altho I do not like Ubuntu...etc...this entry may work as is.
b) but typical of ubuntu they have made the chainloader command section too messy
here it again.
----------------------------
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows NT/2000/XP
root (hd0,1)
savedefault
chainloader +1
-------------------------------------------
Can I ask that when you reboot...boot into linux first then get root powers and delete those lines called
savedefault
what savedefault does is ...treat you like an idiot....and so when you boot into sda1.....it makes that the new default for all new reboots...and we would like you to learn more about linux!!
SECOND whine is ubuntu has stuffed up and decided to create an sda2 entry for windows not realising its a linux partition..so delete that entry please
b)
This option is if you decide not to put grub into mbr but chainload it from windows
1) redo grub for its root=boot partition
boot live cd
Code:
su
root (hd0,1)
setup (hd0,1)
quit
last line must say succeeded to hd0,1
2) then follow the steps in my signature to take a image of that new (almost mbr like part of /boot partition.....
reboot to windows and edit your bootloader to chainload it