ntldr is missing vista ubuntu grub

After reinstalling my Windows Vista I had to recover Grub menu. I tried https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows and EasyBCD. It was not working. I downloaded Ubuntu 9.10 CD and boot it, hoping to do a grub-install. After reboot I got my Grub menu and when trying to boot Vista a “NTLDR is missing” error.

The solution that worked for me was to:


FIRST OF ALL:


Follow http://neosmart.net/wiki/display/EBCD/Recovering+the+Vista+Bootloader+from+the+DVD


SECOND OF ALL:


Follow https://wiki.ubuntu.com/Grub2#Recover%20Grub%202%20via%20LiveCD


And watch out for the menu.lst generated (/boot/grub/menu.lst), mine included thinks like:

title Ubuntu 9.10, kernel 2.6.31-14-generic
root 
kernel /boot/vmlinuz-2.6.3........
initrd /boot/initrd.img-2.6.3........
quiet

But it should be:

title Ubuntu 9.10, kernel 2.6.31-14-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.3.......
initrd /boot/initrd.img-2.6.3.....
quiet

It seams that update-grub when doing a chroot generated wrong partition numbers for grub. To be more specific it did not generate any partition pointers for the loader :) But after changing those everything works fine.

(hd0,4) is a grub partition number. if you don’t know how to find out what to type there study grub manual http://www.gnu.org/software/grub/manual/html_node/Naming-convention.html


Mine is:


hd - hard disk


0 - disk no. 1


4 - first extended partition


Posted by wojtek Wed, 11 Nov 2009 13:13:00 GMT




Comments

Leave a response

Leave a comment