Cannot mount loop device from within shared folder on 5.2.x -> fixed in 6.0.6
|Reported by:||thurask||Owned by:|
|Component:||shared folders||Version:||VirtualBox 5.2.0|
|Guest type:||Linux||Host type:||Windows|
Host: Windows 10 Enterprise v1709 AMD64
Guest: Xubuntu 17.10 AMD64
On 5.2.2 r119230 and 5.2.3 r119552, attempting to mount an EXT4 partition image on the Linux guest stored in a shared folder on the Windows host fails with "mount: can't read superblock on /dev/loop0". 5.1.30 did not have this issue as far as I can remember.
With a new and up-to-date Xubuntu VM and Guest Additions installed:
$ cd /media/sf_SharedFolder $ dd if=/dev/zero of=test.img bs=4k count=60000 $ sudo mkfs.ext4 test.img $ mkdir testout $ sudo mount -o loop test.img testout/ "mount: /media/sf_SharedFolder/testout: can't read superblock on /dev/loop0"
Doing the same thing on a folder inside the VM storage (like ~) correctly mounts the EXT4 image. The shared folder can be read from and written from within the VM as long as there's no loop mounting.
Change History (21)
comment:19 by , 5 years ago
|Status:||new → closed|
|Summary:||Cannot mount loop device from within shared folder on 5.2.x → Cannot mount loop device from within shared folder on 5.2.x -> fixed in 6.0.6|