So from the above solutions I take that in my case I need to restore the boot menu but I have a working and configured ubuntu 10.10 and a working winXP also. What I need is to restore the grub boot menu without reinstalling the ubuntu.
And I have done the below things:
Loaded the Live CD
Installed Grub package on the live session
This is the output of the geometry (HD0) command:
grub> geometry (HD0)
Code:
drive 0x80: C/H/S = 60801/255/63, The number of sectors = 976773168, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0xde
Partition num: 1, Filesystem type unknown, partition type 0x7
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type unknown, partition type 0x82
And also that my valid ubuntu is on partition number 4, the other ubuntu was effectively erased.
After that I run:
Then:
Code:
grub> setup (HD0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
And now it is working well.
Bookmarks