Showing posts with label Mount. Show all posts
Showing posts with label Mount. Show all posts

June 24, 2020

Connect or Mount USB Storage drives in Windows Linux Sub System

Hi folks,

This post will explain the process of connecting / mounting USB devices to Windows Linux Sub Systems

Mount removable media (e.g. E:)

$ sudo mkdir /mnt/e
$ sudo mount -t drvfs E: /mnt/e

Unmount

$ sudo umount /mnt/e
Send your comments and feedback to psrdotcom@gmail.com


August 08, 2019

Truecrypt Mount and Unmount in Windows

Hi friends,

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




November 22, 2012

Mount TrueCrypt Volume with Read and Write File Permission for Users and Groups

Hi friends,

I have been working on Ubuntu from a long time. Recently I am exploring on TrueCrypt and I faced the following issue. After searching lot of websites and forums, I made a solution which worked for me perfectly.

Objective:
TrueCrypt volume copied data should be available to all when its mounted.

Usual Procedure:
Mount the TrueCrypt volume in Ubuntu
Copy some data to the volume
Change file permissions to other users or groups
Other users should be able to view the data from the volume when mounted

Hiccup(Problem):
After mounting the TrueCrypt Volume the directory permissions are changed and fixed to 700 (rwx --- ---). i.e. No access to groups and others.
Changing the directory permissions and changing the ownership will not be applied.
So, other groups and others cannot access the data.

Solution:
While mouting the TrueCrypt volume we need to specify the file system type and give permission to user[s] and/or group[s] with umask.

Please find the syntax and example below

Syntax:
$sudo /usr/bin/truecrypt -t --filesystem={filesystem_type} --fs-options={rwx},uid={userid},gid={groupid},umask={ugorwx} {your_tc_volume} {mounting_folder}

Example:
$sudo /usr/bin/truecrypt -t --filesystem=vfat --fs-options=rw,uid=1000,gid=1000,umask=022 tc1.tc /mnt/folder1

Thanks for visiting my blog.

Please send your feedback and comments to psrdotcom@gmail.com

December 10, 2010

Mounting (Connect) external disks in Ubuntu

Hi everyone,

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

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com