May 23, 2014 by Johan

Some simple steps to install/recover Grub with a Linux Live CD/USB after installating another operating systems or when Grub doesn't load. It has been tested with Ubuntu and Debian.

First of all boot your Linux Live CD/USB, open Terminal and enter following commands:

  1. This command for root permissions:

    sudo -i
  2. Check the drives number in Partition Manager:

    fdisk -l
  3. Select the drive where your Linux installation resides. Change sda with your hard drive (it can be sdb, sdc, etc) and the 1 with your drive number:

    mount /dev/sda1 /mnt
    mount --bind /dev /mnt/dev/
    mount --bind /sys /mnt/sys/
  4. This command will chroot into your installation:

    chroot /mnt
  5. Install Grub and change sda with the hard drive where you want to install Grub:

    grub-install /dev/sda
  6. Optionally you might want or need to rebuild the Grub menu:


Now the installation is finished. Reboot your pc and Grub is back. That's it!

May 14, 2014 by Johan



Markdown is intended to be as easy-to-read and easy-to-write as is feasible.

Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions. While Markdown's syntax has been influenced by several existing text-to-HTML filters -- including Setext, atx, Textile, reStructuredText, Grutatext, and EtText -- the single biggest source of inspiration for Markdown's syntax is the format of plain text email.

To this end, Markdown's syntax is comprised entirely of punctuation characters, which punctuation characters have been carefully chosen so as to look like what they mean. E.g., asterisks around a word actually look like *emphasis*. Markdown lists look like, well, lists. Even blockquotes look like quoted passages of text, assuming you've ever used email.