Linux Scroll

Just another WordPress.com site

Category Archives: vm

Ubuntu install Virtualbox

Add one of the following lines according to your distribution:

$ sudo vi /etc/apt/sources.list

deb http://download.virtualbox.org/virtualbox/debian natty contrib

deb http://download.virtualbox.org/virtualbox/debian maverick contrib non-free
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free
deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free

Import Oracle public key:

$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | 

sudo apt-key add -

Install VirtualBox:

$ sudo apt-get update

$ sudo apt-get -y install virtualbox-4.0 dkms

VirtualBox Extension Pack: Enable USB
Downlaod

Advertisements

Extend VMware hard disk size

VM1 Need to extend C Drive from 40GB to 60GB.
VM1 hardisk is xp.vmdk

VM2

1). Add New Hard Disk. 

2). Select xp.vmdk
3). Size is 60GB.
4). Poweron
5). CMD --> diskpart
6). DISKPART -> list disk
-> select disk 1
-> list vol
-> select vol 2
-> extend
7). Poweroff
8). Remove Hard Disk 2

Ubuntu Virtualbox add USB printer

By default in Virtualbox, we cannot add usb printer to host.It show grey when you want to add usb printer.
We need to add user to lp group.

System > Administration > Users and Groups > Unlock > Manage Groups > lp > 

%username% (Check)

Logout and login again.