Linux

Mount VMware virtual disk VMDK-file in a physical linux machine

This example has been used on a machine with VMware Workstation 9 installed locally. To mount a VMDK-file you can use the VMware command vmware-mount like this $ sudo vmware-mount /path/to/vmdk/file/name-of-vmdk-file.vmdk 1 /path/to/mount/point In the example above we have mounted partition 1 in the VMDK-file from the disk /path/to/vmdk/file/name-of-vmdk-file.vmdk The files are now accessible from […]

Read More
Linux

Add new harddisk to linux without reboot

This is a short post on how you can add a new SATA og SCSI harddisk in your running/live linux machine without a reboot. The BIOS of the machine is not aware of new hardware being added, but you can ask the disk controllers to rescan and become aware of new harddisks. This is how […]

Read More
Linux

Another way to randomize filenames

This post describes an easier way to randomize filenames using the command openssl compared to my previous post named Randomize filenames. #!/bin/bash for filename in *.JPG do mv “$filename” $(echo “$filename” | openssl rand -hex 3).JPG done After running this script the filenames can look something like this 26333c.JPG a8c7a0.JPG b16b22.JPG d69a67.JPG … The rand […]

Read More
Virtualization

Install free VMware 5.1 Hypervisor on HP Z600

This is just some short notes on how you can manage to install the free VMware 5.1 Hypervisor on a HP Z600 Workstation. I assume you have already downloaded the installer from http://vmware.com As always when you would like to utilize virtualization in your CPU you have to enable the following BIOS settings Advanced Chipset […]

Read More
Linux

Transfer files fast between servers using netcat and tar

This is a short post on how you can transfer files unsecured but fast between linux servers. I prefer to use netcat (nc) to transfer large amounts of data between servers when I know the connection between them are secure, ie on my private LAN. The sender server should run the following command $ tar […]

Read More