Spotify won’t install due to dependency with libssl0.9

libssl0.9 has moved onto version libssl1 though Spotify currently has prerequisite dependency of no more than libssl0.9 and won’t install.

You can safely install the two side by side. Download the required version from squeeze repositories and install with one of the following scripts:

32 bit:

sudo wget http://ftp.de.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze13_i386.deb && sudo dpkg -i libssl0.9.8_0.9.8o-4squeeze13_i386.deb 

64 bit

sudo wget http://ftp.de.debian.org/debian/pool/main/o/openssl/libssl0.9.8_0.9.8o-4squeeze13_amd64.deb && sudo dpkg -i libssl0.9.8_0.9.8o-4squeeze13_amd64.deb
[/sourcecode]

SSD Instability under Linux

SSD Instability

I was having some serious instability with my new SSD under Linux. Installation with LMDE was not possible and Ubuntu kept on locking up when copying files.

It seems that the HD is too quick and the native queuing of commands can cause instability; disabling this has made my machine more stable and I have not noticed any deterioration in performance.

Add libata.force=noncq somewhere on the Linux line of your currently kernel in the grub config file.

sudo pluma /boot/grub/grub.cfg

menuentry "Ubuntu (on /dev/sda1)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root xxxxxxx
	linux /boot/vmlinuz-3.5.0-23-generic root=UUID=xxxxxxxx ro quiet splash libata.force=noncq $vt_handoff
	initrd /boot/initrd.img-3.5.0-23-generic
}

More information about libata.force-noncq can be found here.

Also you can add this into a live disc or current grub boot prompt but pressing the tab or | key. A screen shot is shown below.

 

 

ATI Graphics Drivers & Debian / Linux Mint Debian based system

After a recent adventure with Linux Mint Debian I had to reinstall my ATI graphics drivers. A simple process;

These instructions will install ATI graphics drivers from the repositories for Debian and Linux Mint Debian. These should work for other debian based system however they have more than likely configured your graphics drivers for you.

Open up your core repositories to have main contrib non-free.

Either su into root or use sudo and install with


apt-get install fglrx-driver fglrx-control

Then set up with


aticonfig --initial

Reboot and confirm everything is working with


glxgears

FSCK

— run to find out the hd location.
df -hT

— as root
init 1
umount /dev/sda4 — change to each of your mapped entries above

fsck -NVr — for a trail run
fsck -Vr to actually fix

if you are presented with warning about unmount drive go to above and unmount.
Without specifying a partition to check all partitions in fstab are checked. Make sure they are all unmounted first. You are warned if a check on a mounted drive is going to be performed.

then either

reboot
shutdown -r now

or
init 6

Reinstall Grub after window install or other guest linux has taken over

I recently installed linux mint. It did not give me the option of installing grub or not and installed its own version / config into the mbr.

To get back to square one

Log into the Linux OS you want to have the grub mastered on and as root run grub-install /dev/sda (this might change depending upon the location of you MBR)

If you are reading this and stating; how can I do this if I can not log into my Linux OS; use a live disc, map / swap and as root run grub-install

How to back up a Debian based Linux

The one major advantage of Linux is that as root you have read/write access to every file on your system; this makes backing up possible with tar.

You should exclude any mount points which you don’t want to be backed up; I would recommend backing them up individually. You should also not back up /sys and /prc as these are created during boot up.

Tar options explained;

-c: create new archive

-v: verbose

-p:absolute names to files. It does not strip of leading /

-z: applies gzip compression

-j:applies bzip2 compression. Slower but smaller

-f: creates a single file

–exclude: excludes directories.

cd /
su
tar cvpzf backup.tgz --exclude=/proc --exclude=/media--exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys --exclude=/mnt --exclude=/home/Data --exclude=/dev /
<code>


 

For greater compression use BZip
cd /
su
tar cvpjf backup.tar.bz2 --exclude=/proc ..../
<code>


 

To restore copy the extract into the root directory (/)

For gzip
su
cd /
tar xvpfz backup.tgz -C /<code>

For bzip

su
cd /
tar xvpfz backup.tgz -C /
<code>

 

Dont forget to make the dirs that you –exclude and make tmp work excutable