Category Archives: repair

Repair GRUB on IBM Thinkpad – The best Linux solution

When you decide to add another OS to the usual OS on your PC you can potentially damage your grub package. The Grub (GNU GRand Unified Bootloader) is the “soul” of you hardware, the program which allows your PC to find the OS during the boot-up.

Today we will not discuss about the old and new malware that are able to influence the GRUB but we will focus our attention on how repairing your computer when you see grub rescue> on your black screen…

The first solution you can find on internet is a detailed command solution but it was unfortunately usefulness in my case because my PC was not able to correctly accept the insmod command. Consequently I decided to use a portable rescue CD-USB to fix the matter.

Normally, if you use an Ubuntu derived OS, you can use Boot-Repair and it will semi-automatically fix your Grub problem in just few minutes. In any case, it is moderately easy but you have to be 100% sure about what HD partition you want to repair. As usual, this wasn’t my case. I had to find something more generic -in term of serviced OS- but effective.

At the end I bumped into the Boot Repair Disk. I had just to burn the free iso on a RW DVD and I could start to test it on my “out of service” laptop. The Boot Repair live CD is a wonderful tool! As soon as you boot up the live CD, Boot Repair guides you to the best possible solution. You have just to follow the suggestion on the screen and, in few minutes, the Boot Repair Disk is able to fix the Grub and to perfectly restore your computer.

Easy, Fast, Effective!! AddThis

Video – Fix .ICEauthority by danny6465

AddThis

Fix .ICEauthority problem at Linux boot up

After upgrading my Ubuntu 10.04 LTS I had an error window at every boot up session. The message advised me about:

Could not update ICEauthority file /home/username/.ICEauthority

ICEauthority is the Inter-Client Exchange (ICE) Protocol that allows  authentication, negotiation, setting up and taking down connections between programs. In few words, if two programs have the same cookies, they will talk and exchange data through ICEauthority.

To fix this matter open the Terminal and type:

ls -al

Then you find a line similar to this:

-rw——-  1 root        root           35226 2011-10-06 00:24 .ICEauthority

This means that your profile (username on a Linux OS) is not allowed to manage ICEauthority and you have to gain full permission to solve the boot up problem:

sudo chown username:username ~/.ICEauthority

Where username is your user profile on Linux.

Then type:

sudo chmod u+rw ~/.ICEauthority

To check if you succeeded, type again:

ls -al

and this time you will find a line like this:

-rw——-  1 username username    35226 2011-10-06 00:24 .ICEauthority

That’s all! AddThis

System Recovery Tools: a possible cross-platform approach through open source and proprietary solutions

The following system recovery tools will be useful to you if you are facing problem of data loss or if your system is simply crashing. It is advisable to burn copies of these tools much before any disaster strikes.

Open Source and Free approach:

G4L aka Ghost for Linux is one of the system recovery tools that is mainly a cloning and hard disk and partition imaging tool. This tool is similar to “Norton Ghost”. The images created are compressed optionally and transferred to a FTP server instead of opting for cloning locally. Ideally, of the several tools described above it is advisable to use the most suitable tool for your needs. The tool that will be most useful during a crisis like a crash or server failure will be a better tool.

The Ultimate Boot CD is one of the system recovery tools which will be very helpful when you want to run CDRom-based diagnostic tools thereby consolidating as many diagnostic tools into one bootable CD as possible. Since you can now boot from USB memory devices a script you can run “Ultimate Boot CD” from USB memory stick and a script on the script on the CD will enable you to boot newer systems from your USB sticks. This is many steps ahead than many of the other recovery tools. Moreover it gives you the flexibility of booting your system with a USB memory stick.

Knoppix is one of the system recovery tools which is essentially a bootable CD with GNU/Linux software. It ensures automatic detection of hardware and supports a wide range of devices like sound cards, most of the graphic cards, USB and SCSI devices and other peripherals. It can be used as an educational CD, a Linux demo or for system recovery purposes. Alternatively it can be used as a commercial platform for software demos. There is no need to install anything on the hard-disk as the CD is capable of storing 2GB of software installed in it. Thus this tool is a truly multi-purpose recovery tool.

Proprietary solutions:

O&O Disk recovery: This software tool scans every portion of your hard-disk, digital camera or memory card for lost files. It is so effective and reliable that it is possible to reconstruct data even when files systems have been destroyed or formatted. More than 350 types of files like music formats, word documents, movie, graphics, Excel workbooks, photo and access databases can be recognized, reconstructed and restored.

SuperDuper is one of the system recovery tools makes recovery effortless as it creates a completely bootable backup effortlessly. The strengths of this software are that it is user-friendly, easy to use with a built-in scheduler that it makes backup automatically. Moreover it performs well independent of the processor that is both on Power PC Macs as well as Intel PCs. It is particularly useful when your software application with the latest update is not working or when your hard drive begins to make noise. It is also very handy when you want to restore a stable copy of your system though you do not want t lose your existing system files or cases like this. AddThis mp3 link

Some Linux security tips for Rootkit Hunter

If you run Rootkit Hunter and you haven’t modified your stock Red Hat configuration of the SSH service (sshd), chances are it will find that you allow root logins. Rootkit Hunter considers these as possible security risks. However, to fix this, you can simply login as root, fire up a text editor, and edit the file

/etc/ssh/sshd_config

Make the following changes:
You’ll find a commented line like this:
#Protocol 2,1
Uncomment it and change it to:
Protocol 2
This will disallow logins using the older versions of the protocol

Look for the commented line
#PermitRootLogin yes
Uncomment the line and change it so it reads:
PermitRootLogin no
This will configure sshd NOT to allow root logins.

After this, be sure to restart sshd (assuming you run the service in the first place so:
Service sshd restart

By the way Rootkit scanner is scanning tool to ensure you for about 99.9% you’re clean of nasty tools. This tool scans for rootkits, backdoors and local exploits.

AddThis mp3 link

Stay safe! Install Rootkit Hunter on Linux and FreeBSD

Rootkit Hunter is a Unix-primarily based scanning tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of vital files with known good ones in online database, looking for default directories (of rootkits), improper permissions, hidden records data, suspicious strings in kernel modules and particular tests for Linux or FreeBSD. Most instances rootkits are self-hiding toolkits utilized by blackhats, crackers and script kiddies, to keep away from the attention of the system admin. If you’re unsure  as to whether your system is compromised, you will get a second opinion from sources such as Linux-oriented forum. If your system is contaminated with a rootkit, cleaning it up will not be an option. Restoring can be not an option unless you might be expert, and have autonomous and an impartial means of verifying that the backup is clear, and does not include misconfigured or stale software. Never trust a potentially compromised machine! Basically a clean install of the OS is always advisable after backing up the system. AddThis mp3 link

How to repair a bad upgrade on Ubuntu!

This week, in our Linux Page (in Spanish) we posted some tips about repairing a bad Linux upgrade.  In fact, it is rare but sometimes, unfortunately, it happens. I mean one or more error during an upgrade installation on Ubuntu. In my case the problem was caused by a blackout and a battery which did not worked properly. When I restarted the PC it worked only in text mode and it asked me the login and the password to enter into the Ubuntu root mode. Obviously, as usual, I typed the requested data and then, after reading how to solve similar problems on internet, I decided to go forward with sudo apt-get update. At this point Ubuntu advised me that something had been wrong during the last update and suggested to try with sudo dpkg –configure -a.  I followed the suggestions and I concluded the “repair session” with  sudo apt-get upgrade –fix-broken. Fifteen minutes later and after rebooting all the “bad upgrade” problems were solved. Recommended! Bookmark this page! mp3 link