edit: Οκ όλα κομπλέ. Thnx και πάλι
edit2: Μια χαρά με τον εικονικό δίσκο. Αντιμετωπίζω άλλο πρόβλημα τώρα. Έχω τα windows7 σε .iso αλλά πώς θα τα εγκαταστήσω στο virtual box; Πως θα bootάρω από αυτά;
Συντονιστής: adem1

#! /bin/sh
### BEGIN INIT INFO
# Provides: mountdevsubfs
# Required-Start: mountkernfs
# Required-Stop:
# Should-Start: udev
# Default-Start: S
# Default-Stop:
# Short-Description: Mount special file systems under /dev.
# Description: Mount the virtual filesystems the kernel provides
# that ordinarily live under the /dev filesystem.
### END INIT INFO
#
# This script gets called multiple times during boot
#
PATH=/lib/init:/sbin:/bin
TTYGRP=5
TTYMODE=620
[ -f /etc/default/devpts ] && . /etc/default/devpts
TMPFS_SIZE=
[ -f /etc/default/tmpfs ] && . /etc/default/tmpfs
KERNEL="$(uname -s)"
. /lib/lsb/init-functions
. /lib/init/mount-functions.sh
do_start () {
#
# Mount a tmpfs on /dev/shm
#
SHM_OPT=
[ "${SHM_SIZE:=$TMPFS_SIZE}" ] && SHM_OPT=",size=$SHM_SIZE"
domount tmpfs shmfs /dev/shm tmpfs -onosuid,nodev$SHM_OPT
#
# Mount /dev/pts. Master ptmx node is already created by udev.
#
domount devpts "" /dev/pts devpts -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE
}
case "$1" in
"")
echo "Warning: mountdevsubfs should be called with the 'start' argument." >&2
do_start
;;
start)
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
# No-op
;;
*)
echo "Usage: mountdevsubfs [start|stop]" >&2
exit 3
;;
esac



sudo mount -t vboxsf sharename mountpoint

έγραψε:Aυτό δεν έχω καταλάβει. Δλδ όταν προσθέτεις έναν shared φάκελο από τις ρυθμίσεις πρέπει να δώσεις ένα όνομα του φακέλου και μια διαδρομή. Η διαδρομή σε τι αντιστοιχεί σε φακέλους του host η του guest. Το όνομα που δίνεις αντιστοιχεί σε φάκελο του host η του guest και φαντάζομαι θα πρέπει να υπάρχει ήδη.

sudo mount -t vboxsf .sterios /home/sterios/vboxsf/

έγραψε:In a Windows guest, starting with VirtualBox 1.5.0, shared folders are
browseable and are therefore visible in Windows Explorer. So, to attach the
host’s shared folder to your Windows guest, open Windows Explorer and look
for it under
“1. My Networking Places” -> “Entire Network” -> “VirtualBox Shared
Folders”. By right-clicking on a shared folder and selecting “Map network drive”
from the menu that pops up, you can assign a drive letter to that shared folder.
εισάγωντας στο διαθέσιμο πεδίο \\vboxsvr\sharename
Alternatively, on the Windows command line (γραμμή εντολών windows), use the following:
2. net use x: \\vboxsvr\sharename
While vboxsvr is a fixed name (note that vboxsrv would also work), replace (όπου x: το γράμμα του shared folder, των windows)
“x:“ with the drive letter that you want to use for the share, and sharename
with the share name specified with VBoxManage (το όνομα που όρισες στο Virtualbox για το shared folder).
