Сбой монтирования (неизвестная файловая система) в virtualbox в Ubuntu 14.04 и Windows 7 в качестве хоста после установки GuestAdditions

10596
kernel

Я использую виртуальную коробку 4.3.6 в Windows 7 ПК. Я пытаюсь запустить Ubuntu 14.04. После установки Ubuntu, так как дисплей был в низком разрешении, я попытался установить VirtualboxGuestAdditions. Я скачал VBoxGuestAdditions_4.3.10.iso и выполнил следующие шаги: монтирование неизвестного типа файловой системы vboxsf.

Теперь я получил оптимальное разрешение, но я не могу смонтировать общую папку.

Я использовал команду.

mount -t vboxsf sharedFolderName DestinationFolder 

Теперь я получаю сообщение об ошибке неправильного типа FS. Я пытался проверить ошибку с помощью команды

dmesg 

и получил

sf_read_super_aux err = -22 

Что я сделал не так ?? Я использовал тот же метод в виртуальном образе fedora, но с другой версией VBoxGuestAddition.

1

3 ответа на вопрос

6
msoliman

I've fixed mine using the following way:

1) Update system's packages

$ sudo apt-get update 

2) install virtual box guest additions (referenced from here)

$ sudo apt-get install virtualbox-guest-additions-iso 

3) Now install guest additional package (Crucial step! People generally miss this which creates an error “Unknown file type “vboxsf”)

$ apt-get install virtualbox-guest-utils 

NOTES:

You might face the following problems:

  • No such device:

    root@packer-virtualbox-iso:~/new# mount -t vboxsf new ~/new

    /sbin/mount.vboxsf: mounting failed with the error: No such device

-> YOU HAVE TO RESTART TO ALLOW CHANGES TO TAKE EFFECT.

  • you might experience the following error:

    vagrant@packer-virtualbox-iso:~$ sudo mount -t vboxsf new ~/new

    /sbin/mount.vboxsf: mounting failed with the error: Protocol error

-> TO RESOLVE THIS, YOU MIGHT HAVE TO CHANGE THE NAME OF THE MOUNTING DEVICE/FOLDER (e.g. here is new)

-> OR FOLLOW THIS if NOT FIXED (REF)

  1. Made shared folder on host system, D:\Virtual Box\shared;
  2. Ran VirtualBox;
  3. Ran virtual machine;
  4. Linux finished booting, I logged in;
  5. I added shared folder D:\Virtual Box\shared, named it “shared”;
  6. I made guest shared folder being logged as a user, called it “shared_folder”. /home//shared_folder;
  7. $su;
  8. Being logged as a root I mounted the shared folder: #mount -t vboxsf shared /home//shared_folder;
  9. And all began to work.

May be the problem was host and guest folders should be the same names?

Слава Богу! Почему это не имеет больше голосов ??? Полностью решает мою проблему с ошибкой неизвестного типа файла «vboxsf», когда я уже установил VBox Additions! Akh 7 лет назад 0
1
kernel

After searching web a lot i got some info regrading this from VirtualBox.org itself. In this new version of Guest Additions it has missed a symlink while installation. This breaks the path of /sbin/mount.vboxsf so that the mount command fails.

Using this command i was able to fix the bug.

sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions 
0
c0d3Sc1b3r

Вы не монтируете .is таким образом.

  1. открыть виртуальный ящик главного экрана.
  2. выберите свою машину.
  3. выберите «настройки».
  4. выберите пункт «хранение».
  5. один из контроллеров должен иметь опции «диск», то есть DVD \ CD-привод, если нет, вы можете добавить один, используя значок диска, один раз выбирая контроллер (тот, что с «+»).
  6. если у вас есть файл, вы можете изменить .iso-файл, который он использует, в разделе «Атрибуты» справа.
@c0dd3 I have followed the same steps . After adding the *.iso file I logged in to Ubuntu and installed VBOXlinuxAdditions. But Still Getting the same error. kernel 10 лет назад 0

Похожие вопросы