Linux Questions

1149 readers
25 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS
101
 
 

I have a box running kodi in standalone mode with X11. My TV displays "no signal" if I leave it for too long, does anyone know how to stop this from happening?

I can still ssh into the box and use the remote app Kore so the system hasn't suspended or anything like that.

Pressing up/down etc on the kore remote, which should change what is displayed on screen, doesn't wake kodi up. However, I can wake it up if I tell Kodi to play a video.

102
 
 

I'm looking for a linux kernel for Debian that is 6.4.2 or above (need it to support the AX101 WiFi module).

The Debian package linked below is "linux-image-6.4.0-2-amd64 (6.4.4-3)"

Does that mean the kernel version is 6.4.0 or 6.4.4?

https://packages.debian.org/unstable/kernel/linux-image-6.4.0-2-amd64

103
 
 

Hi! I'm having a hard time finding info about ways to make the lower panel on my desktop do what I want. It seems it only allows me to pin application shortcuts to it. I'd like to add other things. I'm guessing this lower panel is a Gnome tweak, so I suppose I'd like to tweak the tweak. If anyone knows where this mysteriously wonderful lower panel comes from I can probably find docs on it. It has its own settings menu and I've explored those options in the GUI.

104
 
 

I have a new install of Debian 12 Bookworm, and I have added the nonfree firmware sources to my sources list.

However, when I run apt search firmware-linux I see three options

firmware-linux

firmware-linux-free [installed, automatic]

firmware-linux-nonfree

I would like to use nonfree firmware, but I am confused by that first option. what does firmware-linux include or not include that is different from firmware-linux-nonfree? Which should I install?

105
 
 

I messed up big time with a few depmod and modprobe commands and now I see the console log every time I log onto my pc and my TTYs are flooded with logs. It's pretty annoying. So I wanted to know how I could reset my kernel configurations to defaults ?

I'm on Arch Linux and latest. Unfortunately I didn't know about Timeshift backups before I did this so I'm a little screwed here if that's the only way to restore my kernel modules back to what they used to be when I installed it.

106
 
 

To clarify, I am not talking about making installation media. My installation USB works just fine. What I want to do is install Debian 12 Bookworm to a second USB drive to use as the permanent boot drive for a machine.

As for why I want to do this: I have a small HP elitedesk 800 G3 mini-pc. It has both an NVMe drive and a 2.5" SATA drive. I want to turn it into a file server with RAID 1 between the NVMe and SATA drives, with a USB drive in the back as the boot drive (yes I know about the issues of wear-out from running an OS from a USB drive. I am okay with this).

My procedure so far has been simple: insert both the installation USB and the target USB. I am able to detect and install the OS to the target USB without issue. The system then reboots and I am able to log into the OS from the USB drive (performance depends a lot on the speed of the USB drive being used, I have tried a few different types and settled on an abnormally fast USB drive which performs pretty well as far as I can tell).

However, as soon as I shut down from that first boot and remove the install USB, the next time I boot, the BIOS says "boot device not found" as though it cannot detect any OS. And after that I am completely unable to boot into that drive ever again. I have gone into the BIOS and changed as many settings as I can think of, such as turning off secure boot, turning off fast boot, verifying that the boot order is set to boot from USB. Nothing so far has worked.

Does anyone have any thoughts for what could be wrong? I know sometimes booting from a USB is treated differently from booting from a internal drive, but I am unclear on the exact details of this.

Any help would be much appreciated.

107
 
 

I want to install Debian over an existing Debian install with an existing home partition in an encrypted lvm (to upgrade to testing), and I have been practising in a vm.

After trying to follow the advice on https://www.blakehartshorn.com/installing-debian-on-existing-encrypted-lvm/, I successfully reached the end of the installation, but when I try to boot into my system, I get the error(s) shown in the attached screenshot.

Any idea what I did wrong/need to do?

Edit: "sgx: There are zero EPC sections" is something that displayes when booting successfully into a machine that works too.

108
 
 

I want to patch security holes but I don't want non-free software

109
 
 
  • Pop!_OS 22.04
  • on a 500GB SATA SSD
  • separate partitions with ext4 fs for the root and /home partitions.

I have Googled a lot, resized the home partition and filesystem a few times (from a liveboot USB) and run various analyzers but the problem persists.

Some output:

pop-os@pop-os:/media/pop-os$ sudo resize2fs /dev/sda3
resize2fs 1.46.5 (30-Dec-2021)
Please run 'e2fsck -f /dev/sda3' first.

pop-os@pop-os:/media/pop-os$ cd a358cafe-a2a3-46a4-ba33-0a82e88fb157/ && sudo ncdu || cd ../
pop-os@pop-os:/media/pop-os$ sudo lsblk /dev/sda3 -o size
 SIZE
 271G
pop-os@pop-os:/media/pop-os$ sudo e2fsck /dev/sda3
e2fsck 1.46.5 (30-Dec-2021)
/dev/sda3: clean, 264256/17768448 files, 8195768/71048094 blocks
pop-os@pop-os:/media/pop-os$ df -h --out=size a358cafe-a2a3-46a4-ba33-0a82e88fb157/
 Size
 266G

ncdu, du show 62 GB and Steam says similarly that there is no space to install games.

When I resize the partition and filesystem, it does show less remaining size. Resizing back to 290 GB, the max is still ~62 GB total apparent space.

Any ideas before I nuke the partition and move my data into a fresh one?

110
 
 

I'd like to set limits on the clockspeed of my laptop for efficiency and to reduce heat and fan usage. Is there some way I can do this in AMD's Pstate-EPP driver?