I have an HP Pavilion dv 9543 cl. I decided that I wanted to update Win Vista to Win 8 several years ago, but did not know how to remove grub 2, so I naively decided to simply remove the Ubuntu partition and assumed I would be able to recover function of the Master Boot function. My shortsighted approach has left my laptop in limbo. When I attempt to start my computer it says:
error: no such partition
Entering rescue mode....
grub rescue>
I have tried the suggestion here, however I am unable to enter the following command:
grub rescue > ls
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)
grub rescue > ls (hd0,msdos1) # try to recognize which partition is this
grub rescue > ls (hd0,msdos2) # let's assume this is the linux partition
grub rescue > set root=(hd0,msdos2)
grub rescue > set prefix=(hd0,msdos2)/boot/grub # or wherever grub is installed
grub rescue > insmod normal # if this produced an error, reset root and prefix to something else ..
grub rescue > normal
One question is where does the grub 2 remnant, which is interfering with the recovery of the original Disk 0 and 1 assignments, reside? Is it feasible to search and delete that code? Is there an alternative approach such as physical removal of the second hard drive (Disk 1 which became Disk 0)? Should the CMOS on the motherboard be replaced?