Press "Enter" to skip to content

Tag: linux

Verify if a media device or file is bootable

To verify if a removable media (e.g. USB, DVD, or ISO) is bootable, you could use file tool on Linux systems. The command file -s /path/to/media reads block special files, such as partitions, and outputs the information. To test this, I inserted RHEL 8.2 Installation ISO as a disk in a VM. The device path is /dev/sr0. Once I verified the disk is accessible, I ran file -s /dev/sr0. The output for RHEL Installation ISO shows the disk as a…

Enabling Intel 10G SFP+ X520 Series module on Centos 7

By default, Centos 7 doesn’t support Intel’s 10G SFP+ X520 module. When you look at the dmesg you find the following error: “failed to load because an unsupported SFP+ or QSFP module type was detected.” The workaround is to allow unsupported SFP modules in the kernel by enabling ixgbe kernel module. Let’s start by editing /etc/default/grub file and change the line : to Now, we create the new grub configuration with the new option. Next, the configuration file for the…