2016年8月2日 星期二

How to use linux-02 image as you just enough VM in VirtualBox


How to use linux-02 image as your just enough VM in VirtualBox

Googledoc


Step 1: Download the just enough image


Step 2: Transform the raw to vmdk file
Command
VBoxManage internalcommands createrawvmdk -filename {Target_Filename} -rawdisk {Source_File}


Ex:
VBoxManage internalcommands createrawvmdk -filename rawtest.vmdk -rawdisk linux-0.2.img


Fig. 1. An Example for the raw image transform to the vmdk file


Step 3: Create VM
Fig. 2(a). Create VM with Other Linux (32 bit)


Fig. 2(b). Create VM with Other Linux (64 bit)




Fig. 3. Assign the vmdk file.


Verification



Googledoc


Step 1: Download the just enough image


Step 2: Transform the raw to vmdk file
Command
VBoxManage internalcommands createrawvmdk -filename {Target_Filename} -rawdisk {Source_File}


Ex:
VBoxManage internalcommands createrawvmdk -filename rawtest.vmdk -rawdisk linux-0.2.img


Fig. 1. An Example for the raw image transform to the vmdk file


Step 3: Create VM


Verification