Wednesday 14 November 2012

How To Hide & UNHIDE Hard disk Volumes By CMD Command




How To Hide and unhide the hard disk Volumes using CMD Commands :

    First check how many drives are there in my computer and then see which drive holds your secret files.Then make the drive to invisible by following the below steps of using cmd commands,

    start->run->cmd->DISKPART
    DISKPART>list volume (it list available partition volumes)
    select the volume by SELECT VOLUME 1or 2 ..
     Hide the selected volume by REMOVE LETTER C or D or... command.

Note :For Unhide the hidden drive use the command ASSIGN LETTER after selecting the hidden drive.


Now to unhide the partition:
Go to an elevated command prompt=run cmd.exe as administrator

Enter following commands:

DISKPART --- run the diskpart program
LIST DISK ---- list the disks in system
SELECT DISK n ----n is number of disk with hidden volume
DETAIL DISK ----- to make sure you got the right one
LIST VOLUME ------lists the volumes in the system
SELECT VOLUME n ----n is the number of the hidden volume
DETAIL VOLUME ---- to make sure you got the right one
ATTRIBUTES VOLUME CLEAR HIDDEN ---clear the hidden attribute
EXIT --- exit from DiskPart
EXIT --- exit from command shell

Later if you want to hide the volume again then the command is:
ATTRIBUTES VOLUME SET HIDDEN

This is another posting showing "how to do computing" for everyday computer usages... For a general public



Monday 12 November 2012

How to format USB drive using Linux terminal ..

How to format USB with Linux terminal ..  

[ Formatting a USB in Ubuntu or linux is as easy as make filesystem (mkfs).
mkfs and tab will show you all the filesystem types you can use:

[anc@localhost~]$ mkfs
mkfs mkfs.ext3 mkfs.jfs mkfs.ntfs mkfs.vfat
mkfs.cramfs mkfs.ext4 mkfs.minix mkfs.reiserfs mkfs.xfs
mkfs.ext2 mkfs.ext4dev mkfs.msdos mkfs.udffs


To format a USB drive all you need to know is its name, this can be found by
typing df at a terminal:

[anc@localhost~]$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
--snip
/dev/sdc1 ext3 3.6G 3.3G 134M 97% /media/disk



In the above example my USB is sdc1 and is a 4G USB stick. As you can see
I changed it from NTFS to ext3.

FAT32 and NTFS are weak filesystems, not only are they prone to losing data but also
require constant defragging. Most linux filesystems (except ext2) are journalled. Thye never require defragging and have better security- the disadvantage is that if you format a USB memory stick as ext3 it cant be read under windows.

To answer your earlier question,

mkfs.vfat /dev/sdc1
mkfs.ntfs /dev/sdc1


would make FAT32 and NTFS filesystems on a memory stick called sdc1

Hope that helps. ]


[ This is another posting showing "how to do computing" for everyday computer usages... For a general public ]

Friday 12 October 2012

md5sum.exe introduction


After you download all the Shorten (.shn) files for a particular disc or show, you want to verify that the files are not corrupted or otherwise unusable before you burn them to disc or host them on your file server. We do this by checking the downloaded Shorten (.shn) files against an .md5 file. An .md5 is a simple text file that contains a "fingerprint" of each Shorten file.


When you perform an md5 check, you are comparing the fingerprint from the files you downloaded to the fingerprint of the files on the server you downloaded from. If the md5's (fingerprints) match, you have an uncorrupted Shorten file.



 md5sum.exe - 48KB         88170 Downloads since 9/29/00



  • Windows 95/98/Me: Download md5sum.exe to c:\windows\command

  • Windows NT/2000: Download md5sum.exe to your c:\winnt\system32
  •  

    Open an MS-DOS window and go to the directory of the show you want to check. When you are in that directory, type:
    md5sum -c [filename].md5
     
    You must insert the name of the .md5 file [without the brackets]. Below is an example of a successful md5sum check:
     
     
    On the other hand, if a track does not pass the md5check, you will see the following:
    If any Shorten files do not pass the .md5 check, you should delete the offending file(s), and try re-downloading. Then run the .md5 check again. The file(s) should now pass the .md5 check.

    If the same files fail an .md5 check more than twice, you should contact the FTP Siteop you downloaded the files from and let them know what tracks are giving you a problem. They may be hosting a corrupted track without knowing it.

    Open an MS-DOS window and go to the directory of the show you want to create an .md5 file for. When you are in that directory, type:

    md5sum *.shn > [filename].md5
     
    NOTE: You must insert the name of the .md5 file [without the brackets]. Example:
     
    md5sum *.shn > ph94-06-26d1.md5

    An .md5 file will be created and placed in that directory. Please remember to adhere the etree.org naming scheme when naming .md5 files!

    Please remember to always .md5 check your Shorten files before burning!
      

    Special thanks to bruce@gridpoint.com and the PCP community for compiling this special version of md5sum. Documentation and graphics by Mike Wren.


     

    Sunday 7 October 2012

    Code - breaking ( PHP programming ) Warming up

    For some time I've developing stuff in PHP .. Like experimenting stuff Its a very interesting language
    to experiment with .. As it is the same with Java, Python, PHP, C++ and Ruby&Rails ....


    Today, I felt like talking about php .. One, think there is one important think to say to anyone willing to learn and programm in PHP, for you to run and develop php on your computer, its  necessary to have a server running on the machine that will be used to develop and write the php code ..


    It might sound quite complicated but its very simple ...To setup a server on your own computer just download Xampp for Windows, LAMP for Linux, or MAMP for Mac OS (Apple).

    After your download it and install it and run properly the server you will able to see you php files via-localhost on your browser. This post isn't about how to install your server and run the localhost .. But I can explain it on another post .. For now, lets just focus on PHP coding.

     The simple and first thing on any programming language is the

     "Hello World"

     "
    <html>
    <head>
    <title> Test PHP </title>
    </head>
    <body>
    <?php
    echo " Hello World ! ";
    ?>"
    </body>
    </html>
    "
    That's it simple ....

    O Browser will see somethink like this;


    How to Create a Ansible Lab on your Local Machine using Vagrant in 5 min using ChatGPT

    This is an exciting experiment of mine as DevOps. As I am experimenting with the Tools available ... So, the quest is to " Vagrantfile ...