Automatic recover Grub

SteVe Cook yorvik.ubunto at googlemail.com
Tue Jun 19 15:49:28 UTC 2007


Carsten Aulbert (list) wrote:
> 
> SteVe Cook wrote:
>> Somebody I know is assessing ubuntu for his business and so far is quite 
>> satisfied.
>> Until today.  He's managed to foul up the boot process after deleting a 
>> partition and resizing another.  We've managed to rescue the system with 
>> a lot of manual fiddle about.
>> Is there an automated way for reconstructing the menu.lst
> 
> In principal all you need to have is a backup of the /bot/grub directory
> and call update-grub. That should cure it all. menu.lst is just a file,
> so can be easily put onto CD/disk.
> 
Thanks update-grub is the very thing I needed.  It doesn't need a backup 
copy it just creates a new version, excellent. We've added it to our 
lists of really useful commands that we keep forgetting.

steve




More information about the ubuntu-users mailing list