Reset a Linux password from a live CD

January 10, 2019 Leave a comment

Usually any Linux live CD will work. In my case since the installed version of Linux is Mint, I’m just booting to the Mint installation DVD which will by default launch a live session.

  1. Boot to live CD.
  2. Open terminal.
  3. Find the drive with OS installed. (It’s usually /dev/sda1)

sudo fdisk –l

  1. Create a temporary directory. It’s only virtual since the live CD runs in memory.

sudo mkdir /mnt/sda1

  1. Mount the OS drive to the virtual directory.

sudo mount /dev/sda1 /mnt/sda1

  1. Change the terminal root to the mounted drive.

sudo chroot /mnt/sda1

  1. Change the password.

passwd john

  1. Type the new password twice.
  2. Exit chroot.


  1. Unmount the drive.

sudo umount /mnt/sda1

  1. Remove Live CD & reboot.
Categories: Computers Tags: ,

Error running apt-get update

December 7, 2018 Leave a comment

Description – When running apt-get update you get an error regarding the Google repository.
E: Repository ‘ stable Release’ changed its ‘Origin’ value from ‘Google, Inc.’ to ‘Google LLC’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

Solution – Run the following command.
sudo apt update
When prompted, press Y.
Now run apt-get update & apt-get upgrade.

Categories: Computers Tags:

Encoding & Decoding Base64 using PowerShell

November 4, 2018 Leave a comment
# Encode string using Base64
$Text = "This was encoded using Base64"
$Bytes = [System.Text.Encoding]::Unicode.GetBytes($Text)
$Encoded = [Convert]::ToBase64String($Bytes)

# Decode Base64 to string
$Decoded = [System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String($Base64))
Categories: Computers Tags: , , ,

Splunk Certified User

August 28, 2018 Leave a comment

A guy from one of the Facebook groups I’m in challenged everyone to take the free Splunk Fundamentals 1 course & take the certification test. Accepted & done! I must say, for a free course it was pretty good. Picked up a lot of good information. However, it looks like they are ending this course but a new track will be starting soon.

Categories: Computers Tags: , ,

Cisco Certified Network Associate Cyber Ops (CCNA Cyber Ops)

I’ve been working on the Cisco CCNA Cyber Ops certification since December 2017. I was very fortunate to have been invited & accepted into the “Cisco Global Cyber Ops Scholarship Program“. Cisco invested $10 million in this program to increase the pool of talent in the cyber-security field; one that we as Americans really need to focus on. It was fast paced & exciting. Now on to the next one…

Error Installing HP iLO Firmware Upgrade

March 30, 2018 Leave a comment

When trying to install a firmware update for the HP Integrated Lights-Out 3 (iLO) you receive an error that says, “The software will not be installed on this system because the required hardware is not present in the system or the software/firmware doesn’t apply to this system.”

Looking in Device Manager, there is a device called Base System Device under Other devices.

Looking at the properties of Base System Device, the Device status says, “The drivers for this device are not installed. (Code 28).” On the Details tab the Hardware Ids property shows a value of PCI\VEN_103C&DEV_3307&SUBSYS_3309103C&REV_04.

The mystery device is the iLO 3 (CHIF). As of the date of this post, the latest version of the iLO 3/4 Channel Interface driver is

The installation is pretty quick & in my case did not require a reboot. Below are screenshots from the installation.

Next, install the iLO 3/4 Management Controller. As of the date of this post, the latest version is also

Just like the interface controller, the installation is pretty quick & in my case did not require a reboot. Below are screenshots from the installation.

Now try the iLO firmware upgrade & it will work. Below are screenshots from the installation.


Categories: Computers Tags: , , ,

Hyper-V host blue screens (BSOD) after being added to SCVMM

February 26, 2018 Leave a comment


When rebooting a Hyper-V host running on VMware Workstation after adding it to System Center Virtual Machine Manager (SCVMM), the host will not boot & blue screens (BSOD).


When a Hyper-V host is added to SCVMM, several hardware IDs are added to the Multi path I/O (MPIO) list. One of these hardware IDs are not compatible on VMware Workstation.

To see a list of hardware IDs added by SCVMM run:


It’s worth noting that when the MPIO role is installed, the only ID in the list is a generic entry for Vendor 8 Product 16.


Boot the Hyper-V host to the last known good configuration. Once it’s back up, add the Hyper-V host to SCVMM again. Before rebooting, remove the MPIO entry for MSFT2011SASBusType_0xA by running the following PowerShell command:

Remove-MSDSMSupportedHW -VendorId "MSFT2011" -ProductId "SASBusType_0xA"

Now reboot the Hyper-V host.


%d bloggers like this: