Sunday, July 10, 2011

VirtualBox

Fedora environment with Windows host:

1. yum -y install DKMS
2. yum -y update kernel
3. yum -y install kernel-devel kernel-headers dkms gcc gcc-c++
4. log out and in
5. Download and install Virtualbox and Additional package from Oracle
6. Install Virtualbox and Additional package
7. su
   /etc/init.d/vboxdrv setup
Support USB:
8. make yourself a user of virtualbox group
9. check USB 2.0 inside virtualbox

Fedora host to install additional guest:

1. yum install kernel-devel kernel-headers dkms gcc
2. yum update kernel
3. login with new kernel
(4. if want to dismiss grub select menu, go to /boot/grub2/grub.cfg, edit timeout = 0)  


note: KDE has some dependencies on old version kernel. Don't remove kernel images if possible.


How to remove old kernel images




At some point in time, almost every Linux user will have updated their kernel image. After you've used Linux with the new kernel image for a while and your content everything is working properly, you might want to remove the old Linux image or images that still reside on yoursystem and appear as grub boot options. The following process explains how to entirely remove the old Linux image which in turn also unclutters your grub menu.
Removing those old Linux kernel images:
Make a note of your old kernel images from the Grub Menu during boot.
  1. Press Alt+F2 and type Synaptic
  2. From the Menu select Search and type linux-image in the Search box
  3. Locate your old linux-mage from the list for example: linux-image-2.6.xx-xx-xxx
  4. Right Click the images you would like to remove, select Mark for Complete Removal and then click apply to remove the old image
Next time you reboot the Grub menu will contain only the current linux-image.
Note: You can also find and remove linux-headers using this simple method.

No comments:

Post a Comment