superuser.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

Super User is a Q&A site for computer enthusiasts that’s free. Free to ask questions, free to answer questions, free to read, free to index

systemd-boot LUKS2 crypted arch won't boot: Kernel panic cannot open root device, never asked for password on Arch Linux

15 June 2025 @ 4:58 pm

Goal I'm trying to install Arch Linux, using systemd-boot, a plain & simple /boot partition, and a LUKS2-crypted / containing btrfs. Problem The system encounters a kernel panic during every boot. I believe some config to be at fault. Config Here are some config files: /boot/loader/entries/arch-linux.conf title Arch Linux :3 linux /vmlinuz-linux-lts initrd /intel-ucode.img options rd.luks.name=8870a85d-a205-4f7b-bac7-c8d3929a6df7=root root=/dev/mapper/root rw rd.luks.options=timeout=0,password-echo=no,tries=0 /etc/fstab # Static information about the filesystems. # See fstab(5) for details. # <file system> <dir> <type> <options> <dump> <pass> # /dev/mapper/root_map LABEL=edge-root-drive UUID=7075b490-62e4-4c98-b43b-71bde7cbea25 / btrfs rw,relatime,space_cache=v2,subvol=/ 0 0

How to set FFmpeg to encode with an x264/x265 GOP every X second?

15 June 2025 @ 2:01 pm

Video processing workflow that does the following: Split the video into chunks (10-15mins) Encode the chunks one by one Concatenate the chunks, then using Shaka packager, create the CMAF compliant DASH and HLS playlists and a fragmented MP4 (single file, byte-range fetched). I am trying to achieve 2 second fragment durations, and 4 second segment durations by placing GOPs every 2 second in each chunk. When I assemble them into a single video then as expected, at chunk boundaries, this fix 2 second GOP interval won't hold up. (unless perfectly timed). This will result in fragments and then eventually segments to have varying segment durations at some places. How could I achieve that, so after assembling the chunks into a single mp4, there will be GOPs at least at every 2 second interval point (or very close to it)? Current result: segment_000 | duration 5sec | GOP ~ 0-2, 2-4, 4- | segment_001 |

Is this normal MemTest86 behaviour?

15 June 2025 @ 12:43 pm

I have a Framework Laptop 16 which experiences crashes under Ubuntu 24.04 (application crashes, random WiFi disconnects, and less frequently, system lockups) especially when under load. I tried running MemTest86 Free (version 11.3 Build 1000) which I downloaded from here. When I booted into MemTest86, I saw the expected GUI with a countdown to auto-test, and the options to configure or cancel. When I start the test (all default settings), all I see is this: MemTest86 Running a test For at least the first hour, the character to the right of 'State' was spinning. When I came back to it 3 hours later, it had stopped spinning. I left it overnight. No change. I had expected to see something like this (from the user guide):

How to stop apps asking for focus on Windows 11?

15 June 2025 @ 12:25 pm

I'm having this annoying situation on Windows 11, that some apps keeps asking for focus and disturbing me. In the example below, the culprit is this app with the blue circle logo, note that its windows keep flashing until I click on this and minimize again. Is there anything I could do to avoid that? enter image description here

How to setup /etc/hosts redirects only for any domain?

15 June 2025 @ 8:59 am

I have set /etc/hosts to block any unproductive domains, redirected them to localhost. But, I have: 127.0.0.1 domain1.com 127.0.0.1 domain2.com When I type into a browser domain1.com, I'm redirected to my localhost. It's correct. When I type into a browser domain2.com, I'm not redirected, in the URL I still see domain2.com and error message: This website is unavailable The website domain2.com refused to connect. Try: Check connection Check proxy server and firewall ERR_CONNECTION_REFUSED Any idea what to do? I don't know if it depends on any redirects/htaccess/whatever on remote website. I put these URL without HTTP(S) protocol, just a domain name. When I type domain1.com, it's okay, redirected to localhost. When I type https://domain1.com

BIOS stuck without keyboard and no boot device selected. CMOS battery removed. How to recover?

15 June 2025 @ 5:27 am

I have an old Synology Diskstation DS1511+ which I want to use as a simple Proxmox Backup Server (PBS). Under the hood, it's an ordinary PC with Atom 1.8GHz CPU and 4GB RAM. The OS is installed on a 128MB USB flash disk directly mounted onto the mainboard. In the past, I was able to successfully boot Debian/PBS. After playing around for quite some time, I am stuck with Reboot and Select proper Boot Device or Insert Boot Media in selected Boot device and press a key Unfortunately the system does not seem to react to the keyboard any longer. Neither DEL for entering BIOS nor F11 for showing boot menu work, which previously worked. System briefly flashes BIOS screen and is then stuck with message above. The thing is, the last time I was in BIOS I disabled all boot devices. I may have played around with the USB settings as well and maybe inadvertently disabled USB1 emulation which is possibly required to detect the USB keyboard. No pr

How do I diagnose this crazy slow screen update caused by low GPU clock?

15 June 2025 @ 5:18 am

Display updates get insanely slow sometimes when not plugged in. Like dragging a window across the screen can take 15 seconds and only do two or three display updates during that time. Same with simple vertical scrolling in a browser. Other times it works just fine. I have a Dell XPS 17 laptop with Intel UHD Graphics 9A60, Tiger Lake and Intel GPU clock rate is to blame (details below), but I can't figure out how to tell it to stay at a high enough clock rate. Where are the controls for this? In Intel Graphics Command Center I can see whether I'm plugged in or on battery. I can even see the number of mW it's using. It tells me whether the battery is charging, discharging, or idle. But it doesn't say whether it's switched the settings to plugged in mode or battery mode. But more importantly, it has no power saving settings related to clock rate. They're all related to display brightness. That's not the issue. So how do I set GPU clock rate to always be high, even on bat

Why does Dell Display Manager 2.x installation fail with the error - 'failed to set process mitigation policy 87' (Windows10/64)?

14 June 2025 @ 3:19 pm

Why does Dell Display Manager 2.x installation fail with the error - 'failed to set process mitigation policy 87' (Windows10/64)? Download: https://www.dell.com/support/product-details/en-in/product/dell-display-manager-2.0/drivers

Need help recovering old Windows 11 boot entry after new Win 11 installation

14 June 2025 @ 1:38 pm

This is the way my system was before I installed Windows 11 again. 240GB M.2 SSD contained Ubuntu, it's grub menu had Windows boot entry 256GB SSD had Windows 11, it had it's own boot entry Because the Win 11 on 256GB SSD became messed up due to how it handled it's page file, I decided to install Win 11 on M.2 SSD, so I formatted this whole drive and installed a new Win 11, after doing this I lost access to the old messed up Win 11. In BIOS, I only see entries for Windows Startup on 256GB SSD and selecting it is taking me to the newly installed Windows not the old one. 240GB M.2 SSD on which the newly Win 11 is, doesn't have any entries in the BIOS. I have important files and information on the old messed up Win 11, how do I gain access to it? Hardware Information Motherboard: Gigabyte B450M K

Why is Fill.UserPicture is not shared in Excel?

14 June 2025 @ 11:57 am

I have an image SlikaVnos on a worksheet Test. I'm trying to change it with the command: Worksheets("Test").Shapes("SlikaVnos").Fill.UserPicture cSlikaPotIme The command is executed, but the image does not change. I have a form on an Excel worksheet that also contains an image. The user can change the data. They can also change the image. The image should be changed by using the explorer to find another image in the folder. I start the explorer with VBA code. When the image is selected, I write the full name (path and name) to the variable "cSlikaPotIme". The command: Worksheets("Test").Shapes("SlikaVnos").Fill.UserPicture cSlikaPotIme Should replace the image in the form SlikaVnos, but this does not happen. It does not report any errors.