How to Reinstall and Update Grub 2 with a Ubuntu Live CD

I had Windows 7 + Ubuntu 12.04 (Precise Pangolin) installed on my PC. But I needed to develop applications to Windows Phone 8. Since the SDK for Windows Phone 8 only works perfectly under Windows 8, I had to upgrade my Windows 7 installation to Windows 8. After the upgrade, and when I reboot my PC, I noticed that the GRUB won’t appear any more. The reason is Grub 2 gets overridden when you install Windows or another Operating System. But It can be fixed. In order to make Ubuntu control the boot process back again, you just need Reinstall (Repair/Restore) Grub using a Ubuntu Live CD. This is how it should be done :

Continue reading How to Reinstall and Update Grub 2 with a Ubuntu Live CD

Install JDK 7 on Ubuntu (Precise Pangolin, Quantal Quetzal)

Today I installed Ubuntu GNU/Linux 12.10 (Quantal Quetzal) in my new laptop. So I had to install JDK in order develop and run Java applications on it. I installed it manually. This is how it was done. This tutorial should works with 12.04  LTS (Precise Pangolin) too.

1. First you need to download JDK 7 (At the moment it’s JDK 7U11) – Download

2. Extract the downloaded tar file using this terminal command

Continue reading Install JDK 7 on Ubuntu (Precise Pangolin, Quantal Quetzal)

Hide a text file inside a Image file using steghide in Linux

The art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient could understand or view is called Steganography.

According to the Wikipedia, The word steganography is of Greek origin and means “concealed writing” from the Greek words steganos (στεγανός) meaning “covered or protected”, and graphei (γραφή) meaning “writing”.

In this post I’m going to show how to create such covered or protected message. In this we are going to hide a text file inside a Image (.jpg) file.

This is what you need before starting the procedure :

Continue reading Hide a text file inside a Image file using steghide in Linux