different behaviour ubuntu virtualbox and real ubuntu

Discussions about using Linux guests in VirtualBox.
Post Reply
JeanC
Posts: 7
Joined: 16. Sep 2008, 16:47
Location: Groningen Netherlands
Contact:

different behaviour ubuntu virtualbox and real ubuntu

Post by JeanC »

Hello

I installed vb in windows xp with kubuntu 8.04 as guest.

I also have a real ubuntu on the same machine through dual boot (which has a virtual box with a windows guest :))

Now when I do in the xp host / ubuntu guest

Code: Select all

mkvmerge -i /somesharedfolder/somebigfile.mkv
I get 'the source file could not be opened, or rtetrieving its size by seeking to the end did not work' for all my files.

It works fine in the real ubuntu. Other programs also have issues (mediainfo).

What could this be?
The files are on a sharedfolder and on another pc in the network.I can read/write to those shares without problem.

Edit: I found one file where this work ok, this file is a lot smaller, those others are all 4 gb or above, could this be filesize related?

Edit2: It must be something in the mount of the share, if I copy an offending file to the local guest drive things work.
I mount those shares in fstab with 'sharename directory vboxsf defaults 0 0'.

Edit3: The problem was solved by mounting those shares with cifs in stead of vboxsf.
Last edited by JeanC on 16. Sep 2008, 19:18, edited 1 time in total.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

How are the two shares mounted in the Host? Does it do the same if you use a local file on the Host of that size? None of the Hosts use FAT32?
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.
JeanC
Posts: 7
Joined: 16. Sep 2008, 16:47
Location: Groningen Netherlands
Contact:

Post by JeanC »

Hoi daar :)

I solved the problem by mounting through cifs in stead of vboxsf.

Your questions:
Those are all windows ntfs shared drives.
If I use a local file the problem is indeed gone.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

It already seemed strange to mount a network share through shared folders from the host when it's possible to access them directly from the VM. Glad it's solved.
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.
Post Reply