Archive

Posts Tagged ‘Linux’

Recover You data from Corrupted Hard Disks

It been long since I added an article on to this blog entirely by writing which is not based on how to. Anyway here it is and I hope it will be worth reading for you guys.

Data Recovery, is a big issue if your hard disk has sensitive informations. Like the saying its, prevention better than cure. Here you better prevent the data loss by making sure of a updated backup for the original data. so that even i fyou loose the original data you will have the copy.

You can do this back up in several ways:

1. Using Applications such as

  • Norton ghost
  • Sync Back
  • Acronis True image

2. Using RAID

For normal home usage first option is better. So you just have to install an application in your system and do as the manual says. Raid needs higher knowledge about computer and requires some configuration changes in hardwares.

Data Recovery(not the worst case):

If you deleted some files and removed them recycle bin also accidentally, it would be very easy to recover if you just stop using the computer. If you use the computer for a long time after the deletion, it will be very difficult to recover the data. Now The best option is boot into a live cd of either windows, linux, or any custom recovery solution. In that case the recovery wil be very easier and less time consuming.

In windows, you can use lots of applications like recuvva, ontrack easy recovery professional, etc. In this Recuvva is free and the options are very limited. Ontrack is a very professional one but you will have to pay for that application. Like this you will get lots of applications for recovering the data. One thing you have to make sure is, use a external hard disk to save the data. Do not use the same device on which the data recovery is being performed.

Now in linux also there are lots of similar tools. But if you are into linux, it better you ask the support forum for the recommended recovery application. Include the reason, and what kind of files you are trying to recover.

Data Recovery(Worst Case Scenario):



Now if your HardDisk failed and you didn’t have any backups also, then you need to try other options to get the data.

First of all let me point out something in bold and underlined.

If you don’t know what you are doing, you could lose all the data, which would have been recoverable if you didn’t try anything but give it to a professional.

You can find lots of professionals for these by a simple google search. Data recovery is a highly competitive field and there are lots of good companies which give you optimal result. But the prizes will not be cheap. For good services you will have to give good amount of money. But most of the data recovery professionals give you a free consultation. Now by this you will come to know the gravity of the situation.

So only try these kind of things, once you are sure about what you are doing.

My favorite tool is testdisk. Google search it and you will find the package to install. But you will have to try it from linux, ubuntu recommended.

TestDisk have 100s of options and configuration set ups. It will be impractical to list them all. The best part of test disk is, this application will try to find and list the previous partitions and volumes. And if you found that to be correct you can just, try to recover it.

This Wiki Community Page from ubuntu will help if you chose to try this with ubuntu. But before trying you must read through it once or twice, and clear all your doubts before starting.

even if you lost the partition from windows, do try these kind of recovery stuffs from linux only. I recommend it because the options and file system support is more in linux than in windows.

 

How to install Ubutnu Linux – Dualbooting windows and Ubuntu

This Tutorial Explains how to install ubuntu 11.04 onto your computer. All your data and pre installed Operating Systems are safe with this method!

 

How to instert Rupee Sign(₹) into any Document

If you wonder how you can insert the Rupee (₹) symbol into your document, then this post is for you.

First of all the font should be installed in your system.

Windows All

If you use windows Vista or Later, You can install the official upgrade by Microsoft by visiting this link:
http://support.microsoft.com/?kbid=2496898

Note: But as for windows XP users, the font is not official and hence you guys better not use the font from third party. Because if you use that font and you gave this document to any other person, who used vista or later or even xp who hasn’t installed your font, will not be able to see that symbol.

After installing the font you can use the key combination as give

<Press-and-hold Alt> 2 0 b 9 <Release Alt>

Linux

Ubuntu/Kubuntu 10.10 and later versions comes with the font out of the box. So you need not worry about this.
In ubuntu you can use the following key comination for the Symbol.

<Press and Hold Ctrl-Shift-u> 2 0 b 9 <Release all keys, enter>

Now you can see the font there! You can try these following methods too.

  • Kubuntu 10.10: Copy-and-paste ‘₹’
  • HTML: insert “&#x20b9;”

Now If none of these techniques works for you, then do this.

1. Download the font from Here => Font for Rupee Symbol (₹)

2. Install the font.

3. Copy the file to C:WindowsFonts directory.(for Windows XP users) / 2. Right-click the file and choose “Install”. (for Windows 7/Vista users)

4. Press the Tild Sign in your keyboard.

 

 

How to: Change the login screen in Ubuntu 9.10 a.k.a. Karmic

Changing the login screen of ubuntu 9.10 is somewhat different and complicated compared to other versions of ubuntu. But still we can change it the way we need it to behave. For this we will have to do some steps. Let me explain those steps here.

1. Logout of your current session and return to the GDM
2. Switch to the tty command line prompt using Ctrl-Alt-F1
3. Login using your normal login/password
4. at the command line prompt type: export DISPLAY=:0.0
5. then type: sudo -u gdm gnome-control-center
6. Switch back to the gdm screen using CTRL+ALT-F7
7. The gnome-control-center should be loaded. Use it to configure your GDM.
8. Click on the Appearances icon, in appearances you can change your GDM’s font, theme and background image.
9. Close the gnome-control-center and login normally.

These are the steps. Here in the gnome control center you can lot more than just changing the login screen.

Have any doubts? feel free to ask in comments.

credit:Ubuntu Mini

How to: Make a password less SSH Login

First  you will have to generate key on local machine.

For that type in the following command in a terminal. Here we are using RSA encryption.

ssh-keygen -t rsa

It will ask you for a password but you can leave it blank.

Note you could also pick -t dsa if you prefer DSA encryption.

Ensure that the remote server has a .ssh directory

Make sure the server your connecting to has a .ssh directory in your home directory. If it doesn’t exist you can run the ssh-keygen command above, and it will create one with the correct permissions.

Copy your local public key to the remote server

If your remote server doesn’t have a file called ~/.ssh/authorized_keys2 then we can create it. If that file already exists, you need to append to it instead of overwriting it, which the command below would do:

scp ~/.ssh/id_rsa.pub remote.server.com:.ssh/authorized_keys2

Now ssh to the remote server

Now you can ssh to the remote server without entering your password.

Security

Now keep in mind that if someone need to login to the remote server, all s/he need is the file on your local machine ~/.ssh/id_rsa, so make sure it is secure.

How to : Install PHP MySql Apache server in Ubuntu

Since we all love to do things in a simple way, I introduce you LAMP Server. LAMP is Linux Apache MySql PHP server.

It’s useful if you want to set up a private web development environment. Perhaps you want to develop your own WordPress theme. If you are developing websites and experimenting, it’s nice to do it in the privacy of your own computer, rather than out on the public internet.

Install LAMP

The Ubuntu developers have created a very easy way to install a LAMP server on an existing system. It’s all kicked off with this one simple terminal command.

sudo apt-get install lamp-server^

Note: Please make note of the caret (^) in the above command, it’s not a typo, it’s required to make the command work.