Wednesday, August 27, 2008

Solutions....

The Difference between Focusing on Problems and Focusing on Solutions


Case 1

When NASA began the launch of astronauts into space, they found out
that the pens wouldn't work at zero gravity
(ink won't flow down to the writing surface). To solve this problem,
it took them one decade and $12 million.
They developed a pen that worked at zero gravity, upside down,
underwater, in practically any surface including crystal
and in a temperature range from below freezing to over 300 degrees C.



And what did the Russians do...?? They used a pencil.


Case 2

One of the most memorable case studies on Japanese management was the
case of the empty soap box,
which happened in one of Japan's biggest cosmetics companies.
The company received a complaint that a consumer had bought a soap
box that was empty.
Immediately the authorities isolated the problem to the assembly
line,
which transported all the package! d boxes of soap to the delivery
department.
For some reason, one soap box went through the assembly line empty.
Management asked its engineers to solve the problem.



Post-haste, the engineers worked hard to devise an X-ray machine with
high-resolution monitors
manned by two people to watch all the soap boxes that passed through
the line to make sure they were not empty.
No doubt, they worked hard and they worked fast but they spent a
whoopee amount to do so.



But when a rank-and-file employee in a small company was posed with
the same problem, he did not get into complications of X-rays, etc.,
but instead came out with another solution. He bought a strong
industrial electric fan and
pointed it at the assembly line He switched the fan on, and as each
soap box passed the fan,
it simply blew the empty boxes out of the line.



Moral

Always look for simple solutions. Devise the simplest possible
solution that solves the problems

Monday, August 18, 2008

Customization using live-helper

Linux live cd are very useful installation disks and rescue disks are the main application of the technologies used to make a live cd i am going to talk about how to make a debian linux live cd in this how-to i will  cover how to use the application called live-helper first thing you need is a installation of debian it is best to use a debian sid host system to build the iso with live-helper using debian sid ensures that you have all the newest tools and the latest features fixes of live-helper to simplify this write-up i will assume you are using debian sid if you wish to use debian etch or lenny then you can set up apt pinning it will allow you to grab the newest packages for live-helper and all the dependencies so you can keep your precious stable system and still have the latest version of live-helper start off by updating the apt aptitude database and then upgrade any packages on your sid system to the newest possible version. I have used Qemu for running live CD

  1. su apt-get update
  2. apt-get upgrade
  3. apt-get dist-upgrade
    next tell apt to grab the latest live-helper

    Add following line to 
    deb http://live.debian.net/debian/ sid/snapshots main contrib non-free
    /etc/apt/sources.list.

  4. apt-get install live-helper 

    Basic Command for live-helper


    • lh_config - creates the configuration file this is where you specify desktop architecture extra software include installer and so forth
    • lh_build - command to start the build other important commands
    • lh_clean --binary use this to clean things up before building another image using the same
    • config lh_clean use this to clean things up before building another image when the config has changed
    • lh_clean --purge use this to do a super-clean this will purge all packages from the cache some
    • lh_config options
                    -p specify a package list from usr share live-helper lists or specify your own file 
                    --packages specify packages you want to include
                    -d specify the distribution etch lenny sid
                    -a specify the architecture i386 amd64
                   --debian-installer businesscard include the business card installer
                   --debian-installer enabled include the standard installer 
  5. mkdir livebuild
  6. cd livebuild 
  7. su lh_config -d sid -a i386 -p gnome-core --packages list of packages
  8. lh_build
    (when it is done look in the livebuild folder for the binary.iso )
  9. qemu -m memory_size -cdrom -filename iso
    (To run test iso )

Friday, August 8, 2008

Customization Splash image

Steps Customization Splash image in Debian Live

Create your image, and transform it into a XPM file, 640x480, with
14 colors:

$ convert my-nice-image.jpg -colors 14 -geometry 640x480! my-nice-image.xpm

gzip it:

$ gzip my-nice-image.xpm

Put that image into
$ cp my-nice-image.xpm livebuild/config/binary_local-grub/

Modify config/binary file in to
LH_GRUBSPLASHIMAGE =./config/binary_local-grub/my-nice-image.xpm