Howto instalar, reinstalar o reparar Grub 2 desde ubuntu live cd

Recién recién actualicé el sistema que tengo actualmente en mi desktop via actualizaciones automáticas y algo raro pasó el instalador de Grub 2 me indicaba que se debía reinstalar y que yo debía seleccionar donde porque el ID del disco donde se instaló «anteriormetne» no era correcto. ete aquí el problema: la instalación del grub falló y si continua sin ello puede que su sistema no arranque adecuadamente…

Luego de instalar las actualizaciones, me pide reiniciar, lo cual realizo.¿Que pasó? Grub rescue> Osea el sistema no arranca porque grub no sabe donde ir a buscar el SO instalado en mi disco.

Esta y otras posibles causas nos pueden llevar a reinstalar el sistema de arranque de nuestro sistema, vamos a ello!

Primer paso:
Conseguir un live CD o instalar en un pendrive para arrancar en modo live un linux cualquiera
OJO (me pasó) si vamos a reparar un linux que está instalado en el disco y éste es 64 bits debemos instalar en el usb / CD un sistema con la misma arquitectura, sino tira algo como que el /bin/bash no es correcto.

Segundo paso: recuperar grub!

Montar la partición donde tenemos instalado el linux (sino estás seguro, consultar gparted)
Reemplazar XY, por la letra del dispositivo y el numero de la particion. Por ejemplo

sudo mount /dev/sda1 /mnt
sudo mount /dev/sdXY /mnt

Ahora vincular los sig directorios para que grub pueda detectar el SO instalado:

sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys

Ahora «entrar» en el filesystem:

sudo chroot /mnt

Ahora instalar grub, checkear y actualizar grub:

grub-install /dev/sdX
grub-install --recheck /dev/sdX
update-grub

Con esto grub a sido reinstalado y recuperado, lo que queda es «salir» del filesystem y desmontar lo que vinculamos

exit
sudo umount /mnt/sys
sudo umount /mnt/proc
sudo umount /mnt/dev/pts
sudo umount /mnt/dev
sudo umount /mnt

Reiniciar la maquina, y quitar lo que hayamos utilizado para iniciar la máquina: CD / usb

Listo!!

29 comentarios sobre “Howto instalar, reinstalar o reparar Grub 2 desde ubuntu live cd”

  1. Pingback: essayforme
  2. Pingback: writing essay help
  3. What you published made a lot of sense. But, what
    about this? what if you added a little content? I am not saying your information is not solid., however suppose you added a title to maybe grab people’s attention? I mean Howto instalar, reinstalar o reparar Grub 2 desde ubuntu
    live cd | Vida sobre el teclado is a little vanilla. You should glance at Yahoo’s home page and note how they create article titles to grab people to
    click. You might try adding a video or a picture or two to get
    people excited about what you’ve written. In my opinion, it could bring your website a little
    bit more interesting.

    Take a look at my blog post … 2021 (isms.pk)

  4. Right here is the right webpage for anybody who would like to understand this topic.
    You know so much its almost hard to argue with you (not that I really will need to…HaHa).
    You certainly put a new spin on a topic which has been discussed for
    many years. Excellent stuff, just great!

  5. Hey, I’m Ghazni. Recently your website caught my attention while analyzing newly registered domain name list. After entering the website, It seems that your website is brand new or not complete yet. So I thought I should try to contact you by leaving a comment on your website. Because as a Freelancer, I provide WordPress-related services like:
    .
    1) Website Design & Development
    2) Theme Setup & Customization
    3) Full E-commerce Website Setup
    4) Speed Optimization
    5) On-Page SEO Setup
    6) Malware Removal
    7) Landign Page Design
    8) WordPress Virtual Assistant
    .
    I provide all kinds of premium tools like Divi Pro, Astra Pro, Elementor Pro, Yoast Pro and WooCommerce related premium themes and plugins to my clients absolutely free with 1 year free updates. Usually I bought those tools from official developers with unlimited license. I can guarantee that the Plugins or Themes weren’t nulled or cracked by third party. These are completely clean and original files. The main purpose of this is to ensure that clients do not have to spend more money separately for different kind of premium tools.
    .
    You can hire me through Upwork Marketplace using Upwork Direct Contact. This is a great way to hire a freelancer. If you want to know more details about pricing, please contact me via email or whatsapp.
    .
    You can also check my protfolio website:- https://ghazni.me
    .
    Best regards,
    Mahmud Ghazni
    Web Design & Developer
    WhatsApp: +8801322311024
    Email: mahmud.ghazni@yahoo.com

  6. Hello very cool site!! Guy .. Excellent .. Superb ..
    I’ll bookmark your blog and take the feeds also?
    I am happy to seek out so many helpful information right here in the publish,
    we want work out more techniques on this regard, thanks for sharing.
    . . . . .

  7. Wonderful goods from you, man. I’ve understand youir stuff previous to and yoou
    are just extremely fantastic. I actually like what you have acquired here,
    relly like what you’re sating and the way in which you ssay
    it. You make it entertaining and you still take care
    of to keep it wise. I can not wait to read far more from
    you. This is really a wonderful site.

    my page: Harley88 Harley 88 Provider Judi Slot Online Indonesia Terlengkap

  8. With havin so much content and articles do you ever run into anny issues oof plaagorism or copyight violation? My website has a
    lot of exclusive content I’ve either written myself or outsourced but it aplears a lot of it is
    popping it up all over thee web without my permission. Do youu knnow aany ssolutions to heslp protect against content from being stolen?
    I’d truly appreciate it.

    Alsoo visit my page face recognition access Control

  9. Hello there! This blog post could not be written much better!

    Looking at this post reminds me of my previous roommate!
    He always kept preaching about this. I’ll forward this article to him.
    Pretty sure he’s going to have a good read.
    I appreciate you for sharing!
    http://xn—-dtbsfhpc9dwcdoo.xn--p1ai/user/ErnestineMcDonag/
    https://jcomhaiti.com/jeremie-tremblement-de-terre-bilan-partiel-des-autorites/
    http://www.ootynigeltravels.com/mudumalai-national-park/
    What Illness
    Does Neil Diamond Have?

    What Size Is An Xs Bike Frame?
    How Do Celebrities Dye Their Hair Without Damage?
    What Medicine To Take For Stress Fracture In Shoulder?
    How Do I Become A University Tutor? (chemistry.questionedu.com)
    What’s The Difference Between Being Italian And Sicilian? (https://anzio.infomedia-italy.com/)
    Are Shoe Inserts Hsa Eligible?
    How Many Lights Should I Put In My Pool?
    Do You Need A Hunting License To Hunt On Your Own Land In Pa?

  10. I truly love your blog.. Pleasant colors &
    theme. Did you make this amazing site yourself? Please reply back
    as I’m planning to create my own personal site and would love to find out
    where you got this from or exactly what the theme is named.
    Appreciate it!

  11. Good day! Do you know if they make any plugins to
    help with SEO? I’m trying to get my blog to rank for some
    targeted keywords but I’m not seeing very good success.
    If you know of any please share. Cheers!

  12. Pingback: spytostyle.com
  13. Thank you, I’ve recently been looking for info approximately this topic for a while and yours is the best I have discovered so far.
    However, what about the bottom line? Are you positive
    concerning the source?

  14. Pingback: Career services
  15. Magnificent goods from you, man. I have understand your stuff previous to and you are just
    extremely fantastic. I actually like what you’ve acquired
    here, certainly like what you’re saying and the wayy in which you say it.
    You make itt enjoyable and you still care for to keep it
    wise. I can not wait to read much more from you. This iis really a wonderful
    site.

    Look into my bllg post; actual exam (Rocco)

Responder a isms.pk Cancelar la respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Time limit is exhausted. Please reload CAPTCHA.