This page (revision-18) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
18 23-Apr-2022 17:06 17 KB Harry Metske to previous restored previous version
17 23-Apr-2022 17:05 17 KB 24.55.37.52 to previous | to last
16 23-Apr-2022 17:05 17 KB Harry Metske to previous | to last typo
15 23-Apr-2022 17:05 17 KB Harry Metske to previous | to last
14 23-Apr-2022 17:05 17 KB Harry Metske to previous | to last
13 23-Apr-2022 17:05 15 KB Harry Metske to previous | to last
12 23-Apr-2022 17:05 16 KB Harry Metske to previous | to last
11 23-Apr-2022 17:05 15 KB Harry Metske to previous | to last
10 23-Apr-2022 17:05 13 KB Harry Metske to previous | to last
9 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
8 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
7 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
6 23-Apr-2022 17:05 8 KB Harry Metske to previous | to last
5 23-Apr-2022 17:05 6 KB Harry Metske to previous | to last
4 23-Apr-2022 17:05 6 KB Harry Metske to previous | to last
3 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
2 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
1 23-Apr-2022 17:05 1 KB Harry Metske to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 15 removed 3 lines
I first had a look at the [http://openvz.org] site, but concluded that running a recent Ubuntu server is not a "default route".\\
Since my hardware also
At line 20 removed 2 lines
vbox clonehd ?
At line 24 removed 2 lines
vbox modifyhd resize ?...
At line 28 removed 2 lines
vrde stuff with extension packs....
At line 32 removed 2 lines
VBoxHeadless...
At line 36 removed 2 lines
2 is minimal required...
At line 40 removed 2 lines
stats , NATing, live migration ?
At line 171 removed 5 lines
%%small
{{{
%%(background-color : #d3ee03 )
}}}
%%
At line 157 added one line
At line 375 added one line
Also, you may see that the network of the cloned VM is not coming up , in that case you have to "rename" the NIC by editing /etc/network/interfaces (etho ==> eth1)
At line 390 added 4 lines
After starting the VM and logging in, you can see the size of the disk has increased:\\
%%small
{{{
root@ubuntu:~# fdisk -l
At line 395 added 6 lines
Disk /dev/sda: 15.7 GB, 15728640000 bytes
255 heads, 63 sectors/track, 1912 cylinders, total 30720000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008fd7a
At line 402 added 7 lines
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 10237951 4868097 5 Extended
/dev/sda5 501760 10237951 4868096 8e Linux LVM
........
}}}
%%
At line 413 added one line
Teleporting (Live Migration) cannot be used since this requires shared storage (which I don't have).
At line 416 changed one line
<summarize all handy VBoxManage cmds here........>
%%small
{{{
VBoxManage createvm --name Ubuntu2 --ostype Linux --register
VBoxManage showvminfo Ubuntu2
VBoxManage unregistervm Ubuntu2 --delete
VBoxManage modifyvm Ubuntu2 --memory=256 --hwvirtex=off --hwvirtexexcl=off --vtxvpid=off --boot1=dvd --boot2=disk --boot3=none --nic1=bridged --bridgeadapter1=wlan0 --nicpromisc1=allow-all --vrde=on --vrdeport=13389
VBoxManage storagectl Ubuntu2 --name='IDE Controller' --add=ide --controller=PIIX4 --bootable=on
VBoxManage storagectl Ubuntu2 --name='SATA Controller' --add=sata --controller=IntelAhci --bootable=on
VBoxManage storageattach Ubuntu2 --storagectl='IDE Controller' --port=1 --device=1 --type=dvddrive --medium=/home/metskem/iso/ubuntu-11.10-server-i386.iso
VBoxManage list dvds
VBoxManage createhd --filename '/home/metskem/VirtualBox VMs/Ubuntu2/Ubuntu2Disk.vdi' --size=5000
VBoxManage storageattach Ubuntu2 --storagectl='SATA Controller' --port=1 --device=0 --type=hdd --medium='/home/metskem/VirtualBox VMs/Ubuntu2/Ubuntu2Disk.vdi'
VBoxManage startvm Ubuntu2 --type=headless
VBoxManage modifyvm Ubuntu2 --boot1=disk --boot2=dvd --boot3=none
VBoxManage snapshot Ubuntu2 take snapshot1 --pause
VBoxManage list --long runningvms
VBoxManage clonevm Ubuntu2 --options keepdisknames --name Ubuntu3 --basefolder '/home/metskem/VirtualBox VMs/Ubuntu3' --register
VBoxManage modifyvm Ubuntu2 --vrdeport=2338
VBoxManage modifyhd f1533722-250b-4bdc-8736-964bc6cbcfd7 --compact --resize 10000
}}}
%%