Here my short course of action – perhaps someone will be helpful.
1. create 2Gb clean image on openvz host
dd if=/dev/zero of=/opt2/VHD/speed.img bs=516096c count=4000
fdisk -u -C4000 -S63 -H16 /opt2/VHD/speed.img
2. mount image, create fs
losetup -o32256 /dev/loop0 /opt2/VHD/speed.img
mke2fs -b1024 /dev/loop0 2015968
tune2fs -j /dev/loop0
3. mount image with fs
mount -text3 /dev/loop0 /mnt/speed/
4. copy container files to image
cp -av /var/lib/vz/private/131/* /mnt/speed/
5. umount image
6. convert image to VMDK format
kvm-img convert -f raw speed.img -O vmdk speed.vmdk
7. on esxi host create VM without hdd
8. copy speed.vmdk to esxi (best way – use FTP)
9. on esxi convert VMDK image to thin format
vmkfstools -i speed.vmdk -d thin speed-thin.vmdk
10. connect speed-thin.vmdk to VM (edit VM properties->add hard disk-> use existing…), start VM, boot from rescue CD:
– vi /etc/network/interfaces
– vi /etc/apt/sources.list
– apt-get update
– apt-get install linux-image-2.6-686 grub-pc
– add in /etc/inittab
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
– echo “/dev/sda1 / ext3 defaults,errors=remount-ro 0 1” > /etc/fstab
– update-grub
11. boot VM normally
To work around this issue, add the EnableAggressiveMemoryUsage registry entry to the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters
Then, set the EnableAggressiveMemoryUsage registry entry to 1.
To do this, follow these steps:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters
- On the Edit menu, point to New, and then click DWORD Value.
- Type EnableAggressiveMemoryUsage, and then press ENTER.
- On the Edit menu, click Modify.
- In the Value data box, type 1, and then click OK.
- On the File menu, click Exit to exit Registry Editor.
- Restart the HTTP service. To do this, follow these steps:
- Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type net stop http /y, and then press ENTER.
- At the command prompt, type iisreset /restart, and then press ENTER.
A very annoying occurrence that I sometimes suffer is when all of a sudden the copy and paste function stops working when I am connected to a remote machine. Turns out the problem is coming from a little process called rdpclip. Rdpclip (remote desktop clipboard) is responsible for managing a shared clipboard between your local host and the remote desktop (the process runs on the remote machine not your local host).
So what do I do when clipboard stops working? Read the rest of this entry »
وسعت اللہ خان
پچھلے بیس برس سے تو میں انہیں اسی طرح دیکھ رہا ہوں (معاف کیجیے گا دیکھ رہا تھا)۔
ایک عام سے پانچ فٹ چھ انچ کے نیم گنجے چھریرے ابراہیم بھائی۔نکڑ پر ایک رہائشی پلازہ کے ستون کی ایک جانب نکلا ہوا ایک فٹ گہرا، تین فٹ چوڑا، چھ ساڑھے چھ فٹ اونچا کیبن ابراہیم کی کل کائنات تھا۔ صبح نو سے رات بارہ تک کیبن کے فولڈنگ پھٹے کو میز بنا کے اس پر مسلسل پان لگاتے رہتے تھے۔نہ تھکن، نہ جھنجلاہٹ۔گرمی ہو کہ سردی، دوپہر ہو کہ شام میں نے کبھی ہاتھ رکتے نہیں دیکھا۔خدا جانے ان دو ہاتھوں میں کتنے ہاتھ تھے۔ Read the rest of this entry »
Recently I lost when I was unable to delete some post from my timeline and then I found that our activity log on our timeline serves many purposes.
You can use it to quickly hide old statuses you have made in the past, or delete them, you can also use it to Unhide statuses that you had previously hidden.
In addition, it shows you comments that you have made on other peoples’ stories/statuses/pictures and will allow you to delete those too, all in one convenient place.
To get there, go to your Timeline, and click on Activity Log.

That will open the activity log, and then you can scroll down to where that story is (or use the date links at the bottom) to find the post/story you want to hide or unhide. Look at the icons in the far right to see which ones are hidden and which ones are visible.

You can then click on the little circle/crossed out circle to select if you want it hidden or not.

If you “Feature” a story, it will take the full width of your timeline, so as to draw attention to that item. Think of it like “this one is important”.