Page 1 of 1

size of floppy/SD card

Posted: 2. Sep 2008, 13:59
by pcu
Hello,

My notebook is on win (hosts) and Kubuntu 8.04 for the guest. I would like to use the integrated SD cardreader.
The 1GB SD card in guest is under /dev/fd0 but if I format in ext2 filesystem I get a size of floppydisk (1.44MB).

With the live CD I can format to 1GB, but I can't read it under VB/Kubuntu, the message is something like "wrong file system" probably because it waits a floppy of 1.44MB.

I don't know how to configure Virtualbox.

Thank you.

Posted: 2. Sep 2008, 14:13
by Sasquatch
Best thing I can advise you, is to use Shared Folders on the mount point of the SD reader. Mounting it as a floppy will indeed provide a disk of 1.44 MB max or unreadable because it's larger or has an unexpected filesystem.

Posted: 2. Sep 2008, 15:20
by pcu
Good Idea.
But after some tests I can only share folder in format recognized by the hosts (on winXP). It works with SD in FAT32 not in ext2.

I would like to work with an embedded Linux which has a sdcard reader and I need an ext2 to write a copy of Linux. Then other file system are not important for me...

Pierre

Posted: 9. Dec 2008, 11:36
by kavs
Hi,
did u had success. can you share ur idea for ext2?

i am also having the same problem. I am evaluating this
so that we can use this for future distribution of images to customers

vanik

Posted: 9. Dec 2008, 12:54
by kavs
hi guys,

I found way myself :lol:

here is the method.

create the following
VBoxManage.exe internalcommands createrawvmdisk -filename sd-card.vmdk -rawdisk \\.\F:

F: is my sd-card reader.

Hope this helps
Vanik

Posted: 9. Dec 2008, 16:01
by mpack
One warning about that last suggestion: I suspect this would leave the guest OS unaware that this was a removeable drive. You would need to be very careful about fully shutting down the guest (not just hibernating), before removing the SD card.