As winlock spoiled GRUB?

Good day Habracha! The computer is two HDDs. One of them is installed with Ubuntu 9.10 and another Windows XP. The wind picked up Winlock, which did not allow GRUB to boot (have to be registered in the boot sector of the disk). I fixed Windows with Kaspersky Rescue Disk. The virus is gone, and GRUB started to load but the list of systems to boot, alas, does not appear. Just the words "GRUB _" and silence. He is now writing from the Live CD. How to spice up GRUB? Thank you all in advance.
October 8th 19 at 03:20
3 answers
October 8th 19 at 03:22
I guess you will have to deal with Rude. Here everything that was previously hidden from you in the config file, now you just have to drive teams :)
By the way, can help restore your rough with Liv-SD (not Windows, of course). Throw you its archival record:

When you reinstall Windows, or updates to strange, sometimes GRUB stops boot and needs an overhaul. Here's how:<br> -to boot with a LiveCD (KNOPPIX or other)<br> to execute commands:<br> sudo grub<br> find /boot/grub/stage1<br> the latter will show you which partitions grub setting for myself (i.e. partitions with Linux will show)<br> root (hd0,1)<br> to indicate that the found Linux partition<br> setup (hd0)<br> to install grub to MBR in the specified hard drive<br> quit
October 8th 19 at 03:24
At the time, very helpful article
October 8th 19 at 03:26
I'd start with which partition is bootable (bootable and has the label).
Another option that can help.
Boot from LiveCD, mount root partition, e.g. /mnt/sda. To mount /boot if it is in a separate section
Then:
mount-o bind /dev /mnt/sda/dev
mount-o bind /proc /mnt/sda/proc
chroot /mnt/sda
And then grub-install
Yes, I have long since fixed it =) the Question is already old! - vincent.Cruickshank commented on October 8th 19 at 03:29

Find more questions by tags virusesGRUBLinux