r*g 发帖数: 186 | 1 solved, 记上过程如下
1. 编辑/etc/rc.local, 加入mount语句
mount -t vboxsf -o rw,uid=1000,gid=1000 C_DRIVE /host
修改为自己的share folder的名字和mount point
2. 编辑/etc/systemd/system/rc-local.service如下:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
[Unit]
Description=/etc/rc.local C... 阅读全帖 |
|
f**k 发帖数: 44 | 2 搞定了!
NND,typo害死人呀。
should be
sudo mount -t vboxsf shared /my_mnt_point, I tried vboxfs and then vboxvsf instead of vboxsf.
I think I had to run
had to use sudo to mount. |
|
r*g 发帖数: 186 | 3 额昨天还说systemd永远我接触不到
今天貌似就被打脸了
现在我在host上装了一个virtualbox
virtualbox里面装了个deb8
我每次都是把host的c盘弄成virtualbox的share folder
然后挂在在/host目录
然后从/host做一个link到/home/我/Dropbox
然后ln -s /home/我/Dropbox/configure/.vimrc .
这样我每次就能把配置文件放在Dropbox里面
新装系统后做一些文件链接就能马上使用
我在/etc/rc.local下面写了一句
mount -t vboxsf -o rw,uid=1000,gid=1000 C_DRIVE /host
以前没问题 但现在每次都会给我报错
[Fail] Fail to start /etc/rc.local Compatibility
这个东西是不是systemd弄得? |
|