I had my laptop's HDD separated in 3 partitions:
NTFS
- Win XP install (primary)NTFS
- common space (extended)ext4
- Ubuntu 10.10 (extended)
Running out of space, I deleted my 2nd partition, and formated it to ext4
, planning to merge it to my 3rd partition.
The problem is that after restart I realized that grub was installed on partition #2.
Using grub (GNU GRUB 0.97)
an Ubuntu 11.04 live CD, I tried:
grub> root (hd0,4)
grub> setup (hd0,4)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
grub>
Also, for setup (hd0)
I get the same result.
Right now I have:
/dev/sda1
aka(hd0,0)
- Win XP (NTFS)/dev/sda7
aka(hd0,6)
- the free space (ext4)/dev/sda5
aka(hd0,4)
- my previous install of Ubuntu (ext4)
How can I repair it?