Translate

Image of Linux Kernel Development (3rd Edition)
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of Android Wireless Application Development
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

Configure a Host ISO-based Package Repository on a CentOS 7.2 VM

In a recent blog post, I demonstrated how to set up a local RPM repository (repo) in a VMware CentOS 7.2 VM (AKA guest) running under VMware Workstation (AKA the host.) This made the CentOS VM independent of the need for network access w.r.t. RPM package installation. However, the trade off for the ability to install packages without Internet access is the 6 GB plus increase in the size of the VM necessitated for storing all the packages and metadata. Consider the following alternative scenario. You have downloaded the CentOS-7-x86_64-Everything-1511.iso from the CentOS Project or a mirror, used the ISO

Configure a Local ISO-based Package Repository on a CentOS 7.2 VM

Consider the following scenario. You have downloaded the CentOS-7-x86_64-Everything-1511.iso from the CentOS Project or a mirror, used the ISO to create a VM in VMware Workstation, and now want to be able to access a package repository (repo) when you have no Internet access. Assume that a GNOME desktop is available on your CentOS VM and the VM is sized such that you have at least 8 Gb of free disk space. Copy the IS0 to your CentOS VM by whatever method works for you. If you have VMware Tools installed, you can just drag and drop the file using

Nesting RHEL7 KVM on VMware Workstation 12

Recently I wished to build a Red Hat Enterprise Linux 7 (RHEL7) appliance with 2 KVM-virtualized guests. Essentially a type 2 hypervisor (VMM) on top of another type 2 hypervisor. I installed RHEL7 on VMware Workstation 12 and configured it as a Virtualization Server. It was a smooth install without any issues. However I was surprised to find that KVM (Kernel-based Virtual Machine) simply did not work at all and lsmod did not even list the KVM kernel modules. It turns out that you need to do two changes to your RHEL7 guest configuration file in order for KVM support

List EFI Configuration Table Entries

Now that UDK2015 is released, I decided to upgrade my UEFI development environment to that release. While testing the release, I realized that I had never written a UEFI shell utility to list the EFI configuration table entries and so decided to quickly develop a prototype of such a utility. Here is the source code for the utility: // // Copyright (c) 2015 Finnbarr P. Murphy. All rights reserved. // // Display EFI Configuration Table entries // // License: BSD License // #include <Uefi.h> #include <Library/UefiLib.h> #include <Library/ShellCEntryLib.h> #include <Library/ShellLib.h> #include <Library/BaseMemoryLib.h> #include <Library/UefiBootServicesTableLib.h> #include <Protocol/EfiShell.h> #include <Protocol/LoadedImage.h> // first

UEFI Shell EDID Utility Ported to UDK

Some time ago, actually September 2012, I wrote a UEFI shell utility to parse and display connected monitor EDID information. The build environment for the utility was GNU EFI. In this post, I fix some minor bugs in that utility and also port the code to the UEFI Development Kit (UDK) environment. Here is a link to the original code. Here is the updated source code: // // Copyright (c) 2015 Finnbarr P. Murphy. All rights reserved. // // Display core EDID v1.3 information. // // License: BSD License // #include <Uefi.h> #include <Library/UefiLib.h> #include <Library/ShellCEntryLib.h> #include <Library/ShellLib.h> #include <Library/BaseLib.h>