Wednesday, December 22, 2010

Problems Infant Would Have With Hole In Heart

Restore Grub2

When starting the PC bootloader Grub2 not start or gives error here is a guide on how to address

Required :

a Live CD of Ubuntu 9.10 or higher

Here's how:

1: Boot the Ubuntu LiveCD in the civil trial

2: Open the terminal from Applications> Accessories> Terminal

3: Type the command sudo fdisk-l

4: Recognize the partition in Ubuntu is installed

5: Note the name.
Over the next steps will be considered as a partition of Ubuntu
called the partition / dev/sda1

6: Type the following command replacing / dev/sda1 with as
the partition where you installed Ubuntu

7: Mount the partition by typing:
sudo mount / dev/sda1 / mnt

8: Then mount the other devices with commands:
sudo mount - bind / dev / mnt / dev
sudo mount - bind / proc / mnt / proc
sudo mount - bind / sys / mnt / sys

9: Make a chroot on your system with the command:
sudo chroot / mnt

10: If Ubuntu is installed with a partition / boot mount separate
also the one with the command mount / dev/sda2 / boot
; replacing / dev/sda2 the name of the partition / boot

11: At this point to install Grub2 type the command:
grub-install / dev / sda
update-grub2
      Se si ricevono errori รจ possibile riprovare con il comando:
      grub-install --recheck /dev/sda

12: Uscire dal chroot con la combinazione di tasti: CTRL+D o
      digitando il comando: exit

13: Smontare tutti i dispositivi con il comando:
      cd ~
      sudo umount / mnt / dev
sudo umount / mnt / proc
sudo umount / mnt / sys
; sudo umount / mnt /

14: Restart your system and remove the Live CD .

I hope to be helpful.
you soon.

Source: http://wiki.ubuntu-it.org/AmministrazioneSistema/Grub/Ripristino

0 comments:

Post a Comment