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 with fdisk (some versions use cfdisk), format them as ext3, and then reboot:

# fdisk /dev/sda

Then type:

“n” (new partition)

“p” (primary partition)

“1” (1st partition)

“1” (first cylinder)

“261” (end cylinder; this leaves about half of a 4 GB disk for the 2nd partition)

“n” (new partition)

“p” (primary partition)

“2” (2nd partition)

“262” (262nd cylinder)

“522” (last cylinder on this 4 GB disk)

“w” (write the partition table)

#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, edit the kernel boot line and add DATA=sda1 SDCARD=sda2 so those partitions are used for data and the sdcard.

Feedback about page:

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



Table Of Contents