0
votes
1answer
31 views

Mounted a windows file in ubuntu, can't access it through terminal

So I am 95% sure I mounted the drive(files) that I wanted from a Windows server to ubuntu. I followed the tutorial on http://www.howtogeek.com/howto/22518/how-to-mount-a-remote-folder-in-ubuntu/ and I ...
0
votes
0answers
24 views

SD Card only recognized if mounted during boot

I have a bug with my SD-Card reader on my laptop*. My computer doesn't recognize/see a SD-Card when mounted. I found out though that I can make it read it if I boot with the SD-Card inserted. If I do ...
1
vote
1answer
108 views

Input/output error while executing cp command

I'm new in Linux I'm trying to follow a steps for install ROS on UDOO and I have the next problem. When I try to download and unpack ubuntu 13.04 i have the next problems: the command line is: ...
0
votes
1answer
2k views

Drive auto mounting as read only (errors=remount-ro)

My system is auto-mounting as read only and I have no idea why. Output of fstab: cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique ...
2
votes
1answer
834 views

Is there a way to force format write protected pendrive

My USB is a Sandisk Cruzer 8 GB drive with USB 2.0. It says it's write protected when I try to format it. Is there a way to force format it ? I try'd some of this ways : varun@varun-pc ~ $ sudo ...
2
votes
2answers
507 views

Mount from rc.local fails; how to do it properly?

Here is my current /etc/rc.local: #!/bin/sh -e # Test 1 echo line1 > /home/myHome/rclog.txt # the mount mount /mnt/mediaDrive &> /home/myHome/mountlog.txt # Test 2 echo line2 >> ...
3
votes
2answers
1k views

How to auto-mount from command line?

How can I trigger an automount from the command line? By "automount" I don't mean fully automatic mounting, but getting a list of available devices and then selecting one and having it end up as ...
0
votes
1answer
110 views

What is the path and command of mounted folder when I “connect to server”?

I am trying mount a remote machine filesystem to my local machine. The remote machine is a computation cluster which has two file systems. I have space on both file systems and I have a link on my ...
0
votes
2answers
97 views

How do you know, using the CLI, the type of partition that corresponds to its id?

fdisk, and many other partition programs list the partition tables using a code or id for the partition type of each partition listed. How do you know the type of the partition, the type name (in ...
0
votes
1answer
660 views

Cannot access drive mounted by sshfs using Ubuntu file manager

I've run into a problem with sshfs that I haven't seen before. I mount serverB to serverA by doing the following (while logged in as root on serverA): mkdir serverBLink sshfs root@serverB:/ ...
0
votes
1answer
212 views

How can I unmount user-mounted disks under /media/$username from the command-line? [duplicate]

In Xubuntu 12.10, I can mount external disks that are attached and they appear under /media/$username/$diskname. I can unmount them by going to the desktop, right-clicking, waiting 6 seconds or so, ...
0
votes
0answers
174 views

Connect to remote drive (University computer)

To connect to my university drive, the instructions on their website say: Open a terminal Type the following, to mount your P: drive to /mnt: mount -t cifs -o ...
18
votes
4answers
2k views

CLI mounting vs. GUI mounting

On Ubuntu 12.10, when I want to mount a hard drive, I can just click on the unmounted drive and everything works fine (by mounting to /media/username/partitionlabel). Basically, I would like to do ...
1
vote
1answer
66 views

mount an [IPADDRESS]/dir on 12.04 in terminal

This is probably a super simple question, but googles failing me. In windows, I can map a network drive, and point it to "\10.10.0.28\sample_folder" and it works just fine. On my Ubuntu machine, I ...
8
votes
2answers
890 views

How do I get passwords from the keyring in the terminal for usage in scripts?

When you have a LUKS encrypted drive in your computer, Nautilus or Nemo will show it under Devices as a drive with a little lock on it. When you click it, you need to enter a password. If you choose ...
2
votes
0answers
380 views

How to mount an external hard drive as root?

I recently changed my external hard drive so that it can be read/edited by all, not just myself. In doing so I think I made it so only the root user can mount it. When I tried to mount it today I got ...
2
votes
3answers
3k views

get device with mount point

there's a way to get the device name (/dev/sdx) with the mounted folder? i mean, get the assosiated device in a mount point using the mounted folder as the reference, or make a python dictionary with ...
1
vote
1answer
6k views

mounting a device that I see using lsusb [closed]

I have a device that is an contec cms-50f oximeter that connects to the computer using a usb cable. When I do an lsusb command I can see it in the output Bus 002 Device 004: ID 10c4:ea60 Cygnal ...
3
votes
1answer
991 views

auto mount cryptmount/encrypted loop device

Because of limitation of filename size of ecryptfs, I decided to use encrypted partition. Since I already use ecryptfs, for my home folder, I don't need the key to be password-protected. I need a ...
1
vote
1answer
3k views

Questions on Loop Devices and Mounting a Disk Image

The commands are from here: Mount disk (device) image About the first command' I need to "Calculate the offset from the start of the image to the partition start", but don't know what the numbers ...
0
votes
1answer
360 views

Duplicate /media directory entries

I installed Ubuntu 64-bit 12.04 over Ubuntu 32-bit 32-bit on the same partitions. In my /media directory I have what appear to be duplicate entries. I had found a similar issue on an Ubuntu discussion ...
3
votes
6answers
626 views

How can i fit 2 commands in 1 terminal shortcut

10 latest updates and drivers and I need to run a game called unreal tournament, but in terminal it requires 2 commands The first one is to mount into the folder: cd /usr/local/games/ut2004/ and ...
3
votes
1answer
1k views

How can remote host be mounted with nautilus from comnmand line to avoid a nautilus window is opened?

A remote host can mount with nautilus: nautilus sftp://<target-host> But, in this case a nautilus window is opened. I would like to use this command in a script. How can I avoid window ...
2
votes
1answer
10k views

Difficulty trying to mount an ISO file “mount: you must specify the filesystem type”

I have an .iso file which I would like to mount. I have made a folder in /mnt/iso as a mount point. Now I try: sudo mount -o loop filename.iso /mnt/iso and the reply is: mount: you must specify ...
8
votes
4answers
13k views

Mount encrypted volumes from command line?

If I have an encrypted external disk (or an internal disk that is not in fstab), I see an entry for it in Nautilus -- with an entry like "X GB Encrypted Volume". I can click on this volume, and am ...
1
vote
3answers
148 views

Accessing other partition from the command-line immediately on startup

My other hard drive partition (i.e., the Windows partition) is located in /media/OS. However, I don't seem to be able to access it from the command line when my machine starts up in Ubuntu. I have to ...
8
votes
2answers
2k views

Mount drive through command line (as if I clicked on it in nautilus)

I'm writing a backup script in which I need to mount a drive in the media bay of my laptop. I know that I can get the job done by messing with fstab and the mount command. Perhaps that's the easiest ...
2
votes
2answers
713 views

How to mount a ntfs disk in the text mode(from command line)?

In the gui, mode to mount a disk , I just click the name of the drive in the menu "place", and the disk gets mounted. However, can I mount that drive easily in the text mode (from terminal or command ...
3
votes
2answers
2k views

Access mounted volumes via the command line

I've plugged an external hdd into my usb port, and it shows up on the desktop and in nautilus. How can i access this mounted hdd via the command line?
3
votes
1answer
2k views

How do I access my Windows partition using the command line?

I had a problem with my Ubuntu install, and I need to uninstall it. However, I have one folder on there with an important assignment in it that I'd like to keep still. I can still get into Ubuntu with ...
3
votes
1answer
1k views

How do I mount a digital camera via the command line?

When I plug in in my digital camera (Fuji F100fd), Nautilus automounts it as 'USB PTP Camera' with the path 'gphoto2://[usb:001,007]/'. lsusb lists it as Bus 001 Device 007: ID 04cd:02ef Fuji Photo ...