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
19k 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 ...
4
votes
1answer
902 views

How to bind mount a folder inside /sdcard with correct permissions?

I am using a Sony Xperia M4 Aqua. As is well known, the internal memory is rather small. Especially the Media directory of WhatsApp uses a lot of precious space, therefore I am trying to move it to ...
3
votes
1answer
200 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
329k 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?
0
votes
1answer
2k 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,...
15
votes
6answers
77k 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 ...
3
votes
2answers
1k 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
13k 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....
2
votes
1answer
140 views

How to bind-mount “data” and “obb” folders from external SD card in “/sdcard/Android”?

Can someone help me mount my Android/data and Android/obb in my internal storage from my portable storage? I'm on a Pie ROM. I found this: How to bind mount a folder inside /sdcard with correct ...
26
votes
5answers
66k 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
15k 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
19k 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 ...
3
votes
1answer
1k views

Why (bind) mounts in /storage/emulated/0 are not visible in apps?

I mounted a directory into another directory with: mount --bind "/storage/sdcard/dir1" "/storage/sdcard/dir2" I do this at boot completion with Tasker. I can see the mounted files in adb shell and ...
1
vote
1answer
178 views

What is default “fstab” file in Android?

As I known, in Android 9, system and vendor are mounted in the first stage of init by parsing fstab from device tree. But, there is another fstab parsed in init process, it is device default fstab, ...
7
votes
6answers
62k 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
3k 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 ...
2
votes
1answer
926 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 synchronize the contents for backup purposes. As root I use the following command: mount -o ...
6
votes
2answers
19k 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. ...
3
votes
1answer
899 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 ...
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/...
13
votes
1answer
25k 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
72k 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 ...
6
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 ./...
4
votes
2answers
1k 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....
3
votes
2answers
1k views

Invoke /system/bin/sdcard manually via terminal

I am trying to mount an EXT4 formatted SD card under Cyanogenmod 13.1 (Android 6.0.1). So far, I have setup scripts to mount the card at /mnt/ext_sdcard during boot. My current understanding is that ...
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
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 ...
1
vote
0answers
82 views

Mounting portable SD card folder to internal folder (WhatsApp) - Tried EVERYTHING

******************** SOLVED *************** This is the main outcome of this thread, and how it was made to work. 1) WhatsApp will not work, if you only bind mount the Media folder in WhatsApp. I ...
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 ...
0
votes
0answers
165 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 ...
5
votes
1answer
7k views

TWRP: Failed to mount '/data'

When I try to install a ROM with TWRP, I get Could not mount /data and unable to find crypto footer. Failed to mount '/data' (Invalid argument) Unable to recreate /data/media folder. Updating ...
4
votes
3answers
7k 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
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 ...
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 ...
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
938 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 ...