Using KVM to boot a VM

Posted: December 8, 2014 in Uncategorized

To create an image:

root@zion:~# qemu-img create -f qcow2 ubuntu.img 10G

To Install from the .iso image:

root@zion:~# qemu-system-x86_64 -enable-kvm -m 10000 -cdrom ubuntu-14.04.1-server-amd64.iso -drive file=ubuntu.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc 10.x.x.178:1

Use a VNC client to log into the VNC session. Enter 10.x.x.178:1 to log into the VNC Session and complete the installation.

Once the installation is complete, login to the VM using any vnc client.

kvm -m 10000 -drive file=ubuntu.img,if=virtio,index=0 -boot c -net nic -net user -nographic -vnc :1

The Laws of Logical Thought

Posted: October 30, 2013 in Uncategorized

The 3 Laws of Logical thought are as follows

1) Law of identity:  A is A

A is A which means Everything is the same as itself; or a statement cannot not remain the same and change its truth value.

As per Aristotle is “that every thing is the same with itself and different from another”: A is A and not ~A.

2) Law of of non-contradiction:  NOT (A and not A)

Nothing can both exist and not exist at the same time and
in the same respect; or no statement is both true and false.

As per Aristotle “one cannot say of something that it is and that it is not in the same respect and at the same time”.

3. The law of non excluded middle Either (A or not A)

Something either exists or does not exist; or every statement
is either true or false.

As per Aristole “But on the other hand there cannot be an intermediate between contradictories, but of one subject we must either affirm or deny any one predicate. This is clear, in the first place, if we define what the true and the false are. To say of what is that it is not, or of what is not that it is, is false, while to say of what is that it is, and of what is not that it is not, is true; so that he who says of anything that it is, or that it is not, will say either what is true or what is false; …”



Replacing Sunday Mornings

Posted: October 29, 2013 in Uncategorized

Replacing Sunday Mornings:

Nice article by Joel on the pornography and it’s effects on the human brain:

Spoofing your MAC id

Posted: August 20, 2013 in Uncategorized

If you want to change the MAC id for eth0.

sudo ifconfig eth0 down 
sudo ifconfig eth0 hw ether 00:00:00:00:00:00      (Enter you new MAC id)
sudo ifconfig eth0 up

Loyalty and Layoffs

Posted: August 20, 2013 in Uncategorized

Read this wonderful article by David Brady on how one needs to loyal to one self and not to a corporation or team (which are fictitious entities anyway):

Rooting your Android device.

Posted: August 10, 2013 in Uncategorized

I’ve always had the itch to root my Android devices. Here are 10 reasons why you should root your Android device: