how to repair grub using live cd

Duncan Lithgow duncan at
Mon Sep 11 04:24:55 UTC 2006

On Sun, 2006-09-10 at 20:46 -0400, Ishaan Gulrajani wrote:
> 1. salvage data w/install cd
> 2. reinstall ubuntu

no no no. it can be done with the live CD, I just always get the syntax
wrong so I better now help you.

You need to get to a terminal using the recovery option and then type
grub. Once in grub it needs to know the (new) root to use for it's
files, or the old root if the files are still there, with something

root (hd0,1) <-- just an example

and then to setup to tell it where to install itself

setup (hd0,0) <-- just an example

anyway, something like that, try reading the manual.

$ man grub

> On 9/10/06, Dimitri Mallis <dimitri.mallis at > wrote:
>         hi all
>         i messed up my grub by formatting the wrong partition. is
>         there a way i can make a new grub by using the install CD? 
>         thanks
>         --
>         ubuntu-users mailing list
>         ubuntu-users at
Linux user: 372812 | GPG key ID: 21A8C63A |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list