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

Can an Xserver start faster in qemu non-accelerated mode

23 November 2024 @ 3:35 pm

I am trying to boot a virtual Linux system under qemu without hardware acceleration, i.e. in interpreted mode. The boot functions OK but performance is poor; I get a black screen for about 7 minutes. Here is a video of the boot (unzip it and play the enclosed mp4) http://tjcw.freeshell.org/LinuxBoot.zip . Can anyone diagnose why the Xserver start takes so long, and offer suggestions for improvement ? The virtual Linux is a current Debian distribution.

Why is Visual Studio not downloading the installer by setup, not even a bit is installed?

23 November 2024 @ 3:10 pm

Visual Studio 2022 is a Microsoft coding software that uses V C++ (From what I know). I am installing it to make GDI effects, so of course I installed the setup. And also ran the app as an administrator, and it started downloading, it has been 10 hours now, it was still downloading, not even a quarter of the way through. How do I fix this? (I am using Windows 11 64 bit, not Windows 7) please- do not spam the answers, i am running on a warmart pc.

Boot device not found after installing Ubuntu server 24.04

23 November 2024 @ 2:26 pm

I'm having a technical problem while installing Ubuntu server 24.04 on my organization physical server. The installation was successful but after booting it keep showing no bootable device found. I'm new to the organization but I'm tough that they have been using Windows Server but later own they are blocked. So what will be the problem and possible solutions.

How to run several curl cmd commands, each found in a separate .txt file in one folder?

23 November 2024 @ 2:16 pm

If I have a certain folder with a number of .txt files, each contain a single curl cmd in a single line, I want to be just able to point to the folder then all of these commands are launched once, preferably in the ascending order of their file modification date and preferably the output of each command is saved in a file (just one file for all, with separation format in between). I tried a .bat solution as follows but a 8kb file (or command) doesn't run correctly, despite that I just opened the .txt file in which the command is and copied it directly into cmd, it works: @echo off setlocal enabledelayedexpansion :: Loop through all .txt files in the current folder (excluding this batch script itself) for %%f in (*.txt) do ( set "cmd=" :: Read the content of each file (e.g., 1.txt, 2.txt, etc.) for /f "delims=" %%a in (%%f) do ( set "cmd=!cmd! %%a" ) :: Execute

My laptop turned off while running memory diagnostic test. Is this harmful to my laptop?

23 November 2024 @ 2:12 pm

I was doing memory diagnostic test on my laptop with this command on run mdsched.exe. I forgot to put the charger while doing the test, and my laptop battery discharged while doing the test due to not plugging the charger. Is it harmful that my laptop have turned off while doing the test due to the not plugging the charger?

How to stop external hard drive from overwriting UEFI records?

23 November 2024 @ 1:40 pm

When I tried booting a 2.5" HDD with multiple OSes bootstrapped onto it through a SATA to USB adapter, the boot record the existing Arch Linux installation on my system (MSI Modern 14 C7M) was wiped. External HDD: 100Mi shared EFI partition between Arch Linux and Windows boot manager 250Gi Windows 11 instance 1 500Gi Windows 11 instance 2 181Gi Arch Linux instance Internal SSD: 512Mi EFI system partition 472Gi Arch Linux instance It seems that instead of recognising the external HDD as a USB drive like through other SATA adapters, this one reports it to the system that it is a hard drive. After an initial reboot, it also seemed that the boot record for Arch Linux instance on the external HDD was wiped, and the system would only boot to Windows boot manager. How do I stop the external HDD from overwriting my internal SSD's boot records?

How to find NVMe version on the motherboard?

23 November 2024 @ 12:48 pm

I have tried searching in Sysinfo of Windows, no NVMe version found. Using HWiNFO64 and CPUID CPU-Z to read hardware info, no NVMe version found. CrystalDiskInfo shows NVMe version but it's for the SSD not motherboard. Looked up motherboard manual but the manual of motherboard RPL Compass_RTX is so hard to find, and checked the specs of chipset Intel HM770 (Raptor Lake-S PCH), Intel doesn't want to show me the info. After all of these, I'm here to wait for someone to clue me in.

dnsmasq container is not accessible from outside

23 November 2024 @ 12:46 pm

I have a CentOS 7 VPS running multiple services in Docker containers. All services are exposed to 127.0.0.1 and accessed via ZeroTier. I route connections from the ZeroTier (ZT) interface to localhost to access my services using <zt_server_ip>:<service_port>: sudo sysctl -w net.ipv4.conf.ztyxa6sxte.route_localnet=1 sudo iptables -t nat -A PREROUTING -i ztyxa6sxte -j DNAT --to-destination 127.0.0.1 This works perfectly for all services — except for dnsmasq. I'm using the jpillora/dnsmasq image with a simple web UI. My docker-compose.yml: services: dns: container_name: dns restart: unless-stopped image: jpillora/dnsmasq volumes: - /etc/dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf ports: - "127.0.0.1:53:53" - "127.0.0.1:53:53/udp" - "127.0.0.1:5380:8080" environment: - HTTP_USER=<user> - HTTP_PASS=<pass> Despite

Windows Server 2025: Formatting a storage space volume with ReFs fails

23 November 2024 @ 8:36 am

I have a problem in a Windows Server 2025 VM when creating a volume/drive with the ReFS file system. The drives are passed through to the VM via HBA. They are 2 SATA WD hard disks with 8TB and 12TB. According to Hard Disk Sentinel, they are both error-free. Both disks are part of a storage pool on which a virtual disk was created that uses the entire pool. Now I want to create a local volume with a drive letter. However, an error message appears when formatting: Failed to format volume - Invalid Parameter Activity ID: {....} Screenshot from formatting process The problem only occurs when formatting with ReFS and not with NTFS. The event viewer shows: An error has occurred during method execution. Class: MSFT_Volume Method: Format Err

How to load browser images only after explicit click? By either config or addon?

23 November 2024 @ 8:22 am

For a good reason, I want to Disable default loading of images in a browser. But still have the option to do load single images on some kind of user action. This could be any kind of: Right click > load. Some key-down + left click. Or whatever. It would also be nice to have a whitelist feature like "default allowing images from *.mycompany.com". It's important to not just load all images, but only the ones that a user wants to have. I remember that this was a default feature of Opera back in the 2000-ish years. I even think the hotkey was just o. Back then they used this for slow connections, today I want to have this for security reasons. I found several add-ons already, but they don't seem to do exactly what I want. Most of them just hide images and replace them with some generic placeholder purely for