Grub Error 2: Bad file or directory type 
grub prior 0.97 only supports a inode size of 128 Bytes

To format a partition set inode size of 128 Bytes:

#> mkfs.ext3 -I 128 /dev/sda6

[ view entry ] ( 878 views )   |  print article
ugly rename hack 
find -name 'Pic*' -exec sh -c 'mv $1 "$(echo $1 | sed s/\\./_/g | sed s/^_/\\./g | sed s/_-//g)"' {} {} \;

[ view entry ] ( 959 views )   |  print article
hardy ubuntu-vm-builder with kvm and virtio 
First get ubuntu-vm-builder from http://packages.ubuntu.com/intrepid/ubuntu-vm-builder

#> dpkg -i ubuntu-vm-builder_0.6_all.deb

I suggest to use approx for caching packages

#> sudo apt-get kvm libvirt-bin

#> sudo adduser `id -un` libvirtd (and relogin)

To have a working virio inside the guest i patched:
--- /usr/share/ubuntu-vm-builder/templates/libvirt.tmpl.orig
+++ /usr/share/ubuntu-vm-builder/templates/libvirt.tmpl
@@ -18,13 +18,14 @@
<interface type='network'>
<mac address='%MAC%'/>
<source network='default'/>
+ <model type='virtio'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
%loop%
<disk type='file' device='disk'>
<source file='%img%'/>
- <target dev='hd%curdisk%'/>
+ <target dev='hd%curdisk%' bus='virtio'/>
</disk>
%/loop%
</devices>

#> ubuntu-vm-builder
Read More...

[ view entry ] ( 2263 views )   |  print article
Two usb video capture stick with em28xx driver 
get http://mcentral.de/hg/~mrec/em28xx-new/ ... tip.tar.gz and untar
cd em28xx-new-*
make
find /lib/modules/$(uname -r) -name "em28xx*" -type f | xargs rm -rf
find /lib/modules/$(uname -r) -name "tvp5150.ko" -type f | \
xargs rm -rf
mkdir -p /lib/modules/$(uname -r)/empia
cp *.ko /lib/modules/$(uname -r)/empia
cp tvp5150/tvp5150*.ko *.ko /lib/modules/$(uname -r)/empia
strip -d /lib/modules/$(uname -r)/empia/*.ko
depmod -a

/etc/modprobe.d/local
options em28xx card=14 vbi_mode=0 alt=4
options em28xx card=43 vbi_mode=0 alt=2
These two options lines are really working

With alt i use a lower bandwidth for usb

For Kernel >= 2.6.27 card indexes changed, no alt setting is needed and only one option line in /etc/modprobe.d/local is working:

options em28xx card=9,38

[ view entry ] ( 871 views )   |  print article
io scheduler for databases (deadline) 
As suggested by http://www.nextre.it/oracledocs/oraclemyths.html
i put elevator=deadline to grubs menu.lst.

[ view entry ] ( 728 views )   |  print article

<<First <Back | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Next> Last>>