LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Difficulty Using terminal Mount Cmd to Reproduce 'Click' mount (https://www.linuxquestions.org/questions/linux-newbie-8/difficulty-using-terminal-mount-cmd-to-reproduce-click-mount-4175521800/)

AEDeGance 10-11-2014 02:06 PM

Difficulty Using terminal Mount Cmd to Reproduce 'Click' mount
 
I've got a dual boot system. So I'm using Linux Mint and I mount my Windows stuff by clicking on the folder. It mounts where I don't want it. So I think to do a 'mount' cmd and get the specifics of the Windows stuff mount in order to be able to specify how & where I mount it. Here is the output from the mount cmd,

/dev/mapper/isw_dhjhafiag_Volume0p2 on /media/antony/CeeVolume type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) [CeeVolume]

If I do a fdisk -l, I get back

Device Boot Start End Blocks Id System
/dev/mapper/isw_dhjhafiag_Volume0p1 63 112454 56196 de Dell Utility
/dev/mapper/isw_dhjhafiag_Volume0p2 * 112455 156232124 78059835 7 HPFS/NTFS/exFAT

I take that info and give it back with the following cmd

mount -type ntfs -o blksize=4096 /dev/mapper/isw_dhjhafiag_Volume0p2 /CeeVolume

which it doesn't like. It gives me a long response telling me how I should use the mount cmd but don't point to anything specifically. I've tried replacing ntfs, with hpfs and fuseblk but still no mount, only door prizes.

What might I do next because the treads don't seem to be helpful here. I can mount the system using a click so I figure the software is actually there.

Greence 10-11-2014 02:46 PM

re- Difficulty Using terminal Mount Cmd to Reproduce 'Click' mount
 
could you please post the exact error message, I am not a mint user but as with the command you can try
Code:

mount -t ntfs /dev/path of windows partition  /path of folder to be mounted on
for example:
Code:

mount -t ntfs /dev/sda2 /home/xyz/abc/
shold work fine. note you have to run it as root, note the partition type carefully.
you can see this post for reference
http://community.linuxmint.com/tutorial/view/1100

TxLonghorn 10-11-2014 02:48 PM

Try this command:
udisks --mount /dev/mapper/isw_dhjhafiag_Volume0p2

Mounts at /media

AEDeGance 10-11-2014 03:09 PM

Firstly, the cmd

udisks --mount /dev/mapper/isw_dhjhafiag_Volume0p2

does mount the file-system but it places it in the media folder. How can I specify the location of the file-system using udisks?

Secondly the cmd

mount -type ntfs -o blksize=4096 /dev/mapper/isw_dhjhafiag_Volume0p2 /CeeVolume

gives no error but does not mount. It returns,

Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.

Finally the cmd,

mount /dev/mapper/isw_dhjhafiag_Volume0p2 /CeeVolume

which removes -t and -o information works; it does mount the file-system. The cmd

mount -type ntfs /dev/mapper/isw_dhjhafiag_Volume0p2 /CeeVolume

gets no error but doesn't mount the file-system.

Thank you for your help. It works to ask questions.


All times are GMT -5. The time now is 02:00 PM.