Categories
Development Linux Ubuntu

18.04.10 breaks the grub and prevents the boot

Today I encountered an issue which prevented my system from booting. The system is a fresh install, as I recently reinstalled Ubuntu 18.04.03 via live USB with the official ISO. This is my 3rd or 4th attempt, and am experiencing the same issue: Install the system with default parameters Reboot immediately after installation, no issue. […]

Categories
Development Linux Ubuntu

Mouse needs a click to work again

In Ubuntu 19.10, my mouse has a weird problem where, when I use the keyboard, I need to click (either left or right) before the mouse starts to work again. It dates from today and I didn’t play with the settings recently. Any idea where it could come from or any troubleshooting steps ? Thanks

Categories
Development Linux Ubuntu

How do i display headers of all commands?

I have done few google searches but none of them answered my question. Do we have anyway to print headers of all commands in Ubuntu? commands like ps -ef & ls, du. Example ps -ef | egrep “PID” UID PID PPID C STIME TTY TIME CMD root 18208 21629 0 02:49 pts/0 00:00:00 egrep –color=auto […]

Categories
Development GitHub Linux Ubuntu

Unable to build Yaru Cursor theme from Github

I was trying to change the ” busy ” and ” watch ” art for Yaru cursor. As instructed in the readme file, I installed python-pil and x11-apps and successfully rendered the cursor theme. I now have the bitmaps folder. But when I try ./x11-make.sh, I get $ ./x11-make.sh Error reading config file! Error reading […]

Categories
Development Linux

Syslog-ng failing, unable to resolve 0.0.0.0

I am rebuilding my Raspberry Pi from scratch and following my docs that I keep with regards to what I install and configure, so that I can quickly get the system rebuilt. In this instance I am using Rasbian Lite – Buster. One of the packages I use is system-ng. I have a config file […]

Categories
Development Linux

How to test a linux kernel upgrade inside a Container

As I know Docker uses host OS kernel, there is no custom or additional kernel inside container. All containers which run on a machine are sharing this “host” kernel. Working with a containerized testing environment. Is There is a way to perform the kernel upgrade test in such case?

Categories
Development Linux Ubuntu

How to see all udev events during boot?

Need to see the udev events to write rules. I’ve tried to set udev_log=”debug” in /etc/udev/udev.conf. I’ve tried to edit /usr/share/initramfs-tools/scripts/init-top/udev to set log_level=debug there. Also the –debug option: … log_level=debug SYSTEMD_LOG_LEVEL=$log_level /lib/systemd/systemd-udevd –daemon –debug –resolve-names=never 2>/dev/.udev.debug … And rebuilt initramfs every time: update-initramfs -k all -u After a reboot nothing is logged to the […]

Categories
Development Linux Ubuntu

boot time grub menu and splash screen customization

I want to customize the boot time grub menu and splash screen for a livecd.

Categories
Development Linux

Create Xen guest with preinstalled packages and settings

For context, I’m creating a script to simplify the process of creating xen guests. The script uses xen-create-image and uses a bunch of flags to set as many useful settings as possible (distro, vg, root-disk size, IP, etc). This is all on a Debian 10. I want to know if there’s an other Xen tool […]

Categories
Development Linux

Unix Question- should not display the specified characters

In a file lets say S.No Name 1 SIta 2 Gita 3 Rahul 4 Raj 5 Ankit 6 Rahul. In this the name Rahul should not display. Write a command in unix for this.