August 08, 2019
Truecrypt Mount and Unmount in Windows
I would like to share the information of mounting and unmounting truecrypt in windows
Please find the batch file here
https://gist.github.com/psrdotcom/8350f1469a7a396a886e86b3f29ef38a#file-truecryptmountunmount-bat
With the above batch file, you should be able to do following functionalities
1. Mount a folder as drive
2. Unmount the drive
Hope, this information is useful to you.
Please send your comments and feedback to psrdotcom@gmail.com
October 16, 2014
Convert windows drive or disk file system from FAT32 to NTFS without losing data
Hi all,
I had a problem with my external hard disk when copying some 25GB file.
I had troubleshoot the problem and understand that, my hard disk file system is FAT32, which can only copy max 4GB single file size
I was thinking without losing my data, how can I change the file system, so that, I copy more than 4GB sized single files
Then I come across the following commands in Windows
1) chkdsk : Check disk
2) convert : Convert disk file system
chkdsk command
Syntax
cmd> chkdsk volume_letter: [options]
Example
Checks for disk errors and fix it
cmd> chkdsk I: /f
convert command
Syntax
cmd> convert volume_letter: FS:NTFS [options]
Example
Convert volume from FAT to NTFS in verbose
cmd> convert I: /FS:NTFS /V
Possible Errors with solutions
Insufficient Memory
Reason
Nearly 4 GB files in existing FAT32 system
Solution
Move the files to local drive, do chkdsk and then convert
References:
http://ss64.com/nt/chkdsk.html
http://www.computerhope.com/convert.htm
Blogger Labels: Convert,disk,system,NTFS,data,size,Windows,Check,Syntax,options,Example,Checks,errors,Possible,solutions,Insufficient,Memory,Reason,Solution,Move,References,chkdsk,volume_letter
January 20, 2012
Protect Your USB Pen drive by making it Write Protect / Read Only Device in Windows from Viruses
Today I have come across protecting the USB pen drive from viruses.
I found lot of useful stuff from internet. I just want to share my views on USB Pen drive protection
There are several to protect your pen drive from viruses. I found the following ways are useful.
Make the USB Pen drive Read-only or Writable:
- Installing a software which provides options
- Running the .reg files to edit the registry automatically
- Manually editing registry
Thumbscrew is a software which makes the drive read-only or writable with single click.
Please find the source of the Thumbscrew software from this link
http://www.irongeek.com/i.php?page=security/thumbscrew-software-usb-write-blocker&mode=print
The installation and usage of the Thumbscrew software are described in this blog
http://editecforum.blogspot.com/2008/06/make-your-usb-read-only-while-putting.html
2. Running the .reg files to edit the registry automatically
Download the .reg files from this link
http://www.shaplus.com/exes/guide/EnableOrDisableUSBWrite.zip
When you want to make device read-only then please run the EnableUSBWrite.reg and connect the device
When you want to make device writable then please run the DisableUSBWrite.reg and copy the content
For further more information on these .reg files, please visit their link
http://www.shaplus.com/guide/Computer_Internet/write-protect-usb-flash-drive.htm
Note: You can view the .reg file content by opening the file in notepad or any other text editor
3. Manually editing registry
If you want to do it manually to see how it will work, then you can do that also by following this procedure
http://blog.ashfame.com/2008/04/write-protect-usb-thumb-pen-drive/
Make your USB Pen drive a bit faster
By following this procedure you can make your pen drive to work faster compared to previous
http://www.labofweb.com/how-to-protect-pendrive-from-virus-prevent-the-entry-of-virus-to-your-usb-drive-and-increase-its-speed-of-perfomance-by-formating-it-in-ntfs-file-system-and-making-as-read-only/
Protect your pen drives from viruses
Block all the executable files from your pen drive from running virus
http://www.techtola.com/2008/01/ways-to-prevent-70-virus-malware.html
December 10, 2010
Mounting (Connect) external disks in Ubuntu
Most of the present Ubuntu Operating Systems will auto-mount the internal/external disks.
In some cases that may not be done automatically. In that situation, you can manually mount the media to the Ubuntu.
Here comes the mounting of external disks like HDD, Pen-drive etc in Ubuntu.
Procedure:
1) Open terminal
2) Type sudo su in the terminal
3) Enter the password
4) Now you will be in super user mode i.e. # mode
5) Go to the desktop or some folder where you want to create a folder for mounting
ex: # cd /home/user1/Desktop
6) Create a directory
ex: # mkdir ExtrnDisk
7) Type the following command for NTFS disks
# mount -t ntfs-3g /dev/sdb1 ExtrnDisk/ (FAT32 -- vfat)
Type the following for rest of the disks
# mount /dev/sdb ExtrnDisk/
8) Now you can see the drive contents mounted to ExtrnDisk folder
References:
https://help.ubuntu.com/community/Mount/USB
December 08, 2010
Write Protect your pen drive from copying, deleting and etc.,
Today one of my friend asked me "Why I cann't copy the data to my USB Pendrive". It is showing message like "Remove the write-protection or use another disk". Can you help me to resolve? "
I just checked and came to know that, the pen drive is write protected. Only we can copy the content from pen drive but can't do deleting and copying to pen drive.
- To remove the write protection, please follow the steps below.
- Open run window by pressing windows + R or start->run
- Type regedit.exe and click on "Ok" button or Press Enter button.
- Please go to the following path
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies - If there is no WriteProtect key, please create a DWord key with name WriteProtect
- To enable write-protect, please give "1" as key value
- To disable write-protect, double click the WriteProtect key and give value as 0
November 24, 2010
Fomat USB Pen drive in Linux
Lot of my friends asked me that how to format pendrive in Linux.
There are many methods to format pendrive.
Solution1:
1) Open command prompt and enter into root or su mode.
$ sudo -su ( In Ubuntu )
$ su - ( In RedHat )
2) Identify to which device file the pendrive is mounted
# dmesg | tail
3) Mostly it will be sda or sdb or sdc with some number.
4) Unmount the device file on which the pendrive mounted
# umount /dev/sdb
Note: Please change the sdb with your above identified device file
5) Now, we can format the pendrive
# mkfs.vfat -n 'Label' -I /dev/sdb
Note: vfat indicates FAT32 filesystem, ext3 indicates EXT3 filesystem.
Please change the Label with your own Label.
Solution2:
1) Open command prompt and enter into root or su mode
$ sudo -su ( In Ubuntu )
$ su - ( In RedHat )
2) Identify to which device file the pendrive is mounted
# df
3) Mostly it will be sda or sdb or sdc with some number.
4) Unmount the device file on which the pendrive mounted
# umount /dev/sdb
Note: Please change the sdb with your above identified device file
5) Now, we can format the pendrive
# /sbin/mkdosfs -F32 -I /dev/sdb
Solution3:
We can format the pendrive using GUI tool also.
1) Open command prompt and enter into root or su mode
$ sudo -su ( In Ubuntu )
$ su - ( In RedHat )
2) Install GParted software
# apt-get install gparted ( Ubuntu )
For Redhat, Please download the GParted RPM from http://packages.sw.be/gparted/
Then install the RPM Package
# rpm -ivh gparted-version.rpm
Note: Please change the version with your downloaded file version
3) Open the GParted tool
4) Select the drive
5) Choose Partition menu -> Format to -> any file system ( ex: fat32 )
Note: Many filesystem options are available in Format to submenu.
Note: Please send your feedback and comments to me.
Featured Post
Java Introdcution
Please send your review and feedback to psrdotcom@gmail.com
-
Hi all, I spent 2 days on configuring this. I read lot of blogs and instrutction steps from various sites. I would like share my experienc...
-
For the academic purpose i had written a small program in Matlab. I have tried encoding and decoding the image by using Huffman coding. ...
-
Why AI Agents Need Identity Governance Enterprise AI is entering a dangerous phase. Organizations are rapidly deploying AI agents th...