Mounting shared folder in linux guest during initramfs fails
Posted: 29. Sep 2012, 23:42
Hi!
In an initramfs of my own creation, I am trying to mount my linux guest root filesystem from a shared folder on the host.
Into the initramfs I have packed up the guest additions, kernel modules, and required libraries, and, when dropping to a busybox shell in the initramfs, all appears well at first.
For example:
fails with "no such device", and
fails with "Operation not permitted".
Please help! Am I doing anything known by others to be wrong? Where else can I dig for clues? Any suggestions welcome. Please also let me know if I can clarify or add any details to help.
Thanks,
Chet
In an initramfs of my own creation, I am trying to mount my linux guest root filesystem from a shared folder on the host.
Into the initramfs I have packed up the guest additions, kernel modules, and required libraries, and, when dropping to a busybox shell in the initramfs, all appears well at first.
- The modules (vboxguest.ko and vboxsf.ko) load successfully, with no errors (in dmesg, anyway);
- The "vboxguest-service" executable starts successfully; and
- "VBoxControl sharedfolder list" shows me the correct shared folders available from the host.
For example:
Code: Select all
/bin/mount -t vboxfs sharename /mnt/sharenameCode: Select all
/sbin/mount.vboxsf sharename /mnt/sharenamePlease help! Am I doing anything known by others to be wrong? Where else can I dig for clues? Any suggestions welcome. Please also let me know if I can clarify or add any details to help.
Thanks,
Chet