WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: util-linux.tcz, mount command fails on virtualbox shared folders.  (Read 2173 times)

Offline lindsay

  • Newbie
  • *
  • Posts: 11
Hi,

I have been running TinyCore 7.x (32bit).
I found today that the 'mount' command included in 'util-linux.tcz' fails when that package is loaded and I attempt to mount a virtualbox shared folder.

I am using the virtualbox guest additions package. I have the vboxsf module loaded.
The busybox version of mount works fine with vbox shared folders.

Has anyone else experienced this issue? Any suggestions on how to fix?

There are some useful programs in util-linux that I would like to utilize.

/Lindsay

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14825
Re: util-linux.tcz, mount command fails on virtualbox shared folders.
« Reply #1 on: January 16, 2017, 11:22:49 PM »
What error message do you get when you attempt to use the mount command from util-linux?

You can still use the busybox mount command (when the util-linux extension is loaded) by using the full path to it.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: util-linux.tcz, mount command fails on virtualbox shared folders.
« Reply #2 on: January 16, 2017, 11:35:08 PM »
Or
Code: [Select]
busybox mount ...
Download a copy and keep it handy: Core book ;)

Offline lindsay

  • Newbie
  • *
  • Posts: 11
Re: util-linux.tcz, mount command fails on virtualbox shared folders.
« Reply #3 on: January 16, 2017, 11:48:24 PM »


Thanks for the prompt response. See error message below.

I know I can work around by referencing busybox directly.

It just  took me a few minutes before I realized that the issue may have been with the version of mount in util-linux.
I had installed it a couple of days ago but had not actually rebooted the vm and needed to remount the host shared drives.

It was momentarily concerning to see the error... :o  my first thought was that I had inadvertently hosed the host drive.

/Lindsay


Code: [Select]
tc@box:~/Downloads$ tce-load -i util-linux
util-linux.tcz: OK
tc@box:~/Downloads$ sudo  mount -t vboxsf vbox_shared /mnt/vboxsf
mount: wrong fs type, bad option, bad superblock on vbox_shared,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
tc@box:~/Downloads$ dmesg | tail -10 -
[574390.649627] floppy0: no floppy controllers found
[574390.649661] work still pending
[574394.056671] floppy0: no floppy controllers found
[574394.056722] work still pending
[574396.907809] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[574397.166595] floppy0: no floppy controllers found
[574397.166656] work still pending
[574483.904510] vboxsf: Successfully loaded version 5.0.18 (interface 0x00010004)
[574493.988213] sf_read_super_aux err=-22
[587816.688115] sf_read_super_aux err=-22