[ubuntu-uk] Grub Problem

2011-09-15 Thread Nigel Verity

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/


Re: [ubuntu-uk] Grub Problem

2011-09-15 Thread Alan Pope
On 15 September 2011 09:24, Nigel Verity nigelver...@hotmail.com wrote:
 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?


Boot to Ubuntu using those command and then issue:-

sudo grub-install /dev/sda

It will find all installed OS's and make the menu, and install back on the MBR.

Cheers,
Al.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Grub Problem

2011-09-15 Thread Tobias Quinn

On 15/09/11 09:30, Alan Pope wrote:

On 15 September 2011 09:24, Nigel Veritynigelver...@hotmail.com  wrote:

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?


Boot to Ubuntu using those command and then issue:-

sudo grub-install /dev/sda

It will find all installed OS's and make the menu, and install back on the MBR.

Cheers,
Al.


I'd also run a:

sudo update-grub

to force a refresh of the boot menu as well...

-Tobias

--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] FLOSSUK Unconference, Manchester, 8th October.

2011-09-15 Thread Martin Houston

You can find details here: http://www.flossuk.org/Events/Unconference2011

* Its on a Saturday so no need to use up holiday/convince your boss
* Its in Manchester so reasonably easy to get to.
* Its free of charge.

--
*Deluxe Technology Ltd*
/Linux Consultant/
mhous...@deluxe-tech.co.uk mailto:mhous...@deluxe-tech.co.uk
http://www.deluxe-tech.co.uk
Mob: 07970 850961

--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/