Mounting the rest of the ext4 partitions of the Harddrive on Android x86 4.4 rc3

382 views
Skip to first unread message

Cristian Culciţchi

unread,
Oct 29, 2015, 1:54:32 AM10/29/15
to Android-x86
Hello,


I have a Compaq CQ58 Laptop running Linux Mint 17.2 Mate and Android x86 4.4 rc3. I have 5 partitions in total on my harddrive. The first ones I created for Linux (it was the initial OS) are all ext4, while the last one (sda5) created for android was formatted to ext2 during Android x86 installation (eventhough I had selected ext3, weird...)

My problem is that I don't know how to gain access to my other partitions from Android, more specifically the sda4, which is my /home folder, and which holds my music, documents etc.

I've searched the forum, but couldn't help myself from there, since I'm not that good at Linux and Android yet (specifically I need somebody telling me exact command lines and so on, because there are still a lot of things I need to learn), and since most of the searches similar to mine were about people having trouble mounting ntfs or other file system partitions into their Android.


Waiting for your replies! :-)

Cheers!

Cristian

Mike

unread,
Oct 29, 2015, 10:19:35 AM10/29/15
to andro...@googlegroups.com
I know this isn't really an "Answer" but couldn't you just drop the
files you want to the Android Media Directory from linux? Then you'd
have access VIA both Linux and Android, There is a Command to do It in
Android but I don't remember it.... Just an Idea....

Mike

Mark O.

unread,
Oct 29, 2015, 1:20:39 PM10/29/15
to Android-x86
Cristian,

The following steps should allow you to mount the other partitions:

   *Open the Terminal Emulator app
   *Type su and press enter. This should give you root access to the device.
   *Change directory/folder to your data directory by typing: cd /data/media/0 and then press enter.
   *Create a mount point directory for your "home" partition, type: mkdir home and then press enter (repeat as necessary for other partitions)
   *Mount the partition by typing: mount -t ext4 /dev/block/sda4 /data/media/0/home and then press enter.

You will still run into file permission issues if you attempt to access the home folder without root. You will probably have to boot back into Linux and set broader permissions on the directories you want to access from android-x86.
Please let me know if you need further assistance.
Thanks,
Mark
Reply all
Reply to author
Forward
0 new messages