I tried this code based on code used for other guest in VirtualBox but no joy in OpenSolaris any suggestions
su mount -t vboxsf -o gid=10,uid=101,defaults dai /export/home/Dai/Desktop/ubuntu
su mount -t vboxsf -o gid=10,uid=101,defaults dai1 /export/home/Dai/Desktop/mybook
The above code normally works but getting the following errors in Solaris.
Dai@opensolaris:~$ su
Password:
Dai@opensolaris:~# mount -t vboxsf -o gid=10,uid=101,defaults dai /export/home/Dai/Desktop/ubuntu
mount: illegal option -- t
Usage:
mount [-v | -p]
mount [-F FSType] [-V] [current_options] [-o specific_options]
{special | mount_point}
mount [-F FSType] [-V] [current_options] [-o specific_options]
special mount_point
mount -a [-F FSType ] [-V] [current_options] [-o specific_options]
[mount_point ...]
Dai@opensolaris:~#
I've looked at the man page but still make head or tail of which is the correct option.
shared folders
-
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: PUEL
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: shared folders
Try replacing -t with -F so you would get
su mount -F vboxsf -o gid=10,uid=101,defaults dai /export/home/Dai/Desktop/ubuntu
su mount -F vboxsf -o gid=10,uid=101,defaults dai /export/home/Dai/Desktop/ubuntu
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: shared folders
@Dai,
It is described very well in your VirtualBox users guide in the section Shared Folders.
mount -F vboxfs [-o OPTIONS] sharename mountpoint
Linux = -t vboxsf
Solaris = -F vboxfs
It is described very well in your VirtualBox users guide in the section Shared Folders.
mount -F vboxfs [-o OPTIONS] sharename mountpoint
Linux = -t vboxsf
Solaris = -F vboxfs
Re: shared folders
you are right I should go read the manual. In the mean time even with -F it still not mounting
Dai@opensolaris:~$ id
uid=101(Dai) gid=10(staff) groups=10(staff)
Dai@opensolaris:~$ su mount -F vboxsf -o gid=10,uid=101,defaults dai /export/home/Dai/Desktop/ubuntu
su: Unknown id: mount
Dai@opensolaris:~$
Any ideas on how to mount the shared folders.
Dai@opensolaris:~$ id
uid=101(Dai) gid=10(staff) groups=10(staff)
Dai@opensolaris:~$ su mount -F vboxsf -o gid=10,uid=101,defaults dai /export/home/Dai/Desktop/ubuntu
su: Unknown id: mount
Dai@opensolaris:~$
Any ideas on how to mount the shared folders.
-
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: PUEL
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: shared folders
Ok my bad
it should either be
su
mount .....
or
sudo mount ......
it should either be
su
mount .....
or
sudo mount ......
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: shared folders
Solaris uses a different mount statement. It uses vboxfs and not vboxsf
Easy to miss even when you know it should be there.
Easy to miss even when you know it should be there.
Re: shared folders
Ok which one of you nicked my glasses. yes I missed vboxfs and I also needed to sign in with su first before running mount -F vboxfs -o gid=10,uid=101,defaults dai /export/home/Dai/Desktop/ubuntu but both are now mounted.
Once I get something like recordmydesktop installed I'll make another video of the process.
Once I get something like recordmydesktop installed I'll make another video of the process.
-
- Posts: 4
- Joined: 25. Mar 2011, 10:15
- Primary OS: PCLinuxOS
- VBox Version: OSE Debian
- Guest OSses: ghghhj
Re: shared folders
# Open "My Network Places" from the Start Menu or from the left pane of Windows Explorer (under Desktop, below My Documents and My Computer).
# Open the "Entire Network" item listed in the left pane of My Network Places.
# Open the "Microsoft Windows Network" item.
Setting Security on a Folder Before You Share It
1. Log on to your computer as a user who is a member of the Power Users group or the Administrators group. Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
2. Click the drive or folder in which you want to create a new folder.
3. On the File menu, point to New, and then click Folder. Type a name for the new folder (for example, Accounts Receivable), and then press ENTER.
4. Right-click the new folder, and then click Properties. Click the Security tab.
5. Click to clear the Allow inheritable permissions from parent to propagate to this object check box. In the Security dialog box, click Copy.
# Open the "Entire Network" item listed in the left pane of My Network Places.
# Open the "Microsoft Windows Network" item.
Setting Security on a Folder Before You Share It
1. Log on to your computer as a user who is a member of the Power Users group or the Administrators group. Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
2. Click the drive or folder in which you want to create a new folder.
3. On the File menu, point to New, and then click Folder. Type a name for the new folder (for example, Accounts Receivable), and then press ENTER.
4. Right-click the new folder, and then click Properties. Click the Security tab.
5. Click to clear the Allow inheritable permissions from parent to propagate to this object check box. In the Security dialog box, click Copy.