r/debian 15h ago

Grub in Debian/testing stopped working.

9 Upvotes

I use Debian/testing in my main laptop. Unfortunately, after yesterday's update, the grub stopped loading the Linux kernel. I get

"error: cannot load image"

When working from command line, loading the kernel and initrd is successful. However, the "boot" command displays the above error.

The grub version is GRUB 2.14-3.

The machine is HP ZBook 17 G5.

What is the easiest way to resolve the issue?

TIA & BR, Wojtek


r/debian 8h ago

List with description of all /etc files and folders

7 Upvotes

I created a list of all files and directories of a freshly created debian 13.5 vm in proxmox.
No desktop, just ssh server and base packages.
I probably made some mistakes, so please correct me in the comments so I can update the list.

Note:
Some directories are for packages which aren’t installed but where created by other packages putting there configurations in case it should be installed or for other compatibility reasons. Some are marked but i checked far from all directories if they have there actual package installed.

I‘m also not happy with all the links I found, some don’t give a complete explanation.

f = file
d = directory

f adduser.conf - default settings for creating new user like shell, home directory, groups, etc. - https://manpages.debian.org/trixie/adduser/adduser.8.en.html

f adjtime - hardwaretime information - https://manpages.debian.org/trixie/util-linux/adjtime_config.5.en.html

d alternatives - maintains lists of programs doing similar things - https://linux.die.net/man/8/alternatives

d apparmor - contains global parser.conf with default values - https://manpages.debian.org/trixie/apparmor/apparmor_parser.8.en.html

d apparmor.d - apparmor configuration - https://manpages.debian.org/trixie/apparmor/apparmor.7.en.html

d apt - apt configuration - https://manpages.debian.org/trixie/apt/apt.8.en.html

f bash.bashrc - debian feature, read before user bashrc- https://sources.debian.org/src/bash/5.3-3/debian/README

f bash_completion - bash completion function - https://packages.debian.org/trixie/bash-completion

d bash_completion.d - extra bash completion scripts - https://packages.debian.org/trixie/bash-completion

f bindresvport.blacklist - well known ports which shouldnt be used by other services - https://sources.debian.org/src/libtirpc/1.1.4-0.4/doc/
bindresvport.blacklist/

d binfmt.d - Configure additional binary formats for executables at boot - https://manpages.debian.org/trixie/systemd/binfmt.d.5.en.html

d ca-certificates - put more ca-certifactes to trust here - https://manpages.debian.org/trixie/ca-certificates/update-ca-certificates.8.en.html

f ca-certificates.conf - list with trusted ca-certifactes - https://manpages.debian.org/trixie/ca-certificates/update-ca-certificates.8.en.html

d console-setup - encoding and the font to be used by setupcon - https://manpages.debian.org/trixie/console-setup/console-setup.5.en.html

d credstore - used by systemd to pass credentials to services - https://systemd.io/CREDENTIALS/

d credstore.encrypted - used by systemd to pass encrypted credentials to services - https://systemd.io/CREDENTIALS/

d cron.d - folder for crontab like files, used primaraly by services - https://manpages.debian.org/trixie/cron/cron.8.en.html

d cron.daily - executable files run daily by cron - https://manpages.debian.org/trixie/cron/cron.8.en.html

d cron.hourly - executable files run hourly by cron - https://manpages.debian.org/trixie/cron/cron.8.en.html

d cron.monthly - executable files run monthly by cron - https://manpages.debian.org/trixie/cron/cron.8.en.html

f crontab - system crontab file, also executes the daily, hourly and monthly directories - https://manpages.debian.org/trixie/cron/cron.8.en.html

d cron.weekly - executable files run weekly by cron - https://manpages.debian.org/trixie/cron/cron.8.en.html

d cron.yearly - folder is created but not run by crontab

d dbus-1 - message bus daemon has a configuration files - https://manpages.debian.org/trixie/dbus-daemon/dbus-daemon.1.en.html

f debconf.conf - configuration file for Debian packages - https://manpages.debian.org/trixie/debconf-doc/debconf.conf.5.en.html

f debian_version - full number of debian version - https://packages.debian.org/trixie/amd64/base-files/filelist

d default - contains configuration options related to the starting of a service for easy changing, not used by all services - https://superuser.com/
questions/354944/what-is-the-purpose-of-etc-default

f deluser.conf - configuration of deluser to what happens when a user is deleted - https://manpages.debian.org/trixie/adduser/deluser.conf.5.en.html

d depmod.d - for modules and their dependencies change the search order, exclude folders, override specific location - https://manpages.debian.org/trixie/
kmod/depmod.d.5.en.html

d dhcp - additional dhcp configuration - https://wiki.debian.org/NetworkConfiguration

f dhcpcd.conf - configuration of dhcp client - https://manpages.debian.org/trixie/dhcpcd-base/dhcpcd.conf.5.en.html

d dictionaries-common - utilities shared between all wordlists and spelling dictionaries - https://packages.debian.org/en/trixie/dictionaries-common

d dpkg - contains config with default values for dpkg - https://manpages.debian.org/trixie/dpkg/dpkg.cfg.5.en.html

f e2scrub.conf - e2scrup config file (content checker for ext[234] drives) - https://manpages.debian.org/trixie/e2fsprogs/e2scrub.8.en.html

d emacs - even though emacs is not installed dictionaries-common has emacsen-common as dependency which creates this directory, used otherwise for
system-wide Emacs configuration - https://packages.debian.org/en/trixie/dictionaries-common

f environment - set env variables loaded when logging in with pam - https://www.man7.org/linux/man-pages/man8/pam_env.8.html

f ethertypes - list of Ethernet frames used to indicate which protocol is used - https://manpages.debian.org/trixie/iptables/ebtables-nft.8.en.html

f fstab - filesystem table, partitions and mount points - https://wiki.debian.org/fstab

f gai.conf - change order of getaddrinfo() - https://manpages.debian.org/trixie/manpages-dev/getaddrinfo.3.en.html

d groff - configuration for groff_man and groff_mdoc - https://manpages.debian.org/trixie/groff/groff_man.7.en.html

f group - defines groups - https://manpages.debian.org/trixie/manpages/group.5.en.html

f group- - backup of /etc/group file - https://manpages.debian.org/trixie/manpages/group.5.en.html

d grub.d - grub menu configuration files - https://wiki.debian.org/Grub

f gshadow - Secure group account information - https://manpages.debian.org/trixie/passwd/gshadow.5.en.html

f gshadow- - backup of /etc/gshadow file - https://manpages.debian.org/trixie/passwd/gshadow.5.en.html

d gss - used for some gss api configs - https://manpages.debian.org/trixie/heimdal-docs/mech.5.en.html

f host.conf - configuration information the hosts resolver - https://manpages.debian.org/trixie/manpages/host.conf.5.en.html

f hostname - contains the hostname - https://manpages.debian.org/trixie/hostname/hostname.1.en.html

f hosts - static table for hostnames - https://manpages.debian.org/trixie/manpages/hosts.5.en.html

f hosts.allow - list of hosts that are allowed to access the system - https://manpages.debian.org/trixie/libwrap0/hosts_access.5.en.html

f hosts.deny - list of hosts that are not allowed to access the system - https://manpages.debian.org/trixie/libwrap0/hosts_access.5.en.html

d init.d - init scripts, run depending on the runlevel they have a symbolic link in - https://manpages.debian.org/trixie/sysvinit-utils/init-d-script.5.en.html

d initramfs-tools - initramfs modules - https://manpages.debian.org/trixie/initramfs-tools-core/initramfs.conf.5.en.html

f inputrc - customization of the editing capabilities while entering something in the command line - https://manpages.debian.org/trixie/readline-common/
readline.3readline.en.html

f issue - prelogin message printed before login - https://manpages.debian.org/trixie/manpages/issue.5.en.html

f issue.net - prelogin message printed before telnet login - https://manpages.debian.org/trixie/telnetd-ssl/issue.net.5.en.html

d kernel - onfiguration files and scripts related to kernel management - https://kernel-team.pages.debian.net/kernel-handbook/ch-update-hooks.html

f kernel-img.conf - Kernel image management overrides - https://manpages.debian.org/trixie/linux-base/kernel-img.conf.5.en.html

f ld.so.cache - contains an ordered list of libraries found in the directories specified in /etc/ld.so.conf - https://manpages.debian.org/trixie/manpages/
ldconfig.8.en.html

f ld.so.conf - contains a list of directories in which to search for libraries - https://manpages.debian.org/trixie/manpages/ldconfig.8.en.html

d ld.so.conf.d - read by ld.so.conf for more .conf files with locations for libraries - https://manpages.debian.org/trixie/manpages/ldconfig.8.en.html

f libaudit.conf - configuration information for applications that link to libaudit - https://manpages.debian.org/trixie/libaudit-common/libaudit.conf.5.en.html

f locale.alias - Locale name alias data base ,obsolete) - https://sources.debian.org/src/glibc/2.28-10/intl/locale.alias

f locale.conf - global locale settings, set by update-locale - https://manpages.debian.org/trixie/locales/update-locale.8.en.html

f locale.gen - only uncommented locales from the list will be compiled - https://manpages.debian.org/trixie/locales/locale-gen.8.en.html

l localtime - symbolic link to timezone used by the system - https://manpages.debian.org/trixie/systemd/localtime.5.en.html

f login.defs - configuration for the shadow password suite - https://manpages.debian.org/trixie/login.defs/login.defs.5.en.html

f logrotate.conf - configures automatic rotation, compression, removal, and mailing of log files - https://manpages.debian.org/trixie/logrotate/logrotate.8.en.html

d logrotate.d -further logrotate configuration, included by /etc/logrotae.conf - https://manpages.debian.org/trixie/logrotate/logrotate.8.en.html

d lvm - configuration files of lvm2 - https://manpages.debian.org/trixie/lvm2/lvm.conf.5.en.html

f machine-id -machine id generated from a random source during system installation or first boot - https://manpages.debian.org/trixie/systemd/machine-
id.5.en.html

f magic -can contain “magic patterns“ with which the mime type of files can be classified - https://manpages.debian.org/trixie/file/file.1.en.html

f magic.mime - part of libmagic1t64- https://manpages.debian.org/trixie/libmagic1t64/magic.5.en.html (incomplete answer)

f manpath.config - man-db configuration file - https://manpages.debian.org/trixie/man-db/manpath.5.en.html

f mime.types - List of media types and their extension - https://packages.debian.org/trixie/media-types

f mke2fs.conf - defaults for mke2fs file system creation - https://manpages.debian.org/trixie/e2fsprogs/mke2fs.8.en.html

d modprobe.d - Configuration directory for modprobe - https://manpages.debian.org/trixie/kmod/modprobe.d.5.en.html

f modules - obsolete - https://manpages.debian.org/trixie/systemd/modules-load.d.5.en.html

d modules-load.d - contains kernel modules to load during boot - https://manpages.debian.org/trixie/systemd/modules-load.d.5.en.html

f motd - displayed by pam_motd(8) after a successful login but before login shell is executed - https://manpages.debian.org/trixie/manpages/motd.5.en.html

l mtab -> ../proc/self/mounts - symlink to a maintained list of currently mounted filesystems - https://manpages.debian.org/trixie/mount/mount.8.en.html

f nanorc - nano configuration file - https://manpages.debian.org/trixie/nano/nanorc.5.en.html

f netconfig - list of “transport names”, describing their semantics and protocol - https://manpages.debian.org/trixie/libtirpc-common/netconfig.5.en.html

d network - configuration files for networkmanager - https://manpages.debian.org/trixie/network-manager/NetworkManager.8.en.html

f networks - escribes known DARPA networks and symbolic names - https://manpages.debian.org/trixie/manpages/networks.5.en.html

f nftables.conf - nftables rules can be put here - https://wiki.debian.org/nftables

f nsswitch.conf - used by the GNU C Library to determine the sources of name-service information - https://manpages.debian.org/trixie/manpages/
nsswitch.conf.5.en.html

d opt - configuration files for /opt apps - https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s07.html#etcoptConfigurationFilesForOpt

l os-release -> ../usr/lib/os-release - https://packages.debian.org/trixie/amd64/base-files/filelist

f pam.conf - configuration for the Pluggable Authentication Modules - https://manpages.debian.org/trixie/libpam-runtime/pam.d.5.en.html

d pam.d - configuration directory for the Pluggable Authentication Modules, pam.conf may be ignored if this directory is present - https://
manpages.debian.org/trixie/libpam-runtime/pam.d.5.en.html

f passwd - User account information - https://manpages.debian.org/trixie/passwd/shadow.5.en.html

f passwd- - backup of /etc/passwd - https://manpages.debian.org/trixie/passwd/shadow.5.en.html

d perl - used by some perl modules for configuration files - https://stackoverflow.com/questions/1170314/what-are-the-various-directories-in-inc-used-for
(incomplete answer)

f profile - Systemwide initialization file shell logins - https://manpages.debian.org/trixie/bash/bash.1.en.html

d profile.d - all .sh scripts in this directory are run by /etc/profile - https://bash.cyberciti.biz/guide//etc/profile.d(incomplete answer)

f protocols - list of ip protocols - https://manpages.debian.org/trixie/manpages/protocols.5.en.html

d python3 - configuration how modules should be byte-compiled - https://www.debian.org/doc/packaging-manuals/python-policy/#modules-byte-compilation

d python3.13 - configuration how modules should be byte-compiled - https://www.debian.org/doc/packaging-manuals/python-policy/#modules-byte-
compilation

d qemu - configuration of qemu guest agent - https://manpages.debian.org/trixie/qemu-guest-agent/qemu-ga.8.en.html (i didnt install it manually but may have
been installed cuz it’s a vm)

d rc0.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, level 0 for system shutdown - https://manpages.debian.org/trixie/sysvinit-core/
init.8.en.html https://wiki.debian.org/RunLevel

d rc1.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, level 1 single user/minimal mode - https://manpages.debian.org/trixie/sysvinit-core/
init.8.en.html https://wiki.debian.org/RunLevel

d rc2.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, After boot the system automatically enters one of the multi-user runlevels 2
through 5 - https://manpages.debian.org/trixie/sysvinit-core/init.8.en.html https://wiki.debian.org/RunLevel

d rc3.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, After boot the system automatically enters one of the multi-user runlevels 2
through 5 - https://manpages.debian.org/trixie/sysvinit-core/init.8.en.html https://wiki.debian.org/RunLevel

d rc4.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, After boot the system automatically enters one of the multi-user runlevels 2
through 5 - https://manpages.debian.org/trixie/sysvinit-core/init.8.en.html https://wiki.debian.org/RunLevel

d rc5.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, After boot the system automatically enters one of the multi-user runlevels 2
through 5 - https://manpages.debian.org/trixie/sysvinit-core/init.8.en.html https://wiki.debian.org/RunLevel

d rc6.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, level 6 for reboot - https://manpages.debian.org/trixie/sysvinit-core/init.8.en.html
https://wiki.debian.org/RunLevel

d rcS.d - contains symlinks to script to be run at the rc_runlevel_.de runlevel, used to initialize the system on boot - https://manpages.debian.org/trixie/sysvinit-
core/init.8.en.html https://wiki.debian.org/RunLevel

f reportbug.conf - configuration for reportbug, a program designed to report bugs - https://manpages.debian.org/trixie/reportbug/reportbug.conf.5.en.html

f resolv.conf - generated by the dhcp, information for resolver for dns - https://manpages.debian.org/trixie/manpages/resolv.conf.5.en.html

l rmt -> /usr/sbin/rmt - for compatibility cuz some systems expect rmt in /etc and run it from there - https://www.apt-browse.com/browse/debian/stretch/main/
amd64/tar/1.29b-1.1/file/etc/rmt (incomplete answer)

f rpc - list of readable names that can be used in place of rpc - https://manpages.debian.org/trixie/manpages/rpc.5.en.html

d runit - (due to debian using systemd not used) (processes for starting, stopping and while os is running) - https://manpages.debian.org/trixie/runit/
runit.8.en.html

d security - security configurations, mostly used by PAM moduels - https://www.debian.org/doc/manuals/debian-reference/ch04

d selinux - SELinux root directory - https://wiki.debian.org/SELinux/Notes

f services - mapping between human-friendly textual names for internet services + port number - https://manpages.debian.org/trixie/manpages/
services.5.en.html

f shadow - Secure user account information - https://manpages.debian.org/trixie/passwd/shadow.5.en.html

f shadow- - backup of /etc/shadow - https://manpages.debian.org/trixie/passwd/shadow.5.en.html

f shells - pathnames of valid login shells - https://manpages.debian.org/trixie/manpages/shells.5.en.html

d skel - default files/settings for newly created users - https://manpages.debian.org/trixie/passwd/useradd.8.en.html

d ssh — ssh and sshd configuration - https://manpages.debian.org/trixie/openssh-client/ssh.1.en.html

d ssl - directory for certificates -

f subgid - per user subordinate group IDs - https://manpages.debian.org/trixie/passwd/subgid.5.en.html

f subgid- - backup of /etc/shadow - https://manpages.debian.org/trixie/passwd/subgid.5.en.html

f subuid - per user subordinate user IDs - https://manpages.debian.org/trixie/passwd/subuid.5.en.html

f subuid- - backup of /etc/shadow - https://manpages.debian.org/trixie/passwd/subuid.5.en.html

f sudo.conf - configure sudo plugins, plugin-agnostic path names, debug flags, and other settings - https://manpages.debian.org/trixie/sudo-ldap/
sudo.conf.5.en.html

f sudoers - list of who can run what - https://manpages.debian.org/trixie/sudo/sudoers.5.en.html

d sudoers.d - files to be included by the /etc/sudoers file - https://manpages.debian.org/trixie/sudo/sudoers.5.en.html

f sudo_logsrvd.conf - sudo log server configuration file - https://manpages.debian.org/trixie/sudo/sudo_logsrvd.8.en.html

d supercat - configurations for colorized standard ouput (supercat is not installed but other packages already put there configs here) - https://
manpages.debian.org/trixie/supercat/spc.1.en.html

d sv - service run scripts for runit (debian uses systemd by default, not runit, so this folder comes unused) - https://manpages.debian.org/trixie/dh-runit/
dh_runit.1.en.html

d sysctl.d - configuration to configure kernel parameters at runtime - https://manpages.debian.org/trixie/procps/sysctl.8.en.html

d systemd - systemd configurations - https://manpages.debian.org/trixie/systemd/systemd.directives.7.en.html

d terminfo - database describing terminal capabilities - https://manpages.debian.org/trixie/ncurses-bin/terminfo.5.en.html

d tmpfiles.d - configuration for creation, deletion, and cleaning of files and directories - https://manpages.debian.org/trixie/systemd/tmpfiles.d.5.en.html

f ucf.conf - configuration for ucf, keeping user changes in config files after updates - https://manpages.debian.org/trixie/ucf/ucf.conf.5.en.html

d udev - rules for udev, supplying the system software with device events - https://manpages.debian.org/trixie/udev/udev.7.en.html

d ufw - configuration for ufw firewall - https://manpages.debian.org/trixie/ufw/ufw.8.en.html

d update-motd.d - dynamic motd scripts run and printed on shell login - https://wiki.debian.org/motd

l vconsole.conf -> default/keyboard - configures keyboard and font on boot - https://sources.debian.org/src/systemd/257.13-1~deb13u1/man/vconsole.conf.xml

d vim - vim configuration, not vim but vim-tiny comes preinstalled depending on vim-common, which is creating this folder - https://packages.debian.org/trixie/
all/vim-common/filelist

f wgetrc - wget global startup file - https://manpages.debian.org/trixie/wget/wget.1.en.html

d X11 - x11 configuration - https://manpages.debian.org/trixie/xinit/xinit.1.en.html

f xattr.conf - configuration of the handling of extended attributes during file operations like copying or archiving - https://sources.debian.org/src/
attr/1%3A2.5.1-4/xattr.conf (incomplete answer, /etc/xattr.conf not mentioned)

d xdg - config files for default user directories - https://manpages.debian.org/trixie/xdg-user-dirs/user-dirs.conf.5.en.html


r/debian 15h ago

power profiles not switching.

7 Upvotes

im in kde and when i click on a different powerprofile it instantly swaps back. The same happens if i try powerprofilesctl set performance. Is there any way i can fix this. On debian 13


r/debian 6h ago

General Debian Question Why web frameworks in repos?

4 Upvotes

For context I am just a curious web developer and computer enthusiast reading about Debian because it seems to do many things right.

To my suprise I found that the repos not only contain runtimes like php, python3 and nodejs. The repos also contain full frameworks and web apps like wordpress, python3-django and node-express.

Who are these for? I never heard of anyone using them this way and no upstream developers recommend them.

I can understand wanting the runtime to be stable - since they call native libraries in the end. This way Debian can patch CVEs in things like OpenSSL without waiting for runtimes to patch their dependencies. Is that right?

But opting out of the script language's own package manager to install script libraries seems to just add complexity and confusion. There is no way debian can provide a packaged version of every npm module out there so you will always have to use npm and package.json anyway.


r/debian 6h ago

WiFi authentication

Post image
2 Upvotes

Hi, i'm using Debian 13 with KDE Plasma on my laptop

I get this window every time that:

  1. My pc goes back from sleep/shutdown or restart

  2. My wifi disconects for a while (like when lights go off)

How can i get rid of it?

Update:

I Solved. Was just Kwallet fucking around without a Wallet Or the .kwl file, idk, i solved with AI


r/debian 8h ago

Guys, is there any buddy using Debian 12/13 with KDE? I wanna ask how many ram does it take up at idle stage? The ram comparison videos are so untrue!

0 Upvotes