Don't understand german? Read or subscribe to my english-only feed.

Archive for the 'English' Category

RAID5 Online Resizing with Linux

Saturday, September 9th, 2006

Today I wanted to test the raid5 reshape feature of Linux kernel >=2.6.17. My testing environment was VMware with 3 virtual disks each containing a partition of 200MB which should be resized to 500MB, using grml (featuring kernel 2.6.17-grml) of course. For real-live setup adjust the steps for stuff like switching harddisks of course. ;-) […]

vim-outliner – script for building an outline editor on top of Vim

Thursday, September 7th, 2006

vim-outliner let’s you use vim as an outline editor: # apt-get install vim-vimoutliner % $PAGER /usr/share/doc/vim-vimoutliner/README.Debian % vim ~/foo.otl :he vo If you want to export the otl file into HTML take a look at otl2html.py. Oh, did I already mention that vim-outliner is shipped with grml? ;-)

iwatch – realtime filesystem monitoring program using inotify

Monday, September 4th, 2006

iwatch is a realtime filesystem monitoring program. It’s a simple perl script to monitor changes in specific directories/files and send email notification immediately. It reads the dir/file list from a xml config file or via commandline and needs inotify support in kernel (Linux Kernel >= 2.6.13). If you are using Debian/grml you can install a […]

Online again…

Saturday, August 26th, 2006

Now I’m back again. Sorry for the downtime of grml.org and michael-prokop.at, the server was running out of mem (thanks to Robert for bringing it up again). A server upgrade will follow in the near future anyway. Now 3746 unread blogpostings, 716 mails in my inbox, lots of unread mailinglists and newsgroups are waiting for […]

JFYI: Offline for holidays

Tuesday, August 15th, 2006

JFYI: I’ll be offline for holidays in the next few days. I won’t be reachable via phone nor via instant messaging nor via irc nor via mail. EOF

Stable root device (AKA UUID)

Friday, August 11th, 2006

Given: server with SCSI disk for the system plus a SCSI storage in the back. The SCSI disk uses another driver than the SCSI storage. Installing Debian etch via grml is no problem, the system disk is /dev/sda, the SCSI storage is bound to /dev/sdb. But: who guarantees that /dev/sda is always the systemdisk? Using […]

Install Debian etch via grml

Friday, August 11th, 2006

Want to install Debian etch? But the Debian etch-ISO does not detect all the necessary hardware? Or it even does not boot at all? Or you just can’t find your Debian etch CD-ROM? Or having $ANOTHER_PROBLEM? Use grml. :-) Take a look at my Debian etch via grml Howto. You can get this tip via […]

Corrupt /var/lib/rpm/Packages?

Tuesday, August 8th, 2006

A RedHat 9 server had problems with its rpm database. Running strace showed that it’s hanging when accessing /var/lib/rpm/Packages (a Berkeley DB, wondering?). No rpm actions were possible anymore. Solution: # cd /var/lib # cp -a rpm rpm.backup # rm -f /var/lib/rpm/__db* # rpm -vv –rebuilddb

ext3 online resizing

Tuesday, August 1st, 2006

Yes, online resizing isn’t possible just with xfs but starting with Linux kernel 2.6.10 you can do it with ext3 as well. With e2fsprogs >=1.39-1 new filesystems are created with directory indexing and on-line resizing enabled by default (see /etc/mke2fs.conf). A short demo how online-resizing running on top of LVM works: cfdisk /dev/hda # create […]

Problems running DRI with current X.org on Debian/unstable?

Tuesday, August 1st, 2006

Just feeding google and interested readers. DRI worked with X.org 6.9 but with version 7.0 it’s failing? % LIBGL_DEBUG=verbose glxgears libGL: XF86DRIGetClientDriverName: 1.5.1 i915 (screen 0) libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to find driver: i915_dri.so Ok, missing […]

System Administrator Appreciation Day

Friday, July 28th, 2006

Don’t forget – today (on 28th of july) we have the System Administrator Appreciation Day! Thanks for reminder, koki :)

Linux Symposium 2006

Tuesday, July 25th, 2006

Because it’s definitely worth a read: the proceedings of the Linux Symposium 2006 are now available for download (direct links: Volume 1, Volume 2 – PDF). Have a nice week reading them. :-)

Debian on UltraSparc II

Monday, July 17th, 2006

We already have one Sun Sparc running at Robocup @ TUG: mika@robosparc ~ % cat /proc/cpuinfo cpu : TI UltraSparc I (SpitFire) fpu : UltraSparc I integrated FPU promlib : Version 3 Revision 1 prom : 3.1.3 type : sun4u ncpus probed : 1 ncpus active : 1 Cpu0Bogo : 397.31 Cpu0ClkTck : 000000000bebc200 MMU […]

Wikipedia via fuse – wikipediafs

Thursday, July 6th, 2006

Run ‘apt-get install wikipediafs‘ on your Debian/grml-box. % cat ~/.wikipediafs/config.xml <wfs-config> <general> <article-cache-time>300</article-cache-time> </general> <sites> <site> <dirname>wikipedia-de</dirname> <host>de.wikipedia.org</host> <basename>/w/index.php</basename> </site> <site> <dirname>wikipedia-en</dirname> <host>en.wikipedia.org</host> <basename>/w/index.php</basename> </site> </sites> </wfs-config> % mount.wikipediafs /wiki % cat /wiki/wikipedia-en/Cat

Thinkpad T60 laptop with Debian/grml Linux

Sunday, July 2nd, 2006

First of all: thanks a lot to IBM/Lenovo! Michael Gebetsroither and me were working on the ‘Trusted Live Linux’ project at IAIK @ TUG. IBM/Lenovo kindly provided us a Thinkpad T60 1951-44G laptop so we were able to test and work with a TPM v1.2 chip. The results of the project will be available within […]

The coolest features of Vim7

Sunday, May 28th, 2006

omni/intellisense completion: use CTRL-X CTRL-O in insert mode to start it [:he compl-omni] internal grep: vimgrep foo bar [:he vimgrep] tab pages: vim -p file1 file2 – then use the :tab command [:he tabpage] gt -> next tab gT -> previous tab undo branches: :undolist / :earlier 2h / :later 2h instead of using u […]

grml on my notebook

Thursday, May 11th, 2006

The black grml shirts will be available on linuxdays Graz 2006 at the grml-booth. The yellow and the pink shirts are available in the grml-shop at spreadshirt. The grml-CDs will be available with the upcoming LinuxUser magazine 06/2006! Oh, I won’t sell my laptop. ;-) BTW: being proud owner of 1000 grml-CDs rocks. :-) PS: […]

Portknocking in Reallife

Wednesday, March 22nd, 2006

Knock Code Technology [via schneier on security]

Addicted to vim?

Thursday, February 2nd, 2006

And of course ctrl-w doesn’t delete the word before the cursor… *hmpf*

music players on Linux / Debian (Update)

Monday, January 2nd, 2006

There exists such a lot of music players on Linux that nearly everyone uses a different player. ;-) I was using xmms for some time and switched to mp3blaster and other clients some time ago. I was not really happy with the situation, so it was time to evaluate the existing clients. This should give […]