New answers tagged

0

Since nobody's suggested an answer, I kinda came up with one on my own. Running a bash script on startup containing the following should work: if [ `ls /media/user/drive` = "ls: cannot access 'drive': No such file or directory" ]; then ntfsfix /media/user/drive fi


1

I had the same problem but I solved it by removing open-vm-tools and installing open-vm-tools-desktop and after a Reboot everything works.


0

I have Dragonboard 410c I connecting via adb I wanted to mount the physical sdcard as RW. the following worked for me. adb root adb shell su mount -o remount,rw /storage/sdcard1 /storage/sdcard1 So I can now access it in rw mode as /storage/sdcard1 nb. /storage/sdcard0 is emulated and is /sdcard


0

I overlooked the permissions on /data Issue resolved.


1

You mean unmount? You say you've tried Gparted, but did you actually click the "unmount" button?


0

In Ubuntu 16.04 just add user option to the appropriate line in /etc/fstab and try mounting as normal user, it should works (even for cifs mount).


1

I'm trying to mount a drive with: sudo mount -t ntfs /dev/sda1 usb That is not the drive you think it is. Look: Update: the command mount responds with: [...] /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) [...] /dev/sda1 is already mounted and it is your root drive which contains the main file system of your Ubuntu ...


0

As update from 9.04 to 16.04 is not supported and you don't have any other blank DVD available, the only way is to do a clean install from usb. In my opinion the easiest way is to download the latest startup disk creator from launchpad because you will probably get errors if you use unetbooin in your old os. So download and install the packages ...


0

Thanks for your response. I tried the second option sudo mount -t iso9660,udf /dev/xxx /yyy/zzz and it gave the exact same results as sudo mount -t iso9660 /dev/xxx /yyy/zzz That is, it opened the iso9660 portion of the disk with the drivers for the udfreader. The problem is, I can't get the disk to open in windows XP/7/10, or on a Mac OS X. It's ...


0

Not sure if I'd call this "the answer", but I basically reinstalled Ubuntu manually without letting VMware use the easy-install process (which apparently installs the broken open-vm-tools for you). After I finally booted up, I installed VMware Tools from the VM's menu and that worked flawlessly. Apparently open-vm-tools is what my problem was.


0

I was having a very simular issue when creating a bootable USB HDD. believe it or not, lots of forums and instructions only recommend ext4 because I suppose its the most widely used. After many days of reading and experimenting on my flash drive, I noticed one thing while I was making a live USB drive, it was using ext2. SO, I decided to plug my USB HDD ...


0

it means in general that your device has been already mounted (automatically, for example, when detected).Depending on what displays 'mount' command, you can 'umount' your device, and then try to remount it as you want.


0

I use Ubuntu 14.04 LTS, but I still had problems shutting down as well. The solution I found was just to go into the Terminal and type sudo shutdown -h now, but your problem seems different. I see you've already tried that option. Maybe specify a scheduled shutdown instead, or do sudo shutdown instead. Often the -h now command messes up shutting the PC down. ...


0

When you connect your android Phone to computer you can select the connection "mode". Modes are "Only charging", MTP, PTP. Older Android devices supported also the mode where the device was connected as "USB Mass Storage". MTP means "Media Transfer Protocol" and when used the Phone appears to computer as Media Device. It is used for transfering audio/video ...


2

For anybody curious I did solve this. First I determined that the charset on the old VFAT drive was ISO-8859-1 (very common for Windows). I then executed a rsync command with the option to convert the old charset to UTF-8 and that did the trick. Example: rsync -vaW --size-only --iconv=ISO-8859-1,utf-8 /media/Music/* '/media/username/Seagate Backup Plus ...


0

An alternative is to compile and install the latest version of exFAT. This is how I did that. sudo apt-get install libfuse-dev git clone https://github.com/relan/exfat.git cd exfat/ autoreconf --install ./configure --prefix=/usr sudo make install sudo mount.exfat-fuse /dev/sdc1 /media/pd/


1

write the mount (/etc/fstab in this case) with noperm parameter to instruct local client ignore permission checks. It look like this (works for me,o nce i had ignored local permission rights) //remote-ip/share /local-path/dir/ cifs credentials=/your-credential-file,iocharset=utf8,uid=local-user-uid,gid=local-group-id,**noperm** 0 0


0

Of course each situation will be different, but I just had this same thing happen with a USB flash drive. It's one I'd had for several years, and I would often have to unplug/replug it several times to get it to work. This time it wouldn't work at all. My solution was to clean the contacts of the drive with rubbing alcohol. After that it worked perfectly. ...


1

Iso's only do mount read-only. It's just the fact. I believe the reason is that ISO's have a specific structure that would have to be remade every time you unmounted the ISO which would take a ridiculous amount of processing power for limited functionality advantage.


1

Disclaimer: I provided an answer to similar questions here and here. This is a summary of those two answers. Moreover, I am the developer of RecuperaBit. Your NTFS partition is broken. In order to restore the data, you need to make a copy of it (ideally) and then use a NTFS reconstruction software to restore its contents. Clone the drive You really ...


0

First, I want to say sorry for your loss. I found two possible answers, but they look similar to what you have already done, except the code it's a little different. In the first found here: How to open UDF Volume the command looks like this: sudo mount -t udf /dev/sr0 /cdrom This one seems simpler that what you have, the second looks a little more ...


0

You can mount any block storage device. They include your HDD, SSD, CD/DVD, Memory Card, USB, any flash storage, etc. To mount it, you can use the mount command. You don't have to use GParted to mount devices every time.


0

The mount option user resets some other options. From man 8 mount: user Allow an ordinary user to mount the filesystem. The name of the mounting user is written to mtab so that he can unmount the filesystem again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as ...


0

Ok... I got this now. What I did with chmod was good, what I did before in fstab was the issue. Now defaults in fstab solves the problem. So, as a reminder for anybody struggeling: chmod a+rwx /media/files will do the trick! If anybody as something to add about the rigorous permissions, I am happy to hear.


0

Finally I found the solution, I have manually edited the FSTAB file (etc/fstab). FSTAB contains all the details regarding the mount-points including auto-mount drivers in the boot-up. so delete the line corresponding to the missing disk here is my FSTAB file # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique ...


0

I can't specifically answer the question of why your code is not working. Below is the line in my fstab file, which mounts a shared drive when the computer boots. Modify for your situation and see if it works. #Mount Western Digital Passport Drive On Router - Not part of Logical Volume Management (LVM) //rt-n56u/sda1 /media/My_Passport cifs ...


1

This appears to be an OS X question due to the disk names, but here is what you need to do: diskutil unmountDisk /dev/disk4 diskutil unmountDisk /dev/disk2 sudo dd if=/dev/disk4 of=/dev/disk2 bs=1m The last line should work on Ubuntu and probably works on OS X as well. I just did something similar a couple weeks ago on a Raspberry Pi running Ubuntu Mate ...


1

You can "dd from smaller SD-card to Bigger" but you will end up with the same partitions, e.g. disk space, as on the smaller SD card. Eventually you can create a new partition on the bigger SD card ending up with two partitions. What you should do is to format the bigger SD card with full capacity and copy over the files form the smaller SD card.


0

@Nazmos Sakib. You can, if you are using windows 8 and that you have shutdown your system completely but still facing the same issue.., go to your power settings and ensure that "on shutdown: the machine actually shuts down" and does not hibernate instead. Then after these settings you can shut down and the power on and log into Ubuntu, and access your ...


0

On your external harddrive, the master file table (MFT) and its copy (MFTMirr) are seemingly no longer consistent. You might want to fix it using the Linux tool ntfsfix on the command line. Connect the hard drive to your System.Open a terminal by CTRLALT+t. To sum it up Enter sudo ntfsfix /dev/sdb1 in the terminal and press Enter. You will be asked for ...


0

The answer to this question solved this problem for me: Prevent USB Drives from auto-remounting after remove In particular, I used the command gvfs-mount --eject "file:///media/$USER/DISK_LABEL" with '$USER' replaced by my username and 'DISK_LABEL' replaced by the name of the drive (e.g. TOURO, 16GB_USB, etc.)


1

Read this article if you are unfamiliar with mounting filesytems in linux. In Linux, if you, or any other program (CodeBlocks in this case) has to run a file, the file should have executable permissions. These functionalities are not supported by the fat32 filesystem. Normally if it was a filesystem that supports this feature, you could have give the file ...


2

Just do anything I say you can solve it (on your windows System) 1- go to power option 2- On left side click on "Choose what the power button does" 3- Click on "Change settings that are currently unavailable" 4- come to "Shutdown settings" 5- Unmark "Turn on fast startup (recommended)" Now you are done when you restart your Ubuntu System you won't face this ...


0

Install sftp package on Ubuntu machine: sudo apt-get update sudo apt-get install vsftpd Now it's working fine.


0

Had to format the card to ext and chmod to 777. Fstab did fix the other issue however.


0

B/ try changing ownership to user running php A/ add sdcard to /etc/fstab https://help.ubuntu.com/community/Fstab


1

You should be able to mount USB drives using any file manager by simply clicking on it or in command-line with the mount command: for that you would need to know where it is in /dev/ - easy way to find out: disconnect USB drive, type ls /dev/, connect it again, type the same command and see what changed, Let's suppose it was sdb and sdb1: Type mkdir ...


0

If you want to use it like encfs you can do it with the following entry in /etc/fstab /tmp/.geheim /tmp/geheim ecryptfs rw,no_sig_cache,ecryptfs_fnek_sig=1f7aefb9e239099f,ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptfs_enable_filename_crypto=y,ecryptfs_passthrough=n,passphrase_passwd=geheimpw,user,noauto 0 0 geheim is the german-word for secret, but ...


0

If indeed mycontainer is unprivileged, then its owner might not have access to the path /pool/mydataset. Users in unprivileged containers have their uid offset on the host by the container-owner uid, so user1 inside the container isn't the same as user1 on the host. You can check what user on the host owns the container with sudo ls -l /pool/lxc | grep ...


0

I was having trouble accessing the windows HD via ubuntu because when you shut down windows 10 by default it hibernates rather than shuts down. I hadn't been able to use the custom mount option remove_hiberfile... it just didn't work. Also, I tried other NTFS tools that were available and none worked. After googling a while I did what any responsible geek ...


1

You need to install the following: exfat-fuse - read and write exFAT driver for FUSE exfat-utils - utilities to create, check, label and dump exFAT filesystem So your computer can finally see the exFAT formatted stick of yours. to install use the following line in terminal (ctrl+alt+t): sudo apt-get install exfat*


0

try testdisk here is a link to a forum thread of someone with a simmilar problem who used testdisk to fix a PBR problem http://ubuntuforums.org/showthread.php?t=2129262


0

Ubuntu is not very good at repairing NTFS. In order to reduce the chance of lost data, I suggest you run check disk from a Windows box. Don't know how to do that? http://www.howtogeek.com/howto/windows-vista/guide-to-using-check-disk-in-windows-vista/


0

You root partition is full (Mounted on /). Since /tmp is a directory on / you have (at least) two options: a) Increase size of /. You may do this for example with the GParted live disk: http://gparted.org/livecd.php b) Mount another partition on /tmp. For this you need to add an entry to your /etc/fstab file like this: /dev/sdb1 /tmp ext4 ...


0

I found a command line method that works as well. I didn't try Furius ISO as I didn't want to install a program just to mount .IMG files and I also didn't want to run any GTK software on my Qt/KDE system. First you need add the .img file if it is a full disk like mine was. sudo losetup -f -P imageFileName.img Then you need to figure out what loop back ...


0

Similar symptoms as a Meizu phone user except for the error code value. Have you tried another USB stick or another USB device such as a backup drive? Got a friend who could loan you a known working USB stick or another USB device? Have you tried every USB port that you have?


0

You have tried your Meizu on another PC already? Got a pal nearby who could help you? Is the Meizu setup to act like a USB "disk drive". The logs suggest that you are having USB communications problems. I would try the following: Try moving the USB cable to a different USB port connector. Maybe, you are trying a front panel USB connector and the front ...


0

I believe you have to remount the partition/disk in read/write mode. I had same problems with one of newly created partitions. Try sudo mount -o remount,rw /PartitionID /MountPoint Enter the right PartitionID and MountPoint.


0

You can also automatically mount USB devices on Ubuntu Server with the help of USBmount. Make sure you run apt-get update/upgrade before starting the installation: sudo apt-get update && sudo apt-get upgrade Now install USBmount from the repositories: sudo apt-get install usbmount USBmount mounts all USB drives in /media/usb* (usb0, usb1, usb2 ...


0

Managed to figure it out. The 'only root can mount //freenas/mast/ on /media/plexshare' issue I was getting was because I was trying to mount using the gui in the file manager, using 'sudo mount -a' or adding users to the fstab options fixed this. I was then getting a mount error 115. I fixed this simply by replacing 'freenas' with the IP of the machine ...



Top 50 recent answers are included