Questions tagged [mount]

Mounting takes place before a computer can use a storage device. The command to make a storage device accessible is under *nix "mount"

Filter by
Sorted by
Tagged with
10
votes
4answers
18k views

How to list all major partitions with their labels?

I want to figure out all partitions on my device together with their resp. mount points or labels (i.e. to know which partition is holding system, recovery, boot, etc.). This needs to be device ...
3
votes
1answer
105 views

How to identify the app/process which re-mounts partitions R/W, creates files and changes file permissions?

I have a rooted device, with superuser rights granted to a few apps I trust. I have often found my /system or /vendor partition mounted read/write, and some files chmoded to 0777. Similarly ...
55
votes
2answers
309k views

How to mount /system rewritable or read-only? (RW/RO)

How can I mount the /system directory rewritable or read-only on my Android phone?
14
votes
6answers
74k views

Can't remount /system in rw

I try desesperately to push an app with adb on the /system/app folder (to install the PlayStore on my low cost tablet). So i tried to remount the /system partition with root rights : mount -o ...
0
votes
1answer
1k views

Partition gets unmounted automatically in Android Oreo

I have Android phone running Oreo 8.1.0. I have two partitions in sdcard. One partition is ext4 formatted. I mount it using: mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/sdext2 But after some time,...
3
votes
2answers
812 views

Is there any way to recover data from 2nd SD partition?

From the beginning. I was using Link2SD in order to save up some internal memory, but today I noticed that all apps moved to to second partition (EXT2) magically disappeared. I don't want to repair ...
4
votes
2answers
12k views

How do I mount a Kindle Fire 10.2.6 on my Linux computer?

I just acquired a newish Kindle Fire, software version 10.2.6. Normally when I plug a Kindle or any USB device into my laptop (running Ubuntu 12.04) I get a popup screen asking me what I'd like to do ...
6
votes
2answers
30k views

Mount a folder from external sd as /data

How do I mount /mnt/sdcard/data as /data. Right now the /data has its own partition but it's too small (~500mb) and I would much rather give it more space than move apps and other things to my SD card....
26
votes
5answers
63k views

What's the Android equivalent of /etc/fstab?

Sometimes I really wish they hadn't messed around with Linux so much! I know there's an /etc/fstab in there somewhere, but where? I'd like to mount some partitions with alternative filesystems (...
7
votes
3answers
14k views

Mount Android encrypted data partition on PC

My Nexus 4 screen met a tragic end due to violent contact with flooring tiles. Everything works except the touchscreen (which displays fine but does not react to touch any more). I would like to get ...
2
votes
4answers
18k views

Windows mount android file system

I want to edit some files on my phone but I can not access the root folder on my phone. I'm using a rooted Google Nexus 5 running Android 5.0. I can read/write to my /, and /system by Android's ES ...
3
votes
3answers
9k views

External Ext4 card mounted only for root (!) on Android 5.1 64 bits

In short: if I mount my Ext4 8GB SD card, only root (SU) can see it. The rest of users (so, the rest of apps) don't detect it. As long as my Ext4 SD card is not correctly mounted (Android always ...
6
votes
6answers
61k views

Android ADB Shell Recovery Mounting

*Question: I need assistance mounting an Android phone's internal data using the Android ADB Shell while the unit is connected via USB and in recovery mode. How do I form a proper mount command? See ...
1
vote
1answer
2k views

Cannot boot Android-x86 on PC - Emergency remount

I have a 10.1 inch notebook with Linux, but would like to dualboot with Android x86. The ISO file works perfectly in VirtualBox, VMware, and on Live USB. I have tried both install from the Install ...
1
vote
0answers
843 views

How to make bind-mounted (mount -o bind) folders visible for non-root users?

I want to mount-bind an app data folder in /data/data/... to a user subfolder in order to automatically synchronise the contents for backup purposes. As root I use the following command: mount -o ...
6
votes
2answers
18k views

How to extract stock apk from TWRP backup?

I installed TWRP recovery on my phone and backed up the system, data and boot partitions before installing CM12.1. I would like to extract one stock apk (FM radio) from the backup on a Linux system. ...
2
votes
1answer
18k views

Change Mount Point for SD Card?

As this question Why is the SD-card mounted to "/sdcard/external_sd" instead of "/sdcard" (or "/mnt/sdcard")? points out, newer versions of Android often point the /mnt/...
1
vote
1answer
542 views

How to remount sdcardfs to allow setting file permisions / ownerships?

I have a rooted OnePlus One running LineageOS 15.1 (Oreo 8.1). I am trying to adjust some file permissions/ownerships on the emulated sdcard partition. The partition seems to be mounted as an ...
10
votes
1answer
23k views

Since which Android version is exFat supported?

Which Android version supports exFat, if at all? The web seems unclear about that. Thanks!
1
vote
0answers
5k views

Internal hard disk partitions (sda2) not showing in android system

I have a x86 system (Asus Eee Pc)having hard disk of 232 GB, in which 4 GB allocated for Android and rest I don't know where it is gone. If I open super user and running this command in android ...
1
vote
2answers
11k views

Remount /system rw

i'm new here, so i apologize in advance if this is a n00bish question: how could one remount /system (or any partition, for that matter) in rw and allow suid on a booted system via ADB wifi? here's ...
0
votes
1answer
8k views

Getting mount's usage suggestion when attempting /system remount [duplicate]

I'm trying to remount system on a rooted Samsung GT-S6102 running Android 2.3.6: # mount -o rw,remount,rw /system Usage: mount [-r] [-w] [-o options] [-t type] device directory This is exactly like ...
18
votes
2answers
71k views

How to mount SMB/CIFS Network Shares on android device?

I have a rooted android device running on gingerbread. I was wondering if there is a way to mount my windows CIFS(Common Internet File System) Shares on my android device over WiFi. Is it required to ...
5
votes
5answers
48k views

How to find out if my Device's Kernel has Loop Device Support

I would assume most all of you know why I am asking this, but for those who don't, Loop Device Support of a Kernel on an Android device is utilized to mount a Linux Distro IMG file (Ubuntu or Debian, &...
3
votes
1answer
5k views

Internal and external SD storage inaccessible as root

I'm having a bizarre issue where apps, adb, etc. can properly access my internal and external SD storage without issue unless they are running as root, in which case they are completely inaccessible. ...
11
votes
1answer
20k views

Failed on cp file to /system - Cross-device link

I'm trying to mv .apk file from my /sdcard to /system and getting following error: failed on 'XXX.apk' - Cross-device link I did remount my /system as rw root@ghost:/ # mount -o rw,remount /dev/...
7
votes
1answer
4k views

How to “mount --bind” directories in Android 4.4?

I am just wondering is there a way to bind an internal /sdcard folder to another internal /sdcard folder and normal apps can write into it for Android versions since 4.4? I have a folder named ./...
3
votes
2answers
953 views

Mounting .img from internal storage as USB Mass Storage

I am trying to mount an .img file from my internal storage as Usb Mass Storage. There is an Android App named DriveDroid which does exactly what I wanted. I tested with this app and the app ...
5
votes
2answers
13k views

Specifying SD card mount options upon boot

I have an Archos 101IT with a 16G external SD card. The SD card contains one partition that is formatted as an ext3 file system. The Archos runs UrukDroid 1.6.4 (Froyo 2.2). The Problem: When booted, ...
3
votes
2answers
7k views

Can i mount loopdevice in Android?

I have rooted my android phone and get a shell thr adb. I wanna mount a ROM image in android. But I always fail: mount -o loop /sdcard/myimage.img /mnt mount: can't setup loop device: No such file or ...
1
vote
2answers
4k views

How do I view/mount nandroid file on device?

From Android's terminal, I tried to mount a nandroid img: losetup -f gives "/dev/loop0". However, when I try losetup /dev/loop0 /sdcard/nandroid/... data.img it says no such directory. Same thing ...
3
votes
2answers
6k views

How to mount a ext2 partition in sdcard

I don't want to use fat32, I want use the more stable ext2.
3
votes
1answer
3k views

Does Cyanogenmod Kernel support loop devices?

Since I am failing to mount a Nandroid image and since I have read that the kernel needs to support loop devices for that I need to know if anybody has managed to mount a loop device on CM7 or similar....
2
votes
1answer
10k views

Can't mount /system as read/write, even though I'm rooted

My phone is rooted, and I tried to remount the system partition in a terminal emulator like so: mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system mount -o rw,remount /system Both commands ...
1
vote
1answer
2k views

Unable to mount Galaxy S2 on Debian Squeeze laptop as storage device

I am trying to mount my Galaxy S2 on Debian Squeeze laptop. I turned off USB debugging and then in: "Wireless & Networks" → "USB Utilities" → "Connect storage to PC" it asks me to connect a USB ...
1
vote
2answers
54k views

Link2sd gives “Mount script error”

Im using a rooted Samsung Galaxy ACE with 2.3.4. I installed link2sd and I have a 1Gb ext2 (I tried with fat32 also with the same result) partition. After starting the app and selecting the partition ...
0
votes
0answers
59 views

mounting multiple ext4 partitions in Android 7+

I am doing away with exFat for my Microsd card after all my pictures decayed , corrupted and the directory was locked. I cant seem to write into a specific directory. chkdsk will just plain abort ...
4
votes
3answers
6k views

How to create start up scripts using the init.d folder?

In this answer to a question I asked a while ago, he said it's possible to have a script executed every boot. I created a file (without extension) that contains the following: #!/system/bin/sh ...
3
votes
4answers
893 views

Why Android can't be just mounted?

I read a lot about rooting android, that it is risky, that I can mess all and get my device completely dead and nothing can be done about it. So my question -- why all these phones can't be just ...
3
votes
1answer
11k views

cannot mount sdext for link2sd?

I have a huawei u8160 running Cyanogenmod 7.2. when I restart my phone I have to remount the sdext myself using terminal emulator. su mount -t ext2 /dev/block/mmcblk0p2 /data/sdext2 but now it ...
2
votes
1answer
2k views

Device doesn't mount in Ubuntu 12.04

I have an Android device (ICS) and it is visible and perfectly usable via ADB in Ubuntu 12.04. However Ubuntu can't mount it. I can't find it on /mnt or /media. How is that possible? I know there ...
2
votes
1answer
12k views

/system cannot be remounted as RW, even when rooted (Sony Xperia E3)

I rooted my Sony Xperia E3 (D2203) a while ago using Kingroot, which worked flawlessly. Before rooting my device, /system could be accessed, which is how root was installed in the first place. ...
1
vote
1answer
77 views

How to fix sdcard empty under root with Kingoroot?

My sdcard is empty when I use su. I have gained root using Kingoroot. This answer shows the SuperSU solution (mount namespace separation). How to mount an sdcard to su? What additional information ...
1
vote
2answers
2k views

“mount” on 2.3.4 is Behaving Oddly

I'm on Nexus S, 2.3.4, stock and rooted. BusyBox is v1.18.4 (2011-03-20 15:16:04 CDT). When I try to remount ANYTHING it just $ mount -o remount,rw /system Usage: mount [-r] [-w] [-o options] [-t ...
1
vote
1answer
849 views

how to enable Android apps to browse user mount points in /mnt

I want to access and work on my remote documents (such as .docx, .xlsx, etc... and pdfs) from within my apps. For this, I have created a cifs mount point from a network sdcard (NTFS v3.1) to my ...
1
vote
1answer
1k views

Create symlink/mount/bind in root [closed]

I want to compile (through make) on my Android phone. I have root access. I have almost all the things set up. But there's this hitch. All the configure files have a shebang of #!/bin/sh. I can ...
0
votes
1answer
27k views

Mount script cannot be created. mount: No such file or directory

I have micromax bolt a58, I have rooted it with farmaroot and install link2sd but it didnt work when i formatted it with ext2 it says try with fat32, and when i do so it gives error - Mount script ...
0
votes
1answer
2k views

mounting google nexus s on linux at fastboot mode screen

I have looked at similar questions but could find an answer. Device: Samsung google nexus s i9020 OS: Android 4.1.2 The phone mounts when the OS has loaded and when there is an option to enable usb ...