Categories
Linux Mastering Development

bash: /usr/bin/sed: No such file or directory

On a test server I purposefully deleted ????? in / – I was expecting the symlink /lib64 and the /media directory to be deleted. All went well (everything broke), but then I was curious about the output below: [root@testserver /]# ls bin boot dev etc home lib lib64 media mnt opt proc rh_share3 root run […]

Categories
Linux Mastering Development

Trying to install virtualbox to make hypervisor system and I get this error while installing with apt install. Help?

N: Download is performed unsandboxed as root as file ‘/tmp/mozilla_singe0/virtu albox-6.1_6.1.14-140239~Ubuntu~eoan_amd64.deb’ couldn’t be accessed by user ‘_a pt’. – pkgAcquire::Run (13: Permission denied)

Categories
Linux Mastering Development

ssh-keygen : generate public key from private key? [duplicate]

I got a pub/pri key pair generated using ssh-keygen. ssh-keygen -t rsa -b 2048 Now say, I lost the public key but have the private key. So I want to generate the public key using private key, which I know is possible but am not sure how. I went through few post and articles which […]

Categories
Linux Mastering Development

Create can0 interface for USB CAN Converter Basic (UCCB) on Arch

I have a USB CAN Converter Basic as described here: https://ucandevices.github.io/uccb.html When I plug it into my Arch Linux laptop, dmesg shows the following: usb 1-6: new full-speed USB device number 12 using xhci_hcd usb 1-6: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00 usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-6: […]

Categories
Linux Mastering Development

USB hard drive on OTG not mounted in Arch Linux

I am trying to mount a USB hard drive (Seagate Backup Plus) via the USB OTG port of my Wandboard on Arch Linux ARM. When I plug in the drive the pilot light flashes several times and Arch Linux finds the device, but finds it as a USB hub: [ 1912.431400] ci_hdrc ci_hdrc.0: new USB […]

Categories
Linux Mastering Development Ubuntu

grub menu showing duplicate entries

The grub menu is showing me two of every entry. The grub customizer looks correct though. Everything in the grub customizer is duplicated and in a random order in the grub menu. How do I fix this?

Categories
Linux Mastering Development Ubuntu

Screenshots from multiple display

I have a script for capturing screenshot and webcam photo. Here’s the script. Now, I want to support multiple display. From the linked script you will see that I export DISPLAY at the start of the script. When there are multiple display connected (say for instance laptop display and an external monitor) how I select […]

Categories
Linux Mastering Development Ubuntu

Ubuntu Server 18.04 – hardware RAID Card will always be offline and RreadOnly

I am gotting this on my server: system: Ubuntu 18.04.2 LTS RAID Card: RAID 5, LSI Logic / Symbios Logic MegaRAID Tri-Mode SAS3508 CPU: AMD 3950X GPU: NVIDIA 1080Ti RAM: 256G DISK: 10T SAS * 4 The energy is ok, with a power supply of 1250W. And here is the problem: RAID will come offline […]

Categories
Linux Mastering Development Ubuntu

Windows 10 Ubuntu 16.04 Dual boot file permission read only in shared parition

I have a dual boot set up with Windows 10 and Ubuntu 16.04. I created a shared partition that can be accessed from both. My problem occurs when I try to access a file I saved on Ubuntu while I’m on Windows or vice versa. If I’m on Windows, opening a file I saved while […]

Categories
Linux Mastering Development Ubuntu

Lenovo T470 and VMWare Player/Graphics

I have been working with Ubuntu primarily as a user for the past few years as a replacement for windows. I have been looking at getting VMWare player working for a while to run a virtual copy of windows for basic gaming, AOE2. I have tried to trace an issue in the client operating system […]