linux alsa system wide equalizer with realtime controls

Stumbling through net I found a great little piece of software.

Alsaequal

It enables realtime control on almost any ladspa plugin. Just go to the webpage and see for yourself. I have been using it for sometime now and it works great.

Posted in Uncategorized | Leave a comment

customizing an ubuntu iso or any other linux iso

i had done it a while ago, with an ubuntu iso, which i customized and finally put in a usb-key.
I did it this way

(1) become root. mount the iso and copy all it’s contents to a folder on the hard drive.

mkdir -p /remaster/newiso; cp -r /tmp/sidux/* /remaster/newiso/

(2) unpack the squashfs file on the iso to a folder in the iso

cd /remaster; unsquashfs /tmp/sidux/sidux/sidux.686

This creates a /remaster/squashfs-root folder with the filesystem extracted.

(3) chroot to the squashfs file system. Customize it as needed.

chroot /remaster/squashfs-root

(4) customize it as need. Install all the packages you want. Typically try to keep it below 2GB if you want a <700MB iso
After customization is done. delete all files in /tmp /var/log /var/tmp /var/cache/apt/archives, as these are unnecessary.

(you might even add new users, add persistance to the file-system etc, google for all that)

(5) exit the chroot environment and pack the squashfs filesystem

mksquashfs /remaster/squashfs-root sidux.686

this gives us sidux.686

cp /remaster/sidux.686 /remaster/newiso/sidux/

(6) if you have updated the linux kernel while in chroot, add the new kernell to the new iso.

cp /remaster/squashfs-root/boot/initrd* /remaster/newiso/boot/
cp /remaster/squashfs-root/boot/vmlinuz* /remaster/newiso/boot/
cp /remaster/squashfs-root/boot/memtest* /remaster/newiso/boot/

cd /remaster/newiso/boot/grub; # modify menu.lst and menu.lst.686 to use the new kernels

(7) create a bootable iso
(see http://orgs.man.ac.uk/documentation/grub/grub_3.html#SEC11 )

# cp /usr/share/grub/i386-pc/stage2_eltorito /remaster/newiso/boot/grub/
# the above isn’t required as that file is already there

cd /remaster
genisoimage -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o newsidux.iso newiso

A few more steps are required to install this in an usb-key. I’ll update this post later

Posted in tech | Leave a comment