How to use a logical disk partition as an sdcard in Android-x86

122 views
Skip to first unread message

Vagner Araujo

unread,
Apr 29, 2020, 1:06:04 AM4/29/20
to Android-x86

Android-x86 9r2 runs beautifully on my netbook and it can even mount USB sticks as SD cards, but now I would like to use an available hard disk space (logical partition, /dev/sda5) as a permanent SD card.

Is this possible?

youling 257

unread,
Apr 29, 2020, 1:11:41 AM4/29/20
to Android-x86
use it as /storage/emulated/0?
format it to adoptable storage?

Vagner Araujo

unread,
Apr 29, 2020, 10:29:35 AM4/29/20
to Android-x86
Hi,

"use it as /storage/emulated/0?"
this directory already contains the folders created by Android, for example, Alarms, Pictures, Download and etc ...

My android is installed on the / dev / sda4 partition.
I have a partition in /dev/sda5 formatted as vfat. So I would like to use this partition as a sdcard.
I tried to mount the partition in /mnt/tmp and then use the command below:
:/# vdc volume /mnt/tmp

but the return is as follows:
vdc V 04-29 11:21:42 28952 28952 vdc.cpp: 50] Waited 0ms for vold
vdc E 04-29 11:21:42 28952 28952 vdc.cpp: 109] Raw commands are no longer supported

Is there any way to mount an internal disk partition like an sdcard?

youling 257

unread,
Apr 29, 2020, 11:04:46 AM4/29/20
to Android-x86
edit cmdline SDCARD=sda5
https://www.android-x86.org/documentation/sd_card.html

在 2020年4月29日星期三 UTC+8下午10:29:35,Vagner Araujo写道:

Vagner Araujo

unread,
Apr 29, 2020, 1:06:29 PM4/29/20
to Android-x86
edit cmdline SDCARD=sda5

    It's work... :-)

On the grub boot screen, I pressed the "e" key and at the end of 'quiet' I added 'SDCARD = sda5' and it worked ... But when using the tablet's internal storage, the following error message appeared:

Polish_20200429_132820680.png


Polish_20200429_132820680.png

Vagner Araujo

unread,
Apr 29, 2020, 1:13:48 PM4/29/20
to Android-x86

Polish_20200429_140911085.png

 
Polish_20200429_140911085.png
Reply all
Reply to author
Forward
0 new messages