[ubuntu-uk] Grub Problem

Nigel Verity nigelverity at hotmail.com
Thu Sep 15 08:24:46 UTC 2011


Hi 
I'd be very grateful for a bit of advice regarding a Grub issue, please.
I have a dual boot desktop, running 10.04 LTS and Windows XP. I recently made the mistake of running a free Windows disk management tool in the XP partition which appeared to corrupt the MBR.
The result was that when I subsequently booted up I just got the "Grub Rescue" prompt. With a combination of research and trial-and-error I was able to get the PC to boot properly, with access to both Ubuntu and XP using the following commands at the "Grub Rescue" prompt:

	
	
	


set prefix=(hd0,5)/boot/grub



	set root=(hd0,5)



	insmod normal



	normal
While I could type this in with every boot, you will appreciate that it would be a bit of a pain. Could anybody suggest a way of saving these commands so that they run automatically, thereby restoring my machine fully back to normal?
Thanks.
Regards
Nige 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20110915/622005cc/attachment.html>


More information about the ubuntu-uk mailing list