LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1197|回复: 12

virtualbox1.3.6安装求助

[复制链接]
发表于 2007-3-1 14:57:38 | 显示全部楼层 |阅读模式
到www.virtualbox.org下载的VirtualBox_1.3.6_Linux_x86.run,运行后显示:
Installing VirtualBox to /opt/VirtualBox-1.3.6
Unable to determine your Linux distribution
Unable to determine your Linux distribution

./runlevel.sh: Unknown system
Could not find add/remove init scripts to a runlevel utility
This operation can not continue without it
Unable to determine your Linux distribution
VirtualBox has been installed successfully.
把用户加入到vboxusers组,重新登录,运行VirtualBox显示:
/dev/vboxdrv not writable for some reason. If you recently added the current
user to the vboxusers group then you have to logout and re-login to take the
change effect.
我想是不是安装的时候没有安装好启动脚本,所以不能运行,还要怎么作呢?
发表于 2007-3-1 19:06:53 | 显示全部楼层
#modprobe vboxdrv
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-1 20:04:44 | 显示全部楼层
成功了,共享文件夹也出来了,前面装的svn版本有问题,一直弄不出来共享文件夹
感谢各位!
回复 支持 反对

使用道具 举报

发表于 2007-3-1 20:20:31 | 显示全部楼层
不是svn版本有问题, 是OSE版本不支持共享文件夹.
回复 支持 反对

使用道具 举报

发表于 2007-3-2 16:34:44 | 显示全部楼层
试了一下1.3.6-binary,却是装不起来?是否是2.6.20-ARCH的关系?

VirtualBox 1.3.6 installer, built Tue Feb 20 13:26:32 CET 2007.

Testing system setup...
System setup appears correct.

Installing VirtualBox to /opt/VirtualBox-1.3.6

Output from the module build process (the Linux kernel build system) follows:

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-ARCH/build SUBDIRS=/tmp/vbox.0 SRCR
OOT=/tmp/vbox.0 modules
make[1]: Entering directory `/usr/src/linux-2.6.20-ARCH'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are
missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix
it.";  \
        echo;                                                           \
        /bin/false)
回复 支持 反对

使用道具 举报

发表于 2007-3-2 18:27:29 | 显示全部楼层
Post by adsl
试了一下1.3.6-binary,却是装不起来?是否是2.6.20-ARCH的关系?

VirtualBox 1.3.6 installer, built Tue Feb 20 13:26:32 CET 2007.

Testing system setup...
System setup appears correct.

Installing VirtualBox to /opt/VirtualBox-1.3.6

Output from the module build process (the Linux kernel build system) follows:

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-ARCH/build SUBDIRS=/tmp/vbox.0 SRCR
OOT=/tmp/vbox.0 modules
make[1]: Entering directory `/usr/src/linux-2.6.20-ARCH'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are
missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix
it.";  \
        echo;                                                           \
        /bin/false)


错误说明里面不是已经提示了么?要autoconf.h找不到。你的机器上没安装autoconf这个包。补装一下。
回复 支持 反对

使用道具 举报

发表于 2007-3-2 20:20:39 | 显示全部楼层
Post by leemars
错误说明里面不是已经提示了么?要autoconf.h找不到。你的机器上没安装autoconf这个包。补装一下。

[root@ ~]# pacman -S autoconf
:: autoconf-2.61-1: is up to date.  Upgrade anyway? [Y/n]

你猜错了?
回复 支持 反对

使用道具 举报

发表于 2007-3-2 21:26:26 | 显示全部楼层
$ pacman -Qo /usr/src/linux-2.6.20-ARCH/include/linux/autoconf.h
/usr/src/linux-2.6.20-ARCH/include/linux/autoconf.h is owned by kernel26 2.6.20.1-2
$ pacman -Qo /usr/src/linux-2.6.20-ARCH/include/config/auto.conf
/usr/src/linux-2.6.20-ARCH/include/config/auto.conf is owned by kernel26 2.6.20.1-2

你先检查这两个文件是不是存在。
回复 支持 反对

使用道具 举报

发表于 2007-3-2 21:49:12 | 显示全部楼层
Post by leemars
你先检查这两个文件是不是存在。

这两个档没问题,都存在啊。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-3 10:44:17 | 显示全部楼层
我的就是2.6.20-ARCH
要不先pacman -Syu一下?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表