Is there a way to mount the Windows NTFS drive on Android-x86?

2,309 views
Skip to first unread message

Russ B

unread,
Nov 28, 2016, 3:23:22 AM11/28/16
to Android-x86
Is there a (fairly simple) way to mount the Windows NTFS drives (on the same system) on Android-x86?

I saw this on PhoenixOS,  but Android-x86 doesn't seem to include this feature. 

youling 257

unread,
Nov 28, 2016, 4:25:02 AM11/28/16
to Android-x86
edit fstab.android_x86 or fstab.android_x86_64 ,https://source.android.com/devices/storage/config.html ,Android 6.0+ portable storage .

u0_a25@x86:/ $ su
root@x86:/ # df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/block/mmcblk1p3     10.0G      5.7G      3.9G  59% /
/dev/loop1                1.3G      1.2G     61.2M  95% /system
/dev/block/mmcblk1p3     10.0G      5.7G      3.9G  59% /data
/dev/block/vold/public:179_1
                         96.0M     62.1M     33.9M  65% /mnt/media_rw/9E35-2475
/dev/block/vold/public:179_2
                         19.0G     10.8G      8.2G  57% /mnt/media_rw/A4AE40E7AE40B398
/dev/block/vold/public:179_33
                          4.0G      1.8G      2.2G  46% /mnt/media_rw/8088-080F
/dev/block/vold/public:179_34
                         10.8G      7.4G      3.3G  69% /mnt/media_rw/C4281238281229C6
/dev/block/vold/public:179_35
                          5.0G      1.2G      3.5G  26% /mnt/media_rw/db62f128-afd9-401b-9d49-c38974aec5ff
/dev/block/dm-0           9.7G      4.1G      5.3G  44% /mnt/expand/d08e55bb-f276-4967-b6e9-e42dca4420fd
/dev/block/vold/public:8_17
                         58.3G     19.8G     35.6G  36% /mnt/media_rw/c7f7eb6e-0ebe-46c0-897b-9981fcb5f40a

root@x86:/ # blkid
/dev/loop2: TYPE="squashfs"
/dev/loop1: LABEL="system" UUID="da594c53-9beb-f85c-85c5-cedf76546f7a" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/block/sdb1: LABEL="KINGSHAR" UUID="c7f7eb6e-0ebe-46c0-897b-9981fcb5f40a" TYPE="ext4"
/dev/block/dm-0: UUID="d08e55bb-f276-4967-b6e9-e42dca4420fd" TYPE="f2fs"
/dev/block/vold/public:8_17: LABEL="KINGSHAR" UUID="c7f7eb6e-0ebe-46c0-897b-9981fcb5f40a" TYPE="ext4"
/dev/block/vold/disk:253_0: UUID="d08e55bb-f276-4967-b6e9-e42dca4420fd" TYPE="f2fs"
/dev/block/vold/public:179_35: LABEL="SDCARD1" UUID="db62f128-afd9-401b-9d49-c38974aec5ff" TYPE="f2fs"
/dev/block/vold/public:179_34: LABEL="SDCARD" UUID="C4281238281229C6" TYPE="ntfs"
/dev/block/vold/public:179_33: LABEL="UUI" UUID="8088-080F" TYPE="vfat"
/dev/block/vold/public:179_3: LABEL="Android-x86" UUID="ad6d9604-20c4-4814-9b04-00ad27fd8256" TYPE="f2fs"
/dev/block/vold/public:179_2: LABEL="WINDOW" UUID="A4AE40E7AE40B398" TYPE="ntfs"
/dev/block/vold/public:179_1: LABEL="ESP" UUID="9E35-2475" TYPE="vfat"
/dev/block/vold/disk:7_0: TYPE="squashfs"
/dev/block/vold/disk:7_2: TYPE="squashfs"
/dev/block/vold/disk:7_1: LABEL="system" UUID="da594c53-9beb-f85c-85c5-cedf76546f7a" TYPE="ext4"
/dev/block/loop0: TYPE="squashfs"
/dev/block/loop2: TYPE="squashfs"
/dev/block/loop1: LABEL="system" UUID="da594c53-9beb-f85c-85c5-cedf76546f7a" TYPE="ext4"
/dev/block/mmcblk1p2: LABEL="WINDOW" UUID="A4AE40E7AE40B398" TYPE="ntfs"
/dev/block/mmcblk1p1: LABEL="ESP" UUID="9E35-2475" TYPE="vfat"
/dev/block/mmcblk1p3: LABEL="Android-x86" UUID="ad6d9604-20c4-4814-9b04-00ad27fd8256" TYPE="f2fs"
/dev/block/mmcblk2p3: LABEL="SDCARD1" UUID="db62f128-afd9-401b-9d49-c38974aec5ff" TYPE="f2fs"
/dev/block/mmcblk2p2: LABEL="SDCARD" UUID="C4281238281229C6" TYPE="ntfs"
/dev/block/mmcblk2p1: LABEL="UUI" UUID="8088-080F" TYPE="vfat"
root@x86:/ #

在 2016年11月28日星期一 UTC+8下午4:23:22,Russ B写道:

youling 257

unread,
Nov 28, 2016, 4:29:29 AM11/28/16
to Android-x86
SDCARD=sda5 ,SDCARD=mmcblk1p5,just mount sda5 or mmcblk1p5,isn't a simple way .


在 2016年11月28日星期一 UTC+8下午4:23:22,Russ B写道:
Is there a (fairly simple) way to mount the Windows NTFS drives (on the same system) on Android-x86?

Russ B

unread,
Nov 28, 2016, 5:01:34 AM11/28/16
to Android-x86
I tried adding SDCARD=sda5 to Android kernel command line (boot parameters). I now see my NTFS volume in the "Storage" control panel, but it says the SDCARD is "corrupted". I know the volume is fine because I have checked it while booted under Windows 10.
G
Message has been deleted

youling 257

unread,
Nov 28, 2016, 5:36:24 AM11/28/16
to Android-x86
if system.sfs or system.img and data.img on sda5,Android x86 initrd.img auto mount sda5 on /mnt,mount /mnt/$SRC/system.img or /sfs/system.img on /android/system,data.img on /android/data,if before mounted one partition,portable storage will show “corrupted” .
if vold 3.0 isn't support partition type,portable storage will show “corrupted”,6.0 r1 vold 3.0 support vfat、NTFS、exfat、ext4、f2fs .
if Windows partition enable hibernate,portable storage will show “corrected” .

在 2016年11月28日星期一 UTC+8下午6:01:34,Russ B写道:

Krister Hallergard

unread,
Nov 30, 2016, 3:30:50 AM11/30/16
to Android-x86
For Android-x86 SDCARD=sdax (or sdbx etc) has worked for me for a couple years, except a brief period a year ago, when it was abandoned.  I think ability to mount Windows NTFS is an important feature, and Android-x86, RemixOS and PhoenixOS do that in three different ways: https://youtu.be/_6cwG3THPbY

Russ B

unread,
Nov 30, 2016, 1:33:29 PM11/30/16
to Android-x86
I tried adding "SDCARD=sda5" to the Android-x86 kernel command line. That did cause Android-x86 to try loading my NTFS C: drive.... But unfortunately, when I look in the "Storage & USB" settings, it says the drive is corrupted.

Note that RemixOS tries to load the drive (without having to use the "SDCARD="), but it says it's corrupted as well. PhoenixOS loads the drive (without using "SDCARD="), and has no trouble reading the drive.

FYI... The NTFS partition is on the 1st drive (SSD #0), and the 5th partition, which is a primary partition. My guess as to why Android-x86 and RemixOS are having problems with it is that there are compressed folders on the driver.

Russ B

unread,
Nov 30, 2016, 1:33:34 PM11/30/16
to Android-x86

Krister Hallergard

unread,
Nov 30, 2016, 1:46:10 PM11/30/16
to Android-x86
Have you tried StickMount?

Russ B

unread,
Nov 30, 2016, 9:26:51 PM11/30/16
to Android-x86
I don't know what "StickMount" is.

Povilas Staniulis

unread,
Nov 30, 2016, 9:52:37 PM11/30/16
to andro...@googlegroups.com
On 2016.12.01 04:26, Russ B wrote:
> I don't know what "StickMount" is.
>
It's an app.

Luis G. Jimenez R.

unread,
Dec 27, 2018, 12:22:37 AM12/27/18
to Android-x86
hello, y see this is an old post so i guess there would be by now a simpler way to do so i also need to mount my nfts disk on my android x86
im planing to use it as my day to day OS but need to access my data on my 1 TB data disk

KUCHID

unread,
Dec 27, 2018, 2:12:35 AM12/27/18
to Android-x86
Try this,

Run FX File Manager > System (root) > mnt > runtime > default > disk 0 disk 1 ... etc. - Bookmark them.

Krister Hallergard

unread,
Dec 27, 2018, 2:32:28 AM12/27/18
to andro...@googlegroups.com
Yes, add this to your kernel command line: "sdcard=sda1" if that is the ntfs drive partition you want to mount at boot time. 

On 27 Dec 2018 07:12, "KUCHID" <rasy...@gmail.com> wrote:
Try this,

Run FX File Manager > System (root) > mnt > runtime > default > disk 0 disk 1 ... etc. - Bookmark them.


--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/WI40EVnJM6w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

Luis G. Jimenez R.

unread,
Dec 30, 2018, 3:02:05 PM12/30/18
to Android-x86
thank you so much  for your answer, but i do not know how to do that, i guess it involves some command lines in some program like  DOS but why do't we imagine i'm an idiot and please explain to me how do i do that, where do i do that, where do i start, how do i end, some steps please that would be nice too
i am kind of an enthusiast of android but i am not a programmer but i'll be happy to learn at least the basic stuff to achieve this at least 

Asim ALi

unread,
Dec 30, 2018, 11:21:44 PM12/30/18
to andro...@googlegroups.com
use stickmount from Chainfire (Requires Root)

You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.

Krister Hallergard

unread,
Dec 31, 2018, 5:52:49 AM12/31/18
to Android-x86
Assuming that you have installed Android-x86 to a USB-stick, then do as follows.
1.  Boot Windows on your PC
2.  Attach the USB-stick to the PC
3.  Mount the USB-stick (assuming the file system of the USB-stick is Fat32).  If the file system is Ext4 you might have install "Ext2fsd.exe" see link https://goo.gl/g2Pbpi 
4.  Locate the Android boot menu
4.1  If you installed (Legacy) Grub you will find "menu.lst" in the /Grub folder
4.2  If you installed EFI (Grub2) you will find "grub.cfg" in the /Grub or /Grub2 folder or in an EFI folder
4.3  Otherwise your boot loader is probably isolinux.  Locate "syslinux.cfg" in the /isolinux folder
5.1  Edit the menu: Add "sdcard=sda" (or wherever your ntfs disk is located) to the end of the line starting with "kernel" for 4.1 and 4.2, see also https://goo.gl/21QMP0 
5.2  Edit the menu for 4.3 by adding "sdcard=sda" to the line starting with "append"
6.  Restart your PC and boot Android-x86
7.  Navigate with your file manager to the level above the "Internal storage" (which is usually called "Home" or "Storage Locations" or "storage")
    and you should be able to find your ntfs partition.  Suggest you put a bookmark to there on you Home Screen, using the widget of your file  manager.
If you instead have installed Android-x86 to another partition on the PC or on another disk on the same PC, the procedure is pretty much the same, unless
you are using the Windows boot menu, in which case I suggest you use EasyBCD to edit the Windows boot menu.

Luis G. Jimenez R.

unread,
Dec 31, 2018, 8:59:31 AM12/31/18
to andro...@googlegroups.com
hello
thanks for your explanation, it led me here

title Android-x86 8.1-rc2
kernel /android-8.1-rc2/kernel quiet root=/dev/ram0 androidboot.selinux=permissive vmalloc=192M SRC=/android-8.1-rc2
initrd /android-8.1-rc2/initrd.img
i tried adding what you said  here like this .../kernel/sdcard=sda4... 
used the number 4 cause that was how i saw it was called in the boot menu when i was installing Android x86 but when i tried booting it gave me a booting error, had to access some editing menu, not sure how or what i did but it at least let me boot windows so i put things back the way they were  

by the way all lines start with kernel/
the file just have 4 tittles, this default one, debug mode, debug nomodeset  and debug video
the 4 tittles have the one line  starting with kernel, or maybe i do not know what a line is

so anyhow if you please bare with me some little more /\

i almost forgot
i installed on a HDD partition, one this with one windows partition and one ext4 partition for Android x86 and other HDD with the ntfs file system and all my files in it which i already said android at boot sees it as disk 4, ext 2 volume manager also sees it as volume 4 that's why i used sda4
Luis G Jimenez
Asesor de Productividad


                    


--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.

Krister Hallergard

unread,
Dec 31, 2018, 11:17:32 AM12/31/18
to Android-x86
You should add sdcard=sda1 at the end of the command line, like this
 
kernel /android-8.1-rc2/kernel quiet root=/dev/ram0 androidboot.selinux=permissive vmalloc=192M SRC=/android-8.1-rc2 sdcard=sda4

 I am not sure if sda4 is correct in your case.  If the wanted HDD is your second disk drive, and the ntfs is on the 4th partition (GPT disk - EFI install?) you should use sdcard=sdb4. 

PS I was Coromant Manager at Sandvik do Brazil in the earlie 80:ies DS

Luis G. Jimenez R.

unread,
Dec 31, 2018, 11:25:52 AM12/31/18
to andro...@googlegroups.com
thanks my friend, i will try it now
hey and what a coincidence, i do know know if i am still working with Sandvik
do not know if you are aware that latinamerica's administration recently pass from Argentina to Brasil and there was some kind of error passing by our accounting and now we are banned doe to some ghost debt
by now i am like a Sandvik Orphan hehe

Luis G Jimenez
Asesor de Productividad


                    

--

Krister Hallergard

unread,
Dec 31, 2018, 1:56:14 PM12/31/18
to Android-x86
Left Sandvik 30 years ago

Luis G. Jimenez R.

unread,
Dec 31, 2018, 2:14:53 PM12/31/18
to andro...@googlegroups.com
ha ha ha
almost all my life hahaha

Luis G Jimenez
Asesor de Productividad


                    

El lun., 31 de dic. de 2018 a la(s) 14:56, Krister Hallergard (khall...@gmail.com) escribió:
Left Sandvik 30 years ago

Krister Hallergard

unread,
Jan 2, 2019, 6:37:32 PM1/2/19
to Android-x86
Amigo - Any progress??
Reply all
Reply to author
Forward
0 new messages