Virus Scare leads to new Beginnings

Ello,

Much as the title reads My computer(win 7 boot) started acting strange though no matter how much I scanned it and with(MS Defender Offline, Kaspersky Rescue and Clam AV which ran from my Dualboot of Ubuntu) everything came up clean.

By strange I mean things like device manager erroring out, other random errors that just made it seem like the system was compromised, so I pulled out a Ubuntu boot stick and wiped the drive with ‘shred -z’ which overwrote the drive three times before overwriting it with straight zeros.

After that I decided it was time to learn Windows 8 as I am the go to IT person for my and my wifes family, and staying behind the curve wont do me any good. So I Grabbed my copy of Win 8 and stuck it in, installed it, placed my antivirus, and could not get the system to update for the life of me.

Research, Madness and multiple computer threats later, I happened apon a page from my google search that stated if you have something, In my case my router, filtering active x to turn it off, Windows 8 will not update if you filter Active X, which has always been enabled in my Router and never caused an Issue in Win 7, never the less after disabling it Windows 8 updated and allowed me to install Media center.

That was Just Windows, I plan to install Kali Linux as well and see how it pans out as a daily driver as apposed to my old setup of Win/Ubuntu/BackTrack, If Kali will function as I need it to Ubuntu will go to the way side, With Kali I also plan to look into using an encrypted LVM to store it.

This is all for now,
Jace

True Transformer, Computer in Disguise

After Reading up on the latest up comings in the Transformer Infinity (TF700) world I found something new, something beautiful..

Seeing as I have been at work and not keeping up on this I feel so dumb for missing it.

A True Dual boot option for my Tablet, That will not wipe the Internal memory.. Will not Destroy anything, and since I have an unlocked and Androidroot bootloader all else was childs play.

After following this guide and taking about an hour to get the ubuntu partition downloaded, I copied it over, another ten minutes for it to install, gave it fifteen gigabyte for its virtual disk.

I have both Ubuntu and my EXISTING Android installation available on my Tablet either one being selectable at boot time

Ubuntu has full working wifi and touchscreen with onscreen keyboard which is nice when I don’t want to have it docked.

Pictures may follow.

Windows 8 and Ubuntu 12.10

Since my Last post with Windows 8 I have since removed it and put back Windows 7, Windows 8 is now in a VM and running happily as I’m not impressed with it in the least I only boot it up to check the latest Vulnerabilities on it and to update it.

Currently as of Friday Oct 26 2012 Microsoft has a Give away under the addons page for Windows 8 where they are giving away the Media Center Addon for free, Me and a few colleagues have signed up for this and none of us have received any keys to do so, the time span has passed hours.

Again not impressed with Windows 8.

On to Ubuntu 12.10,

Ubuntu 12.10 feel and operates alot like 12.04 with some of the errors We were seeing (Dropping to login while operating, random reboots, etc..) fixed. Now what really disapoints us is the fact that Canonical Decided to take the Liberty to push Amazon down every bodies throats without an easy way to turn it off, There’s an apt-get remove command to remove it from the unity search parameter.

Still, Foul move Canonical.. Foul move..

My Favorites Ubuntu 12.04 for Day to Day work, Win 7 for Gaming.

Taxing Few Days

The last few days have been interesting with having the Tf700 replaced so I could get Nvflash setup on it using its original firmware then slowly without losing root upgrade it to Jelly Bean.

Ontop of that Ubuntu 12.10 came out after upgrading my laptop to it from 12.04 the GUI would crash leaving me with a terminal and a mouse when ever I launched Vmware which I need for class so as a result I have formatted the partition and re-installed it only to see ubuntu full of amazon ads.. this is horrible… so I am seeking alternatives.

EDIT: after posting this from my Phone I have fixed it up

Cron’d Back up!

Well this Weeks mini project was to get a automated backup of all my Virtual machines on my KVM host, the first hurdle was to shut down the running VMs this is completed by executing virsh shutdown x where x is the domain number of the VM, I normally never have more then five machines running so I started the script with

 

#!/bin/bash

virsh shutdown 1

virsh shutdown 2

virsh shutdown 3

virsh shutdown 4

virsh shutdown 5

 

after this the VMs shutdown now I figured Compression would be key as most of these VMs have forty gigabyte hard drives if not bigger but normally only use about half.

 

Originally I started with tar.bz2 with the following command

sudo tar jcvf VM-Backup.tar.bz2 dir_1 dir_2

Sadly this took forever!! upon a little research it was due to the fact that bzip2 isn’t SMP compliant otherwise known as using multiple cores or CPUs

so next I tried Gzip with this command

sudo tar zcf VM-Backup.tar.gz dir_1 dir_2

To the same effect so I started to invest time in google until i found a SMP compatible BZIP2 here: http://compression.ca/pbzip2/ and was finally happy with the results with this command

sudo tar cfv VM-Backup.tar.bz2 –use-compress-prog=pbzip2 dir_1 dir_2

This used all cores available and maxed them during compression, for being a quad core system it cut the compression time roughly down to a third of what it was.

Now that things are starting to look up I decided I wanted to Log when the script ran and tag the output files with the date and time of Backup this was done by making a Variable for date

DATE=$(date +%m%d%Y-%H%M)

at this point what ever you put $DATE in it will output MMDDYYYY-HHmm so I wrote a few echo lines like this one

echo “Nightly Backup Started for $DATE” > /location/of/log

After all was said and done it was brought to my attention a question, “How do you check your backups for data integrity?” so I tagged on the end of all the compression scripts an md5 hash output

&& md5sum * > VM-Backup-$DATE.MD5 

you may notice the $DATE again I wanted to make sure the same MD5 matched the Backup file, I then thought about the space this is going to take up and figured one backup being kept is good enough to each time this script is ran it changes directory into the back up directory and deletes all files with

cd /location/of/backup/

rm *

and finished off with a reboot as I plan to run this weekly, this is my finished script changed for system anonymity

#!/bin/bash

DATE=$(date +%m%d%Y-%H%M)

#echo $DATE

echo “Nightly Backup Started for $DATE” > /location/of/log

cd /location/of/backup/

rm *

virsh shutdown 1
virsh shutdown 2
virsh shutdown 3
virsh shutdown 4
virsh shutdown 5

#sudo tar jcvf VM-Backup-$DATE.tar.bz2 dir1 dir2 && md5sum * > VM-Backup-$DATE.MD5

#sudo tar zcf VM-Backup-$DATE.tar.gz dir1 dir2 && md5sum * > VM-Backup-$DATE.MD5

sudo tar cfv VM-Backup-$DATE.tar.bz2 –use-compress-prog=pbzip2 dir1 dir2 && md5sum * > VM-Backup-$DATE.MD5

DATETWO=$(date +%m%d%Y-%H%M)

echo “Nightly Backup Complete for $DATETWO” > /location/of/log

 

sudo reboot

 

 

Enjoy and leave me tips if you have suggestions or kudos

Servers and Primes

Tonight was well spent.

I helped get my Pops HotRod computer back up and running and also now have a working installation of Ubuntu 12.04 on my Asus Transformer Prime. Though not quick its another feather in the cap of “yup put ‘full’ linux on it” as normally I put linux on the game systems..

Well being able to dual boot is nice but I need a bigger and faster micro sd card if I want it truely useable.

Tommorows goals:

Get unity in prime replaced with another Window manager,

Put Ubuntu in Pops Computer

Don’t forget irc.firezen.com is there for anyone to use, I’m normally sitting in #Island from 10-10 est

Later

Update

I have had the PSU and the system up for two days with issues here and there, heat, fan ports not working, software configurations failing,

Now Its 10pm Friday night and I have hit my limit, the software raid I set up in raid 1 has been work fine sence about 10 this morning, it had hit 90% sync rate when I reboot it the last time.. now Ubuntu won’t find /dev/md…

The only reasoning I see for this is the drives are two seagate 1.5 terabyte sata, these same drive me and my pop have been returning to seagate for oh every six months or so, thanks for the I’ve year warrenty, even on the refubs you send back!

The system is off, the admin is.. sulking.. tomorrow will be another day..

 

EDIT: The issue was that for an unknown reason to my the raid had been renumber from /dev/md127 to /dev/md0, after correcting this in fstab life is back to normal..