Need help: USB unlock LUKS on Alpine Linux
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    2w ago 100%

    More of a debugging step, but have you tried running lsinitrd on the initramfs afterwards to verify your script actually got added?

    You theoretically could decompress the entire image to look around as well. I don't know the specifics for alpine, but presumably there would be a file present somewhere that should be calling your custom script.

    EDIT: Could it also be failing because the folder you are trying to mount to does not exist? Don't you need a mkdir somewhere in your script?

    3
  • linux
    Linux 2mo ago
    Jump
    [Question] Encrypted Partition Unlock via Root Unlocking
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    2mo ago 100%

    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.

    2
  • Selaco hits 70,000 copies sold with a big update live and sale now on
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    2mo ago 100%

    I really enjoyed my time with it, even though I've not played many games in this "style".

    The campaign is quite lengthy even though it's not finished yet, so you'll definitely get your money's worth.

    3
  • It happens each time!
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    2mo ago 100%

    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.

    3
  • Scenes From A Hat
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    2mo ago 100%

    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.

    3
  • How good is the Steam Deck really? (Not a gamer)
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    2mo ago 100%

    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.

    9
  • 600 more active users in the last few days, from 47225 to 47827 in two days
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    2mo ago 100%

    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.

    11
  • 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
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    3mo ago 100%

    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.

    6
  • The graying open source community needs fresh blood
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    3mo ago 100%

    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)

    22
  • The graying open source community needs fresh blood
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    3mo ago 100%

    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.

    91
  • Valve has a new Steam Chart for the most played Steam Deck games
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    4mo ago 100%

    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.

    8
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPO
    Jump
    Witch Hunt
    Should I or should I not use a VLAN? I have trouble understanding the benefits for home use
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    6mo ago 100%

    Out of curiosity, what switch are you using for your setup?

    Last time I looked, I struggled to find any brand of "home tier" router / switch that supported things like configuring vlans, etc.

    4
  • Should I or should I not use a VLAN? I have trouble understanding the benefits for home use
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    6mo ago 100%

    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.

    1
  • games
    Games 6mo ago
    Jump
    Hades II - Sign Up for the HADES II Technical Test
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCM
    CMahaff
    6mo ago 100%

    I loved the original Hades, but I played it after it left Early Access.

    It's going to be really hard to resist jumping in early with Hades II.

    3
  • https://github.com/LemmyNet/lemmy/commit/5cd4c6c5868c8bec964b6065d079f3a057885be7

    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

    12
    0

    cross-posted from: https://lemmy.world/post/2216085 > Search [Lemmyverse](https://lemmyverse.net/communities?order=active&nsfw=null) 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](https://lemmyverse.net/communities?query=football&nsfw=null) 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](https://ttrpg.network/communities?listingType=Local&page=1) 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](https://lemmyverse.net/communities) 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](https://lemmy.world/post/1444361) (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

    334
    26

    (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](https://github.com/CMahaff/lasim) (LASIM) copies all your subscribed communities and blocks and lets you upload them to another account, in just a few clicks > > [lemmy-migrate](https://github.com/wescode/lemmy_migrate) does the same thing but without a GUI and support for uploading your backup to multiple accounts at once

    539
    33
    https://github.com/CMahaff/lasim

    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).

    16
    4
    https://github.com/CMahaff/lasim

    cross-posted from: https://lemmy.world/post/1171660 > 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.

    37
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Lemmy Support CMahaff 1y ago 100%
    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.

    9
    4
    https://github.com/CMahaff/lasim

    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.

    38
    12
    https://github.com/CMahaff/lasim

    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.

    185
    22
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Lemmy Support CMahaff 1y ago 100%
    Question About Lemmy API Versions

    I'm working on a little tool for Lemmy using the rust backend (lemmy_api_common crate 0.17.4). I've tested it against some 0.17.4 instances with no issues, but yesterday I went to test it more thoroughly on the [official testing instances](https://join-lemmy.org/docs/contributors/04-api.html) and had JSON parsing issues. I realized later that these servers are currently running 0.18.X. Is this a bug? Or are we expecting that even within the "v3" APIs that you'll have breaking changes between Lemmy versions?

    2
    7

    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?

    84
    51

    This could be either site tools or popular Reddit bots that need to be ported over. I think a big reason so many subs are going dark tomorrow is due in large part to how hard Reddit is about to make moderation - so it might make sense to make this an area of focus for Lemmy.

    28
    5