how to repair grub using live cd

Duncan Lithgow duncan at lithgow-schmidt.dk
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
like:

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

Duncan
> 
> On 9/10/06, Dimitri Mallis <dimitri.mallis at gmail.com > 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 lists.ubuntu.com
>         https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>         
>         
> 
-- 
Linux user: 372812 | GPG key ID: 21A8C63A | http://lithgow-schmidt.dk
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060911/392cc9c3/attachment.sig>


More information about the ubuntu-users mailing list