GRUB 1 is not used for GRUB boot in Ubuntu 9.10. GRUB 2 (beta version) is used instead ). After Windows is reinstalled, the original Live CD method cannot be used for restoration.
If you have a tool disk that has been started by GRUB, use the tool disk to start it. Press c on the GRUB menu to enter the command line status. At the GRUB> prompt, enter
Grub> find/boot/grub/core. img (find/grub/core. img for/boot partitions) (hdx, y) (display the found Partition Number)
Grub> root (hdx, y)
Grub> kernel/boot/grub/core. img (/kernel/grub/core. img for the boot partition)
Grub> boot
After running the boot command, you can go to the GRUB 2 menu, start Ubuntu, and then run
Sudo grub-install/dev/sda (or sdb, sdc, etc., depending on the number of hard disks) to repair GRUB.
Note: If the Ubuntu boot partition uses the ext4 format, you must have grub that supports the ext4 format to fix it.