martes, mayo 22, 2007

Recuperar GRUB

Si por cualquier razón modificamos el MBR, borramos la partición que utiliza el
GRUB para bootear o X motivo la configuración del GRUB la perdemos y lo tenemos
que restaurar. Para esto primero debemos conseguir un Live-CD para hacernos las
cosas más fáciles y trabajar en un entorno atractivo. Yo utilizo KNOPPIX ya que
bootea muy rápido, pero podés utilizar cualquiera. Los pasos:

1. Bootear con el Live-CD.

2. Creamos el directorio donde vamos a montar nuestra particion donde se
encuentra el root (/):
sudo mkdir /media/ubuntu

3. Montamos la partición:
sudo mount /dev/hda1 /media/ubuntu

4. Y montamos las carpetas correspondientes para hacer la modificación de la
instalación del GRUB:
sudo mount --bind /dev /media/ubuntu/dev
sudo mount --bind /proc /media/ubuntu/proc
sudo mount --bind /sys /media/ubuntu/sys

5. Cambiamos el directorio de trabajo al disco dónde tenemos el root (/):
sudo chroot /media/ubuntu/

6. Y por útlimo instamos GRUB en nuestro disco:
sudo grub-install /dev/hda

4 comentarios:

Anónimo dijo...

No es x nada pero a mi siempre me ha rulado sin el paso 4, no entiendo el xq de hacerlo (el paso 4) habiendo hecho antes un chroot en la raiz :| .

Anónimo dijo...

Hello, I now became a member of this forum here and I would like to be a member of it. Just like the environment here. Excellent work by the mods and each member here.

I like the quality of posts provided by memebers and hope I can do that for you all too. Just to start off, I came across a cool website named
[url=]home business[/url] that reviews various great home business opportunity . Anyway website owner earn's more than up to 15K USD month. He found some very cool home business ideas.

Because I found that these home business Opportunities worked for me I decided to post it here so you also can make some extra bucks in your free time. Owner of this site also discovered very simple opportunity get some extra cash just taking [url=]surveys for money[/url]. Anyway if you need to earn some extra cash feel free to check out this website. Hope you guys enjoy it.

OK, look forward to great conversation and hanging out here often.

Anónimo dijo...

I just wondering if anyone can recommend some good backlinks service. I just made my site and I need to get good rankings in google. What do you think which is best service for getting backlinks. I want to build many links and want to get it as cheap as possible. Thanks Jay.
BTW what do you think about this [url=]backlink service[/url]

Anónimo dijo...

We are a group of volunteers and opening a new scheme in
our community. Your website provided us with valuable information to work on.
You have done an impressive job and our whole community will be thankful to you.

Also visit my blog link