VirtualBox下安装fedora13遇到的问题

On September 6, 2010, in 应用问题, by sponge

问题1:安装guest addition时遇到如下问题

..
..
Building the Virtualbox Guest Additions kernel modules             [FAILED]
(Your system does not seem to be set up to build kernel modules.
Look at  /var/log/vboxadd-install.log to find out what went wrong)
..

/var/log/vboxadd-install.log里面错误内容如下

Makefile:23: *** Error: Unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run MAKE again.. Stop.

解决方法:安装必要的包和头文件,如下

yum update //可选
yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel

这里最重要的是安装“kernel-devel”。如果这样还是不能解决问题,那么有可能你的内核是PAE版本的,执行下面命令:

yum install kernel-PAE-devel.i686

这样应该就能解决问题。
参考:http://forums.virtualbox.org/viewtopic.php?f=3&t=27020

问题2:在安装好VBOX GUEST ADDITION后,fedora的屏幕分辨率不能随virtualbox窗口大小改变,始终保持在800X600。(virtualbox fedora display)。
解决方法:执行下面命令

system-config-display

如果这个工具没有安装,可以先安装它

yum install system-config-display

选择“Hardware”选项卡,点击"Video Card"旁边的“Configure”,在弹出的窗口中选择"vboxvideo-...",点击“OK”,重新启动即可
参考:http://forums.fedoraforum.org/showthread.php?t=202249

PS:两个小技巧
1、对于guest是linux的virutalbox,如果想切换guest的终端,不能使用alt+ctrl+F1,而应该使用HOST(默认右ctrl)+F1。
2、对于guest是linux的情况,如果guest想共享host的文件夹,首先在share folder里面设置好目录,然后使用sudo mount -t vboxsf share ~/host 命令即可。更多清查看http://forums.virtualbox.org/viewtopic.php?f=29&t=15868

anyShare分享到:
          
Tagged with:
 

2 Responses to “VirtualBox下安装fedora13遇到的问题”

  1. littlebeauty says:

    小样儿,还挺能写的,建议你把部分字体加粗,看起来更清晰一些$$^o^)/~

  2. Windy91 says:

    I see your blog is in the same niche like my weblog.
    Do you allow guest posting? I can write high quality & unique articles
    for you. Let me know if you are interested.

Leave a Reply

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).