Linux

I will post anything I've learnt on Linux distributions.

  • Linux

    end Kernel panic – not syncing: VFS: Unable to mount root fs on unknown block

    Yesterday I booted up Kali Linux on my laptop only to find the error “end Kernel panic – not syncing: VFS: Unable to mount root fs on unknown block” after selecting the latest kernel. I rebooted, chose “Advanced Options for Kali GNU/Linux” as per below, then chose an older kernel and managed to boot in to Kali Linux.                             To resolve the issue I had to run the below steps to list and delete the oldest kernel installed. In the end, the cause of the error was that boot did not have enough disk space left thus…

  • CentOS,  Linux

    Unable to browse samba shares when internet connection is down

    We’ve been having a lot of outages on our internet connection and I noticed that we are unable to browse the samba shares on our CentOS 7 server. After some searching on the internet I saw a few comments around adding the server’s host name and IP in it’s own hosts file. I proceeded to open /hosts/etc and added the IP and server name to the hosts file. Sure enough I could now browse my samba shares on the server with our internet being down.

  • Linux,  Open Source Software,  Raspberry Pi,  Ubuntu

    Install Rocket Chat server on a Raspberry Pi using snap on Ubuntu Server 20.04

    Wow that is a long title! Here I will be posting the steps on how to install the Rocket Chat Server quickly and easily using snap on Ubuntu Server 20.04. I wanted a quick and easy chat server for home use which runs on an old Raspberry Pi I have and this seemed to be the quickest and easiest way to get a chat / instant messaging server running. Let’s get starting shall we? Flash Ubuntu 20.04 to an SD card using the Raspberry Pi imager by opening Raspberry Pi imager. If you don’t have it then install it using the Pop_Shop in Pop_OS! Otherwise download it from here. Choose…

  • Linux,  Manjaro

    Installing Manjaro

    I started using Manjaro on my laptop and found that installing applications and using it differs quite a bit from the Ubuntu distributions that I am used to. I started this mini series to show how to use it, install the OS, install applications and show off some features I found that works great. The below video shows the installation and some features of Manjaro using the Gnome desktop environment.

  • Firewalls,  Linux,  News,  OPNSense,  Raspberry Pi,  Security

    Redesign of my home network

    I have started a redesign of my home network. In short I installed and configured an OPNSense firewall with the WAN, LAN and Wifi segmented. More on the OPNSense installation later. I will be moving my CentOS file server and all current networked devices behind the OPNSense firewall. This includes all PC’s, Raspberry Pi’s, Televisions etc.

  • Linux,  Open Source Software,  Security

    Unable to run Securstick from USB disk

    I recently found Securstick which encrypts a folder on a USB stick and supports Linux, MacOS and Windows. The application runs from the USB stick and opens a browser where you type the password to decrypt the contents. Unfortunately the application would not run from my USB disk on Pop!_OS but i found this post and followed the steps from the user GopherBaroque which resolved the issue for me. Just in case the steps are also below: Open your terminal Determine the UUID of the drives with the command “sudo blkid“ Create a mount point using the command “sudo mkdir / media / USB-Stick“ Enter the stick in the fstab…

  • Linux,  Uncategorized

    Open Media Vault admin site not working

    I have a NAS running Open Media Vault (OMV) and this week it decided to not display the web front end. When browsing to http://omvIPaddress I received the below error: OMV\Exception: Failed to read file ‘/var/cache/openmediavault/cache.omv\controlpanel\login_js.json’ (size=0). in /usr/share/php/openmediavault/json/file.inc:207 To resolve the issue I connected to the NAS using secure shell: ssh root@ipaddressOfYourNAS and supplied the root passwordAfter authenticating and connecting I ran omv-aptclean and rebooted the server for good measure. I was able to access the web front end again after running omv-aptclean as per above.

  • Linux

    Error Installing CentOS 7

    I received the error “This program has encountered an unknown error.” When installing CentOS. At the end of the report it had details about RAID and I remembered that the disk was part of a RAID. To get rid of the RAID config: Restart the server. At the menu choose Troubleshooting Choose Rescue a CentOS system. You will be asked to make a selection, type in 1 and press enter.  You will see a prompt “Please press return to get a shell. Press the enter key Under “Rescue Mount” check which disk you need to configure i.e. sdb Now type: dmraid -E -r /dev/yourDisk i.e. (dmraid -E -r /dev/sda1) You…

  • Linux

    Moving my server from Windows to Linux

    I have moved from Windows to Linux on my laptop and gaming PC (Elementary OS) to be more specific and have not looked back. My home server was running Windows Home Server 2011 and it seemed like I lost one of my disks with my music on. Windows could not see the disk at all but I could see the disk in the BIOS. I then booted into Linux using a USB thumb drive and managed to access the disk and it’s data so proceded to backup the data. I then decided to get rid of Windows on my server and move to CentOS 7. I chose CentOS 7 as…

  • Elementary OS,  Linux,  Ubuntu,  Uncategorized

    How to install PyQt4 on Elementary OS (Linux)

    In this video I show the steps on how to install PyQt 4 on Elementary OS which should work on all Ubuntu based Linux distributions. I already had PyQt 5 installed but my study guide requires PyQt 4 so I decided to install and run both on my system. Here’s the steps: Open a terminal and run the below to install PyQt 4 sudo apt-get install python3-pyqt4 sudo apt-get install libqt4-dev sudo apt-get install python-qt4 qt4-dev-tools python-qt4-dev pyqt4-dev-tools Here’s a video if that’s more to your liking: