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                                      
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to