How I recovered my corrupted partition

I have a Western Digital USB Drive that I use for data and testing new Linux releases. It had one NTFS partition for files I could share with Windows systems, one big data partition that I use to designate /home and several smaller partitions where I install varied Linux distributions. I had just deleted a couple of partitions that contained older Linux Mint versions and moved my /home partition to the outside of the disk using Gparted when an error occurred. After refreshing the application, it showed that my /home partition was unreadable. If I had been using Windows XP or Vista, my first instinct would be to wipe out the corrupted data and start from scratch. Not so in this case, I searched for a recovery utility that worked with EXT3 filesystems and discovered Testdisk.

The creator of this nifty tool provided sufficient information for me to install, operate and succeed in my task. I only used two commands in the terminal: sudo apt-get install testdisk and testdisk. It did not even take 5 minutes for the program to be installed. In a few keystrokes, Testdisk was able to fix my partition table and I got all of my data back. There are no guarantees in recovery. The best course of action is still to back up your data before you move or make big changes.


Multimedia for Intrepid Ibex

So I had some trouble playing .avi files in my Ubuntu 8.10 box. I searched the handy dandy Ubuntu Forums and found what I was looking for. I went on to download and install the updates available. And then ran the following commands in the terminal.

sudo wget -O /etc/apt/sources.list.d/medibuntu.list

wget -q -O- | sudo apt-key add - && sudo apt-get update

sudo apt-get remove gnash gnash-common libflashsupport mozilla-plugin-gnash swfdec-mozilla && sudo apt-get install alsa-oss faac faad flashplugin-nonfree gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-pitfdll libavcodec-unstripped-51 libmp3lame0 non-free-codecs sun-java6-fonts sun-java6-jre sun-java6-plugin unrar

These commands got my files playing again. I’ve only tried a .avi file though. In the future, I might get a chance to play other file types. But I’m pretty sure that I won’t have any issues. In case I do, I can always check the forums for solutions.

Conky in Intrepid Ibex

I have the exact same Conky setup as in my Hardy installation. I had an issue with the borders having shadows and couldn’t figure out what was wrong in my configuration. Turns out, my Conky code is fine. A fellow user pointed out that the cause is CompizFusion. I didn’t have CompizConfig installed at the time. The weird thing was that my Conky worked flawlessly in my upgraded Intrepid Ibex but the shadow/border shows up when I used the fresh install.

I installed CompizConfig and turned off Window Decoration as recommended. That did not solve the issue though. I was playing around with the settings and discovered where the fault lied. It was the opacity of the shadow/borders. I dragged it to the minimum that the bar would let me, saved the settings and ran Conky again. It works great now.