Linux

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

  • Linux,  Virtual Box

    Kernel driver not installed (rc=-1908) and modprobe vboxdrv

    I created a new VM in Virtualbox on my Pop_OS! machine to install Rocky Linux but received the below error when trying to start the virtual machine:             A quick search on the internet took me to the solution in this post. Thanks to Ali Razmdideh for the answer. I’m posting the steps here in case I need to find it again quickly. From terminal: sudo apt update sudo apt install –reinstall linux-headers-$(uname -r) virtualbox-dkms dkms sudo modprobe vboxdrv I did not reboot and managed to start the virtual server.

  • Linux,  Ubuntu

    ESET NOD32 for Linux needs the following packages to install: libc6-i386, /lib/ld-linux.so.2

    I tried to install ESET Antivirus on one of my machines and received an error stating: “ESET NOD32 for Linux needs the following packages to install: libc6-i386, /lib/ld-linux.so.2“ I had to install libc6 but just running an apt install libc6 showed that I already had libc6 installed. After some head scratching I noticed the -i376 (doh!) and installed the missing dependency using: sudo apt install libc6-i386 which resolved the issue and I was able to install ESET Antivirus.

  • 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…