Wednesday, 5 February 2014

Repair, Restore, or Reinstall Grub with a Ubuntu Live CD

Reinstall Grub 2 with a Ubuntu Live CD

 1. Boot from Ubuntu Live CD

2. Open Terminal and type the following

3.  $sudo su -

4. #fdisk -l (Note the Linux boot Partition Num - EXT4)

5  #mount /dev/sdXY /mnt (Change XY to your partition Number

6. #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

7. #chroot /mnt

8. #grub-install /dev/sdX

9. #grub-install --recheck /dev/sdX

10. #update-grub



How To Install LAMP on Ubuntu 12.04

L inux         A pache         M ySQL             P HP Step One—Install Apache open terminal and type in these commands: s udo apt-ge...