• 3 Posts
  • 34 Comments
Joined 2 years ago
cake
Cake day: December 28th, 2023

help-circle
  • I’m glad that it works for you but you have to know that it’s not like that for everyone. Last time I tried using MTP I had to write a script that would call rsync in a loop until all files were transfered because every time like one or two files would just mysteriously not make it across the cable.

    Also, not me personally, but some people have usecases like playing video files from their phone on their tv or sending files to a printer over the cable. This wouldn’t work with MTP because most “dumb” devices like that don’t support it




  • I really miss USB Mass Storage mode. Back then you could plug in your phone into your computer and it would just expose the internal storage and SD card as standard usb storage devices. Nowadays you have shitty MTP which works barely if ever, so you’re forced to use either internet or ADB for syncing files. Old way was better.

    IIRC you can still enable it if you compile your own kernel but I wish more ROMs shipped with this feature by default.




  • Yeah this is the way. Debian stable has outdated packages, debian testing has broken packages. Ubuntu is difficult for beginners because of snap. Linux mint is the perfect just-works debian-based beginner distro. Same for DE: Gnome is hard to use, KDE is bloated and unstable, and XFCE is too minimalist/diy/quirky for beginner users (you need to add a panel applet in order for the volume keys to work? Huh??). Cinnamon is the perfect middle ground between resource usage and features.

    Make sure during installation that you create a 4 GB swap partition too

    Or at least as large as your RAM if you want to be able to hibernate.




  • if they finally decide to turn full evil.

    Yeah this is the brave experience. Free and open source product that behaves as advertised… from a company that acts like they’re perpetually on the brink of fucking you over. Really hope this doesn’t happen, brave’s approach to antifingerprinting is actually quite interesting and completely different to what we see in the firefox-based hardened browsers.







  • How is ceph working out for you btw? I’m looking into distributed storage solutions rn. My usecase is to have a single unified filesystem/index, but to store the contents of the files on different machines, possibly with redundancy. In particular, I want to be able to upload some files to the cluster and be able to see them (the directory structure and filenames) even when the underlying machine storing their content goes offline. Is that a valid usecase for ceph?




  • renzev@lemmy.worldtoLinux@lemmy.mlGRUB is confusing
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    8 months 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.