• 36 Posts
  • 281 Comments
Joined 1 year ago
cake
Cake day: December 28th, 2023

help-circle


  • renzev@lemmy.worldtoLinux@lemmy.mlGRUB is confusing
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    23 hours ago

    If GRUB is too confusing, just uninstall it? You said you have a UEFI system, you don’t need a bootloader. You can just put the vmlinuz and initramfs onto the ESP and boot into it directly. You can use efibootmgr to create the boot entry, something like this:

    efibootmgr \
    	--create \
    	--disk /dev/sda \
    	--part 1 \
    	--index 0 \
    	--label "Void linux" \
    	--loader /vmlinuz-6.6.52_1 \
    	--unicode " \
    		root=PARTLABEL=VOID_ROOT \
    		rw \
    		initrd=\\initramfs-6.6.52_1.img \
    		loglevel=4 \
    		net.ifnames=0 \
    		biosdevname=0 \
    		nowatchdog \
    		iomem=relaxed \
    		"
    
    • --disk /dev/sda: What disk is the esp on?
    • --part 1 What partition number (counting from 1) is the esp on?
    • --index 0 At what index in the boot menu should the boot entry appear?
    • --loader Path to the vmlinuz file. These are normally in /boot, you have to move it to the esp yourself
    • root=PARTLABEL=VOID_ROOT this is the linux root partiion. I’m using PARTLABEL to identify mine, but you can use pretty much anything that /etc/fstab supports
    • initrd=\\initramfs-6.6.52_1.img Again, you have to move the initramfs file from /boot into the esp. For some reason this uses backslashes, not forward slashes as path separator (double backslashes in this case are to prevent the shell from interpreting it as an escape sequence)
    • The rest of the arguments are just misc kernel parameters that I use

    Just search for EFISTUB for more info.







  • renzev@lemmy.worldtomemes@lemmy.worldMeme.
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    15 days ago

    “Well known” is so patronizing. It’s like OP is saying “yeah, everyone knows about this, what are you, some kind of loser?”. Another one of those phrases that immediately discredits whatever allegation is to follow.



  • renzev@lemmy.worldtomemes@lemmy.worldMeme.
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    4
    ·
    15 days ago

    They want a revolution and it’s acceptable if people have to die to achieve it.

    Yeah that’s how revolutions work. Because the alternative, at least in theory, is more people dying of poverty, environmental pollution, institutionalized oppression, and other consequences of the current global economic system.





  • My old housemates were the opposite lol. We tried saving every penny on heating costs. In the winter, we taped the windows over with cardboard for better insulation (they are old single-pane windows), and fashioned an automatic door closer from an elastic cord to keep the door into the living room shut (our “warm zone”). Instead of using gas heating, we mined ETH with our gaming PC’s (this was before ethereum went proof-of-stake). Between the three of us, the total energy output was close to 2kW, so totally viable for keeping the living room warm. Pretty sure we ended up earning money from heating the house lol.




  • I still can’t fathom why electron needs to exist when PWA is a thing. Like, almost every app is just plain better running in a normal web browser instead of electron. Webapps never need to be updated manually, electron apps do (e.g. discord). Webapps are sandboxed inside the browser, electron has you running some rando developer’s code natively. With electron, you have to trust the developers of every app to keep the electron version up-to-date to avoid critical bugs (e.g. libwebp). With webapps, if your browser is patched, then every webapp is safe. Electron also suffers from random bugs and regressions that aren’t an issue in most web browsers.





  • renzev@lemmy.worldtolinuxmemes@lemmy.worldSnap...
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    If you’re interested in another approach to containerizing GUI applications, also checkout out x11docker. It’s a small independent project maintained by one guy, nothing big like flatpak, but also pretty cool. The name is actually a bit limiting – it supports both docker and podman, and can run wayland apps as well. One of the coolest features, in my opinion, is the ability to run a separate X server inside every sandbox and forward individual windows to the “host” X server. That way you can prevent apps from spying on your keyboard or other apps’ windows.