# Login as root # mkdir myinitrd # cd myinitrd # gzip -dc < /boot/initrd-your-version-here.img | cpio -i # edit init do what you want at ...Read more »
Single Writer Multiple Readers using Anonymous Pipes
Use the tee command. Here is an example where I use pipes and the linux cut/paste command to implement a windows like "scanning wireles...Read more »
Installing Linux on an iMac
What Linux distro is the best for iMac? For a week, by searching with google, I found out that YellowDog is the best. I have to verify it m...Read more »
AMD Opteron vs Intel Itanium
Recently, I attended a seminar on Grid Computing and HPC. The organizer invited an Indian speaker, a sales director of SUN India, Mr Mohan....Read more »
Creating symbolic links for bootup scripts
If you want to startup a certain service e.g. vmware in runlevel 4 during system bootup. cd /etc/rc4.d ln -s ../init.d/vmware S90vmware The ...Read more »
Coping folders between Machines
Make sure you ssh/scp deamon is running. /etc/init.d/ssh start Regenerate host keys for ssh if necessary ssh-keygen -t dsa -f /etc/ssh/ssh_h...Read more »
Linux Managing multiple Network interfaces
If you have multiple network interfaces on your machine e.g. a wireless (check using iwconfig) and wired. i.e. eth0 and eth1. Linux will end...Read more »
Setting up Knoppix file system on a hard drive
A Knoppix installation on you hard drive will use unionfs by default. You can check to see which folders are part of the unionfs tree by usi...Read more »
Setting up and Formatting encrypted Partitions
losetup -e AES128 -T /dev/loop7 /dev/sda7 format mke2fs -j /dev/loop7Read more »
changing & formatting partitions
I prefer using cfdisk over fdisk because it is menu driven. Usually creating a partition table will involve a hda1 primary boot partition fo...Read more »
64 bit is the way to go...
The server is up and running. It is a 64-bit Xeon with two processors. [root@flowerhorn ~]# cat /proc/cpuinfo processor : 0 vendor_id ...Read more »
Disk Space Remaining
df -h and du -hsc Read more »
Mounting a compressed image
Needed when mounting a compressed KNOPPIX file found in the linux boot partition. For instance you need to recover some USB modules to place...Read more »