• 29 Posts
  • 355 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
    ·
    2 days 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.worldtoScience Memes@mander.xyznuclear
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    3 days ago

    Back in middle school, our science teacher decided to make the class do a debate about different types of energy sources in order to learn about their advantages and disadvantages. I was on the pro-nuclear team, and we were wracking our brains trying to come up with a rebuttal to “but what about the waste?” until some madlad basically came up with this great argument:

    We can just dump all of the nuclear waste on Belgium. It will take a really long time before it fills up, and nobody cares about Belgium anyway

    The anti-nuclear team had no good response, and we actually got a point for that argument because we looked up the relevant statistics (nuclear waste output, belgium surface area, etc.) and calculated exactly how long it would take to turn belgium into a radioactive wasteland.



  • Now we just have to wait for some startup to pitch “local drivers” as a revolutionary new idea.

    Introducing the most groundbreaking innovation in transportation since the invention of the wheel: Human-Powered Chauffeur Experience (HPCE). Say goodbye to the soulless, algorithm-driven monotony of self-driving cars and hello to the warm, beating heart of a human taxi driver.

    Imagine being whisked away to your destination by a charming, witty, and (mostly) alert individual who can engage in conversation, offer personalized recommendations, and even provide a sympathetic ear when you need it most. Our HPCE drivers are trained in the ancient art of navigation, able to adapt to unexpected road closures, and possess an uncanny ability to find the best route to your favorite coffee shop.