Last week I removed two mirrored hard disks from my old home server running Ubunut 6.06 LTS and put them into my new VDR. After that I was not able to boot the server again. It always stopped saying something about “… RAID autodetection …”
So RAID autodetection is a nice feature when you want to have your RAID devices available after booting the system but what if you want to get rid of it? I used an Ubuntu 7.10 alternate CDROM to boot into rescue mode. There I first removed the
md device entries from
/etc/fstab. But a reboot showed that the system still searched for a RAID and was not able to start. Removing the entries from
/etc/mdadm/mdadm.conf did not improve the situation either.
Then I found this Ubuntu forum post recommending deleting the file
/usr/share/initramfs-tools/scripts/local-top/md and to
update-initramfs. This should work but for me the easiest solution was to run
apt-get remove mdadm which updated the initial ramdisk too.
Today I experienced a problem with my VDR linux system I never had in the last years on any linux system. I switched on my system and wondered why I could not connect with ssh. Then I realized that no service was running – no samba, no http, no vdr …
I had to connect the PC to a monitor and start it again to see that every time a service should be started the following message was printed:
Warning: Fake start-stop-daemon called. Doing nothing
It seems like a failed install script changed my start-stop-daemon script and did not rollback the changes. After some search I found that the following command fixes this problem:
apt-get install dpkg --reinstall
I did never really bother about what fonts to use for programming. The default of the the IDE was fine for me. Then I came across this article of Coding Horror about a month ago. One sentence in the conclusion of it made me think:
Please don’t use the default Courier New typeface. Be kind to your eyes.
So I took a closer look on what ClearType really means. This wikipedia article and the Microsoft page about ClearType helped a lot. I had ClearType activated on my Windows XP a very long time but I never cared if a font is designed for ClearType or not. There is a tool from Microsoft (the ClearType Tuner in PowerToys) that allows to configure ClearType exactly for your display – it improved my screen a lot.
After knowing the “plus” of ClearType I downloaded and installed the special fonts pack from Microsoft. It changes the default font in Visual Studio 2005 do Consolas which is special ClearType font. As you can see in the screenshots below it looks really bad when used without ClearType activated:
When ClearType is activated it looks like that:
I changed the font settings in my favorite IDE Eclipse to Consolas too and I am very happy with it. It is a subjective impression but I thinks it is better to my eyes
Compare it to Courier (which is the default font in Eclipse) with ClearType activated:
or Courier without ClearType:
There is a difference.
Fortunately there is a font called Inconsolata that is free and is very similar to Consolas which is perfect for programming under Linux.