after re-installaing windows, dual boot problem

Asked by Alee Abid

I had windows XP installed in My PC and was working fine. After sometime I installed Ubuntu 9.10 as Dual Boot, and both OS were working fine together. Yesterday i tried to re-install fresh windows, as few windows applications were corrupted with some viruses.
Everything during installation went on normal, but when it restarted, it shows me the option screen that whihc OS i want to boot. I select windows XP, so it gives me 'error: no such device: 7cd87047d87001a6'.
I can login to Ubuntu and it works fine, but I can't boot windows. I tried deplyoment again windows image, but same problem.

Waiting for the reply.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

Unfortunately, I'm not currently under Ubuntu, and can't check command.
Run command
    sudo blkid
and check if Windows disk UUID is which one in /boot/grub/config.cfg.
Else post both of them.

Revision history for this message
Alee Abid (aliabid71) said :
#2

For Your Information
sudo blkid
/dev/sda1: UUID="BC903577903538EA" LABEL="System" TYPE="ntfs"
/dev/sda5: UUID="08C4C6A5C4C693FA" TYPE="ntfs"
/dev/sda6: UUID="A8545F7B545F4AE8" TYPE="ntfs"
/dev/sda7: UUID="8c3ddf26-1bad-4942-8c08-671cbacd746a" TYPE="ext3"
/dev/sda8: UUID="c1bb5492-6ac2-4726-8ec7-9295521c3b40" TYPE="swap"
/dev/sda9: UUID="e3b95dd1-2f7b-4589-bd7c-060b2a0af75d" TYPE="ext3"

Now what should i do

Revision history for this message
Best delance (olivier-delance) said :
#3

You have no partition with UUID "7cd87047d87001a6".
When you installed Windows again, UUID of partition has changed.
Do
    sudo update-grub
Grub installer will search again all operating systems on your computer, and update file /boot/grub/config.cfg

Revision history for this message
Alee Abid (aliabid71) said :
#4

Thanks delance, that solved my question.