Virtual hard drive Setup for SDCARD Support

suggest change

With the virtual hard drive just created, boot the virtual machine with the android-x86 image in the optical drive.

Once you boot, you can see the grub menu of the Live CD

Choose the Debug Mode Option, then you should see the shell prompt. This is a busybox shell. You can get more shell by switching between virtual console Alt-F1/F2/F3.

Create two partitions by fdisk (some other versions would use cfdisk). Format them to ext3. Then reboot:

# fdisk /dev/sda

Then type:

“n” (new partition)

“p” (primary partition)

“1” (1st partition)

“1” (first cylinder)

“261” (choose a cylinder, we’ll leave 50% of the disk for a 2nd partition)

“2” (2nd partition)

“262” (262nd cylinder)

“522” (choose the last cylinder)

“w” (write the partition)

#mdev -s
#mke2fs -j -L DATA /dev/sda1
#mke2fs -j -L SDCARD /dev/sda2
#reboot -f

When you restart the virtual machine and the grub menu appears and you will be able edit the kernel boot line so you can add DATA=sda1 SDCARD=sda2 options to point to the sdcard or the data partition.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Android x86 in VirtualBox:
* Virtual hard drive Setup for SDCARD Support

Table Of Contents
2 Gradle
5 Intent
17 Service
19 WebView
31 SQLite
35 Glide
37 Dialog
38 ACRA
44 Handler
53 Toast
63 Menu
65 Picasso
70 Volley
71 Widgets
78 Realm
90 Spinner
95 OkHttp
108 TextView
109 ListView
111 Loader
118 Xposed
119 Security
121 ImageView
123 Doze Mode
130 Drawables
131 Colors
134 Fresco
139 AdMob
145 Keyboard
146 Button
150 EditText
155 Vk SDK
163 ExoPlayer
169 XMPP
175 OpenCV
177 Threads
184 ORMLite
186 TabLayout
190 LruCache
192 Zip files
194 Fastlane
199 FileIO
202 Moshi
210 VideoView
216 Paint
218 ProGuard
226 CleverTap
228 ADB shell
229 Ping ICMP
230 AIDL
234 Context
239 Android x86 in VirtualBox
240 JCodec
242 Okio
249 FuseView
254 Looper
261 Fastjson
263 Jackson
267 Smartcard