Tuesday, June 4, 2013

How to save settings in Putty (permanently)?

1. Make all the settings you need.
2. Then go to Settings > Sessions
3. Select 'Default Settings' and click 'Save'

 

You are done :)

Wednesday, May 22, 2013

How to extract the contents of initrd or initrd.img file?

If you have an initrd.img file use the below command to get the initrd file.

gunzip < <your_initrd.img>


You can mount the initrd file using the command:

mount -ro loop <your_initrd_file> <target_dir>