Skip Navigation
[Question] Encrypted Partition Unlock via Root Unlocking
  • Doubling what Klaymore said, I've seen this "just work" as long as all partitions have the same password, no key files necessary.

    That said, if you needed to use a key file for some reason, that should work too, especially if your root directory is one big partition. Keep in mind too that the luks commands for creating a password-based encrypted partition vs a keyfile-based encrypted partition are different, so you can't, for example, put your plaintext password into a file and expect that to unlock a LUKS partition that was setup with a password.

    But the kernel should be trying to mount your root partition first at boot time where it will prompt for the password. After that it would look to any /etc/crypttab entries for information about unlocking the other partitions. In that file you can provide a path to your key file, and as long as it's on the same partition as the crypttab it should be able to unlock any other partitions you have at boot time.

    It is also possible, as one of your links shows, to automatically unlock even the root partition by putting a key file and custom /etc/crypttab into your initramfs (first thing mounted at boot time), but it's not secure to do so since the initramfs isn't (and can't be) encrypted - it's kind of the digital equivalent of hiding the house key under the door mat.

  • It happens each time!
  • Another solution to this situation is to squash your changes in place so that your branch is just 1 commit, and then do the rebase against your master branch or equivalent.

    Works great if you're willing to lose the commit history on your branch, which obviously isn't always the case.

  • Scenes From A Hat
  • Sounds like a problem with Memmy. Does this link work? https://lemm.ee/c/sfah@hilariouschaos.com

    You should be able to search communities in your app and could have searched "sfah@hilariouschaos.com" too.

    But basically communities on Lemmy are in the form of "name@host". The "name" can be whatever someone wants, and the "host" is the website / Lemmy instance where that community originates from. But because it is federated it's all available everywhere (generally speaking). For example, if you visit https://lemmy.world/c/sfah@hilariouschaos.com it should be the same content just loaded via lemmy.world instead of lemme.ee. However if theoretically someone went and made a "sfah@lemmy.world" community, that would be a completely separate community from the above, hosted on a different Lemmy instance.

  • How good is the Steam Deck really? (Not a gamer)
  • I'll just add that another, albeit smaller, category of games that don't work are really new, demanding titles. There's not a lot of them for now, but naturally the deck wasn't the most powerful device to begin with and over time less titles will work well.

    Starfield was pointed out to me as an example of one that can't run on the deck for performance reasons (not that Bethesda is known for their optimization) and BG3 was only barely playable at the lowest settings in the more demanding areas of the game (i.e. Act 3).

    That said, for its price point, and considering most games are using the proton compatibility later, I was actually very impressed with its performance.

  • 600 more active users in the last few days, from 47225 to 47827 in two days
  • Out of curiosity, what content are you looking for? Discovery on Lemmy can be a problem, but sometimes the communities are there and even active, just buried.

    But may I also suggest searching by Top Day/12-hour/6-hour to see the most active posts. Lemmy's scaled algorithm still doesn't get it quite right IMO.

  • Linux Mint 22 released: An attractive option for migrating away from Windows | Windows 11 system requirements block millions of PCs from upgrading, while Linux Mint continues to work on older hardware
  • I know for me, at least with gnome, toggling between performance, balanced, and battery saver modes dramatically changes my battery life on Ubuntu, so I have to toggle it manually to not drain my battery life if it's mostly sitting there. I don't know if Mint is the same, but just throwing out the "obvious" for anyone else running Linux on a laptop.

  • The graying open source community needs fresh blood
  • Found a blog post that gives a quick overview of how to do git via email in general: https://peter.eisentraut.org/blog/2023/05/09/how-to-submit-a-patch-by-email-2023-edition

    So at least from my understanding you'd make your changes, email the contents of the patch to the maintainer, and then they'd apply it on their side, do code review, email you comments, etc. until it was in an acceptable state.

    There's also the full kernel development wiki that goes into all the specifics: https://www.kernel.org/doc/html/v4.16/process/howto.html

    (I never got through the whole thing)

  • The graying open source community needs fresh blood
  • I'll also throw out: aging infrastructure, build systems, coding practices, etc.

    I looked into contributing to the kernel - it's already an uphill battle to understand such a large, complex piece of software written almost entirely in C - but then you also need to subscribe to busy mailing lists and contribute code via email, something I've never done at 30 and I'm betting most of the younger generation doesn't even know is possible. I know it "works" but I'm really doubting it's the most efficient way to be doing things in 2024 - there's a reason so many infrastructure tools have been developed over the years.

    The barriers to entry for a lot of projects is way too high, and IMO a lot of existing "grey" maintainers, somewhat understandably, have no interest in changing their processes after so much time. But if you make it too hard to contribute, no one will bother.

  • Valve has a new Steam Chart for the most played Steam Deck games
  • I'm surprised by Helldiver's. Has there been some performance patches? I tried playing that on my deck near launch and it really struggled even at minimum settings - I can't imagine how it would run at higher difficulties.

  • Should I or should I not use a VLAN? I have trouble understanding the benefits for home use
  • Maybe I am not thinking of the access control capability of VLANs correctly (I am thinking in terms of port based iptables: port X has only incoming+established and no outgoing for example).

    I think of it like this: grouping several physical switch ports together into a private network, effectively like each group of ports is it's own isolated switch. I assume there are routers which allows you to assign vlans to different Wi-Fi access points as well, so it doesn't need to be literally physical.

    Obviously the benefits of vlans over something actually physical is that you can have as many as you like, and there are ways to trunk the data if one client needs access to multiple vlans at once.

    In your setup, you may or may not benefit, organizationally. Obviously other commenters have pointed out some of the security benefits. If you were using vlans I think you'd have at a minimum a private and public vlan, separating out the items that don't need Internet access from the Internet at all. Your server would probably need access to both vlans in that scenario. But certainly as you say, you can probably accomplish a lot of this without vlans, if you can aggressively setup your firewall rules. The benefit of vlans is you would only really need to setup firewall rules on whatever vlan(s) have Internet access.

  • FYI for Rust Developers, lemmy_api_common is no longer published to crates.io (0.18.3 and above)
    github.com Dont publish releases to crates.io (fixes #3272) (#3664) · LemmyNet/lemmy@5cd4c6c

    This is not needed anymore as from scratch installation now uses `git clone` instead of `cargo install`. https://github.com/LemmyNet/lemmy-docs/pull/241/files

    Dont publish releases to crates.io (fixes #3272) (#3664) · LemmyNet/lemmy@5cd4c6c

    You will want to change your Cargo.toml to point to the Lemmy Github repository + either a specific tag or branch for the version you want to target.

    See the examples here: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories

    0
    A list of casual communities on Lemmy (that aren't just tech news & politics)

    cross-posted from: https://lemmy.world/post/2216085

    > Search Lemmyverse is good for finding communities. > > I posted this on the other site but I thought I'd copy over here too, lots of good communities around to subscribe to if you want a more casual/fun frontpage that isn't just tech news, elon musk, or politics. > > note: all of these communities have posts. If they appear empty, it simply means nobody on the instance you use has visited them before (or you might have blocked them and forgot, I've done it before, lol)! > > --- > > #### Conversation communities > > These are places that are 'chatty', good if you want a lot of comments. > > ##### "ask" based > > - !asklemmy@lemmy.ml > - !asklemmy@lemmy.world > - !askmeanything@lemmy.ca > - !askscience@lemmy.world > - !asktheworld@lemm.ee > - !askuk@feddit.uk > - !nostupidquestions@lemmy.world > > ##### Casual chat / Misc > > - !cafe@monyet.cc - casual chat community. Worth noting that the instance (and likely most users) are Malaysian. > - !casualconversation@lemmy.world > - !frugal@lemmy.world > - !showerthoughts@lemmy.world > - !ukcasual@lemmy.world > - !weddings@lemmy.world > > --- > > #### Hobbies, Creative, & Passions > > ##### Misc > > - !3dprinting@lemmy.world > - !dollhouse@lemmy.world > - !faceting@lemmy.world (gemstone cutting) > - !imadethis@lemm.ee > - !lasercutting@lemm.ee > - !pottery@lemmy.world > - !tabletopminis@lemmy.world > - !woodworking@lemmy.ca > > ##### Artwork > > - !ai_art@lemmy.world > - !albumartporn@lemmy.world > - !artshare@lemmy.world - for artists to share their own work, more amateur than the others > - !artporn@lemm.ee > - !digitalart@lemmy.world > - !filmposterporn@lemmy.world > - !imageai@sh.itjust.works > - !hobbit_art@hobbit.world - Lord of the Rings/Hobbit related art > - !psychedelic_artwork@psychedelia.ink > - !traditional_art@lemmy.world > > ##### Cooking, food, drinks > > - !castiron@lemmy.world > - !cocktails@lemmy.world > - !coffee@lemmy.world > - !cooking@lemmy.world > - !homebrewing@sopuli.xyz > - !recipes@feddit.uk > - !sourdough@lemmy.world > > Generally mostly nice pics of food: > > - !cooking_with_fire@feddit.uk > - !foodporn@lemmy.world > - !ramen@lemmy.world > - !veganhomecooks@lemmy.world > > ##### Gardening / Plants > > - !gardening@thegarden.land > - !houseplants@mander.xyz > - !mushrooms@lemmy.world > - !succulents@midwest.social > > ##### Keyboard enthusiasts > > - !ergomechkeyboards@lemmy.world > - !mechanicalkeyboards@lemmy.ml > > ##### Knitting, Stitching, Crocheting, etc > > - !amigurumi@lemmy.world > - !crochet@lemmy.ca > - !knitting@lemmy.world > - !lemmy_stitch@sh.itjust.works > - !sewing@lemmy.world > - !sewingrepairing@sh.itjust.works > - !quilting@lemmy.world > > ##### Reading & Writing > > - !books@lemmy.ml > - !comicbooks@lemmy.world > - !keepwriting@lemmy.world > > ##### Sport > > Honestly there are so many sport communities around - if you search Lemmyverse for popular sports, you will almost certainly find more. > > - !SquaredCircle@kbin.social > > --- > > #### Nice/Interesting/Funny pictures > > ##### Animals > > Literally just pictures of cute animals. > > - !aww@lemmy.ml > - !aww@lemmy.world > - !awwnverts@lemmy.world > - !birding@lemmy.world > - !bugmenagerie@possumpat.io > - !bugs@lemmy.world > - !cat@lemmy.world > - !cats@lemmy.world > - !cats@midwest.social > - !dailydoseofcute@lemmy.world > - !foxes@lemmy.world > - !gatze@feddit.de > - !illegallysmolcats@lemmy.world > - !illegallysmolbirbs@mander.xyz > - !quackers@lemmy.world > - !shiba@lemmy.world > - !spiders@lemmy.world > - !wildlifephotography@lemmy.world > > ##### Comics > > - !nathanwpyle@lemmy.world > > ##### Flags > > - !vexillology@lemmy.world > > ##### Maps > > - !map_enthusiasts@sopuli.xyz > - !old_maps@mander.xyz > > ##### Memes > > Meme communities in general can overload your feed, so keep that in mind. > > - !animalswithjobs@lemmy.world > - !best_of_mastodon@sh.itjust.works > - !greentext@lemmy.ml > - !historymemes@kbin.social > - !lotrmemes@midwest.social > - !memes@lemmy.ml - note: this will 100% overload your feed. > - !memes@lemmy.world > - !memes@sopuli.xyz > - !memes@feddit.uk (uk memes) > - !meow_irl@sopuli.xyz > - !metalmemes@lemmy.world (metal music memes) > - !microblogmemes@lemmy.world > - !occultmemes@lemmy.world > - !programmer_humor@programming.dev > - !relationshipmemes@lemmyis.fun > - !risa@startrek.website (star trek memes) > - !rpggreentext@ttrpg.network > - !rpgmemes@ttrpg.network > - !science_memes@mander.xyz > - !starwarsmemes@lemmy.world > - !stonermemes@lemmy.beyondcombustion.net > - !trippinthroughtime@lemmy.ca > - !witchymemes@lemmy.world > > ##### Photography > > - !abandonedporn@reddthat.com > - !accidentalrenaissance@lemmy.blahaj.zone > - !AccidentalRenaissance@kbin.social > - !analog@lemmy.world - really cool photography pics > - !bewowed@lemmy.dbzer0.com > - !castles@lemm.ee > - !cozy_places@lemmy.world > - !deserts@lemmy.world > - !earthporn@lemmy.ml > - !earthporn@lemmy.world > - !hiking@lemmy.world > - !nature@lemmy.world > - !oldschoolcool@lemmy.world > - !pictures@aussie.zone > - !pixelpassport@lemm.ee > - !raining@sh.itjust.works > - !reclaimedbynature@lemmy.world > - !travelphotography@lemmy.world > > --- > > #### Games > > ##### Board Games / Table top games > > The ttrpg.network instance has a lot of communities based around table top gaming & RPGs. > > note: the battlemaps communities seem to mostly cross-post between eachother at the moment. > > - !boardgames@feddit.de > - !battlemaps@lemmy.world > - !battlemaps@sh.itjust.works > - !battlemaps@ttrpg.network > - !dndnext@ttrpg.network > - !osr@lemm.ee > - !rpg@ttrpg.network > > ##### Video Games > > - !games@lemmy.world > - !gaming@lemmy.ml > - !gaming@lemmy.zip > - !giftofgaming@lemmy.world > - !patientgamers@sh.itjust.works (more conversation based than the others) > - !pcgaming@lemmy.ca > - !retrogaming@lemmy.world > - !steamdeck@lemmy.ml > - !virtualreality@lemmy.world > > --- > > #### Knowledge (e.g history, science) > > - !archaeology@mander.xyz > - !biodiversity@mander.xyz > - !digitalbioacoustics@lemmy.world > - !history@lemmy.world > - !history@kbin.social > - !HistoryArtifacts@kbin.social > - !historyporn@lemmy.world > - !interestingasfuck@lemmy.world > - !longreads@sh.itjust.works > - !palaeontology@mander.xyz > - !science@lemmy.ml > - !science@lemmy.world > - !til@lemmy.world > > --- > > #### Space > > - !astronomy@mander.xyz > - !astrophotography@lemmy.world > - !jwst@lemmy.world > - !space@kbin.social > - !spacepics@lemmy.world > > --- > > #### TV (television), movies, film > > - !bluey@lemmy.world > - !daystrominstitute@startrek.website - in-depth conversations about Star Trek > - !moviesandtv@lemmy.film (very active community for all things movies & TV) > - !television@lemmy.world > - !sciencefiction@lemmy.world (note: covers science fiction across media, e.g games, tv, books, etc) > - !startrek@startrek.website > - !star_wars@lemmy.world > > --- > > #### Music > > Lots of music communities on Lemmy. Search Lemmyverse for genres of interest for more, this definitely isn't exhaustive. > > Note that music communities generally have low comment counts, from my experience. > > - I made a fuller list of British music genres/communities/artists here (e.g grime, dnb, jungle, uk hh, idm, rock/metal/punk, etc) > > There's also: > > - !dancehall@lemmy.world > - !guitars@lemmy.world > - !guitarpedals@lemmy.world > - !hiphopheads@sopuli.xyz > - !kpop@lemmy.world > - !popheads@poptalk.scrubbles.tech > - !reggae@lemmy.world > - !ska@lemmy.blahaj.zone > - !undergroundhiphop@lemmy.world

    24
    YSK there are options for backing up / migrating your Lemmy subscriptions, blocks, etc.

    (Full disclosure: I made one of the tools)

    cross-posted from: https://lemmy.ca/post/1292268

    lemmy.world cross-post link: https://lemmy.world/post/1251192

    > With the vlemmy situation ongoing, i feel like it would be useful to put this here (i did not make either of these tools) > > Lemmy Account Settings Instance Migrator (LASIM) copies all your subscribed communities and blocks and lets you upload them to another account, in just a few clicks > > lemmy-migrate does the same thing but without a GUI and support for uploading your backup to multiple accounts at once

    34
    LASIM - A little tool for migrating Lemmy settings / subscriptions / blocks between instances / accounts
    github.com GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    Move your Lemmy settings from one account to another - GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    See the linked page for information about how it works, limitations, etc. and I’ll of course answer any questions below!

    Right now supports just Lemmy BE 0.18.1 (rc9, rc10, and final release).

    0
    Lemmy Support @lemmy.ml CMahaff @lemmy.world
    When your instance defederates from another instance, their content can’t be pushed to you, but is there a way to stop your content from being pushed to them? (Answered: Misunderstanding)

    Or have I misunderstood?

    I suspect the response will be that content on your instance should always be considered public, and that you can't really stop a bad actor from spinning up fake instances or scraping your site for the data regardless, but I just wanted to confirm.

    4
    LASIM - A little tool for migrating Lemmy settings / subscriptions / blocks between accounts
    github.com GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    Move your Lemmy settings from one account to another - GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    cross-posted from: https://lemmy.world/post/1060796

    > See the linked page for information about how it works, limitations, etc. and I'll of course answer any questions below! > > As I have stated in the release section, this software is alpha so please don't be afraid to report bugs! > > Releases are here: https://github.com/CMahaff/lasim/releases > > Right now the program only supports Lemmy BE 0.18.1-rc9, but new releases will try to support new versions as they are released. The Lemmy API is changing a ton right now, but I'll try to keep up.

    Note: Supports 0.18.1-rc9+ - I have tested it with rc9, rc10, and the final release of 0.18.1.

    12
    I made a little tool for migrating Lemmy settings / subscriptions / blocks between accounts
    github.com GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    Move your Lemmy settings from one account to another - GitHub - CMahaff/lasim: Move your Lemmy settings from one account to another

    See the linked page for information about how it works, limitations, etc. and I'll of course answer any questions below!

    As I have stated in the release section, this software is alpha so please don't be afraid to report bugs!

    Releases are here: https://github.com/CMahaff/lasim/releases

    Right now the program only supports Lemmy BE 0.18.1-rc9, but new releases will try to support new versions as they are released. The Lemmy API is changing a ton right now, but I'll try to keep up.

    21
    IN ENGLISH PLEASE | Chris & Jack
    0
    Best Providers for hosting a Lemmy Instance?

    Over the next week or so I'm sure a lot of people are going to try spinning up Lemmy instances - I've certainly been looking at it.

    Does anyone have any recommendations for a VPS provider / resource allocation?

    From what I have read, it sounds like you're going to want a host that focuses on storage / bandwidth (at least if you are allowing image upload), but maybe those of you already operating an instance have a different opinion?

    14
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CM
    CMahaff @lemmy.world

    I made LASIM! https://github.com/CMahaff/lasim

    I currently have 3 accounts (big shock):

    /u/CMahaff@lemmy.world

    /u/CMahaff@lemmy.ml

    /u/CMahaff@lemm.ee

    Posts 13
    Comments 134