size of floppy/SD card

Discussions related to using VirtualBox on Windows hosts.
Post Reply
pcu
Posts: 2
Joined: 1. Sep 2008, 22:14
Location: Belgium

size of floppy/SD card

Post 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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
pcu
Posts: 2
Joined: 1. Sep 2008, 22:14
Location: Belgium

Post 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
kavs
Posts: 4
Joined: 9. Dec 2008, 11:31

Post 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
kavs
Posts: 4
Joined: 9. Dec 2008, 11:31

Post 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
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Post 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.
Post Reply