Trying to use LVM with encryption on my Debian 10 system for the first time. I need to add a crypttab entry now and wasn't sure if it should be:code:
code:
Here's my block devices: code:
fletcher fucked around with this message at 18:50 on May 8, 2021 |
|
# ? May 8, 2021 18:36 |
|
|
# ? May 29, 2024 15:43 |
|
Had a (fairly old at the point) family computer's hard drive break when I was in high school, we didn't have the restore medium and when a new one was bought, I shoved Xubuntu 8.04 on the old one as an excuse to try out Linux. Then, several Ubuntu version upgrades later that all failed spectacularly (apt failing halfway through or drivers being broken enough to render it unbootable) I moved to Arch Linux solely to avoid those with a rolling release distribution and haven't looked back since on my own machines, although I don't recommend it to less technical family members and friends. Stuck with XFCE as well, mostly because I have to use GNOME 3 for work and I find it utterly miserable at all times.
|
# ? May 8, 2021 18:50 |
|
fletcher posted:Trying to use LVM with encryption on my Debian 10 system for the first time. I need to add a crypttab entry now and wasn't sure if it should be: The first field in the crypttab entry is just what the device gets called when it get unencrypted (paraphrasing from the man page for crypttab). Not sure what's up with the /dev/mapper/raid0lv0encrypted entry in blkid output though. Is it already set up?
|
# ? May 8, 2021 19:31 |
|
fletcher posted:Trying to use LVM with encryption on my Debian 10 system for the first time. I need to add a crypttab entry now and wasn't sure if it should be: No experience with LVM but judging from that blkid output it's probably EDIT: no it's probably not, this is why I hate LVM code:
code:
/dev/mapper/raid0vg0-raid0lv0 is the 25TB RAID0 LVM volume containing the encrypted LUKS volume lsblk -fp should make parsing a bit easier Storm One fucked around with this message at 23:22 on May 8, 2021 |
# ? May 8, 2021 22:50 |
Thanks for the replies!hifi posted:The first field in the crypttab entry is just what the device gets called when it get unencrypted (paraphrasing from the man page for crypttab). I think this may have been because I had already run cryptsetup luksOpen /dev/raid0vg0/raid0lv0 raid0lv0encrypted at that point? Storm One posted:/dev/mapper/raid0lv0encrypted is the unecrypted LUKS volume containing the ext4 filesystem Thanks for the clarification and the tip about lsblk -fp that's handy to know, I think it makes sense now. Went with: code:
|
|
# ? May 9, 2021 00:19 |
|
Late 80s learned DOS Early 90s screamed that Micro$haft would never take my shell Mid 90s Eggdrop and Efnet is life Also mid 90s Win 95 has a 32 bit winsock? poo poo.. OK I'll go to 95 Later... MS pays the bills but I still like my Fedora core 3 box.... 20 years of Microsoft paying the bills.... XP, SQL, System Center, Hyper-V, Azure Everything Tomorrow.. New Hire Orientation for a Household Linux Brand What the gently caress have I gotten myself into...
|
# ? May 9, 2021 04:28 |
|
A blissful life without Microsoft. I rip my hair out every time I have to do something on windows that isn't gaming.
|
# ? May 9, 2021 06:17 |
|
Mr. Crow posted:A blissful life without Microsoft. I rip my hair out every time I have to do something on windows that isn't gaming. Meh, Windows is fine. I spend most of my computing time in Linux by preference (KDE is such a good desktop), but Windows 10 is okay. I'd rather use Windows than Mac OS X, personally.
|
# ? May 9, 2021 06:47 |
|
Every OS is cool and worth knowing, use them all. With WSL2 and PowerShell Windows even has usable shells now!
|
# ? May 9, 2021 11:31 |
Counterpoint: https://www.youtube.com/watch?v=CPRvc2UMeMI
|
|
# ? May 9, 2021 13:26 |
|
xzzy posted:Every OS is cool and worth knowing, use them all. With WSL2 and PowerShell Windows even has usable shells now! If you don't have a computer with every os on it, you aren't making your company buy you enough toys And/or a company smart enough to realize that a macbook isn't a superior workstation for linux/windows admins, and professional computer touchers dont need toys endorsed by the hackers of 15 years ago
|
# ? May 9, 2021 14:42 |
|
xzzy posted:Every OS is cool and worth knowing, use them all. With WSL2 and PowerShell Windows even has usable shells now! he actually did it, the madman actually said something positive about powershell
|
# ? May 9, 2021 17:11 |
|
Well compared to cmd.exe everything is an improvement. I think pipes passing objects between commands is a novel idea too. A solution looking for a problem perhaps but it tickles my nerd neurons.
|
# ? May 9, 2021 17:18 |
I'm gonna go ahead and say it, and there's nothing you can do to stop me! PowerShell is really useful and a good addition to Windows. There, I said it. And if you take the time to understand the syntax, you get to all sorts of fun thing with stdio, pipelining, and other things that you find on any Unix-shell.
|
|
# ? May 9, 2021 17:48 |
|
As user-unfriendly bash seems to be, once you work with it, it’s simple.
|
# ? May 9, 2021 17:53 |
|
I haven't worked much with it, but nothing I see about powershell makes me dislike it. The worst I can say is that its a bit overly verbose with its commands, and a blue shell is uncomfortable
|
# ? May 9, 2021 18:09 |
|
systemd bad, powershell good
|
# ? May 9, 2021 18:48 |
|
Lets not be hasty here
|
# ? May 9, 2021 19:04 |
|
Not going to say PowerShell is unusuable, but it feels like it was made to sell certificates proving that you understand it. I don't pretend to be a Bash wizard, but I can plain English explain every part of a command when I suggest friends do what I say to make computer do the thing.
|
# ? May 10, 2021 00:38 |
|
I'm on step 7 I guess. I don't think I'll ever use Gentoo though, because I had enough fun trying to get stuff like ungoogled-chromium to compile. I don't think I'll use BSD either, unless it's for official ZFS integration, and running it on a server.
|
# ? May 10, 2021 01:43 |
|
RFC2324 posted:a blue shell is uncomfortable IRIX motherfucker
|
# ? May 10, 2021 02:01 |
|
Craptacular! posted:Not going to say PowerShell is unusuable, but it feels like it was made to sell certificates proving that you understand it. I don't pretend to be a Bash wizard, but I can plain English explain every part of a command when I suggest friends do what I say to make computer do the thing. I get that everything is an object and you can do all this powerful stuff but it’s so much simpler in bash to do easy stuff like basic text processsing https://stackoverflow.com/questions/2503010/extracting-columns-from-text-file-using-powershell Like what the flying gently caress
|
# ? May 10, 2021 02:05 |
|
I'm gonna go out on a limb here and say that everything microsoft makes is bad and you shouldn't use any proprietary software
|
# ? May 10, 2021 03:17 |
|
I'm sure powershell is great but the first thing I recall from my limited experience with it is that its slow as balls.
|
# ? May 10, 2021 03:21 |
|
Bob Morales posted:I get that everything is an object and you can do all this powerful stuff but it’s so much simpler in bash to do easy stuff like basic text processsing I keep WSL1 with the free RHEL UBI just to do occasional things in one line that PowerShell wants me to do with three. EDIT: Compare decoding base64: Bash: echo TheBase64StringHere | base64 -d PowerShell: code:
Craptacular! fucked around with this message at 03:31 on May 10, 2021 |
# ? May 10, 2021 03:26 |
|
Craptacular! posted:I keep WSL1 with the free RHEL UBI just to do occasional things in one line that PowerShell wants me to do with three. iirc, if you do this you can just call things through bash from the normal command line
|
# ? May 10, 2021 03:31 |
|
RFC2324 posted:iirc, if you do this you can just call things through bash from the normal command line The multi-shell Windows Terminal app makes it simple enough to operate both simulataneously.
|
# ? May 10, 2021 03:33 |
|
code:
|
# ? May 10, 2021 03:35 |
|
Methanar posted:
at least it isn't perl lol otoh, it could be something actually good in practice, instead of just in theory
|
# ? May 10, 2021 03:49 |
|
Craptacular! posted:The multi-shell Windows Terminal app makes it simple enough to operate both simulataneously. This app is a pretty good windows native implementation of the GUI tmux type tool, but fuckin hell they really gotta add an option to disable the pop up on multi line pastes. Also a way to ignore exit codes when exiting a shell, there's no way to close them without X-ing the tab when they get in that state.
|
# ? May 10, 2021 03:54 |
|
xzzy posted:This app is a pretty good windows native implementation of the GUI tmux type tool, but fuckin hell they really gotta add an option to disable the pop up on multi line pastes. Not only is it an option (you may have to edit your json config to change it), but that setting is off by default at this point.
|
# ? May 10, 2021 04:37 |
|
astral posted:Not only is it an option (you may have to edit your json config to change it), but that setting is off by default at this point. Duh, a google search fixed it. There's no gui toggle for it it's a json edit only. I get that it's considered a beta, but still.. (and in my recent fresh install it defaulted to on)
|
# ? May 10, 2021 16:18 |
It feels very much in the spirit of all the bad things about Linux that it's using a json config file, instead of something like UCL or just a simple key-value store.
|
|
# ? May 10, 2021 17:12 |
|
Aren't they talking about a windows utility?
|
# ? May 10, 2021 17:16 |
|
BlankSystemDaemon posted:It feels very much in the spirit of all the bad things about Linux that it's using a json config file, instead of something like UCL or just a simple key-value store. YAML
|
# ? May 10, 2021 17:19 |
|
At least it's not an ini style config. (which loops us back around to: gently caress you systemd, I want to like you but COME ON)
|
# ? May 10, 2021 17:30 |
|
xzzy posted:At least it's not an ini style config. Eh, it's fine. For what is used for it works just fine. TOML uses it, and it's a quite better for configuration files than json, at least in my experience with it.
|
# ? May 10, 2021 18:00 |
|
All I'm going to say further about Windows utilities in this thread is that if you run Windows and you have not... 1) Downloaded Windows Terminal from the Store 2) Downloaded the open-sourced PowerShell from the Store 3) Configured Terminal to default to OSS PS and hide the sysdefault PS 4) Installed scoop (Optional) Installed Chocolatey for the occasional weird utility that works poorly from Scoop due to limitations on portable apps then your Windows experience is not as Linux-like as it could be. I can't remember if OSS PS got rid of the aliases that link curl and wget commands to PowerShell's own InvokeWebrequest, or if you need to make a PowerShell profile to remove them if you want to use the actual wget/curl Windows binaries. People complained a ton but after years of posting Microsoft decided not to remove them from the default included closed-source copy of PowerShell (usually called "Windows PowerShell" now to distinguish it from the just plain PowerShell in development) because no matter what poor manners it is to steal a program's command away, you still risk breaking legacy behavior and that might interrupt some ancient computer's workflow.
|
# ? May 10, 2021 18:16 |
|
So I’ve been using a Slackware base that I fresh installed like 15 years ago and have been manually keeping updated to current since then. It’s been through 3 motherboards and was still 32-bit and booting with LILO on legacy BIOS compatibility. I decided to make a clean break and throw Ubuntu on a Gigabyte Z590 D mobo with some 2TB M.2 NVMe’s and uhh… holy poo poo. I guess I’ve been out of the loop for awhile because I am floored at what just worked out of the box using open source drivers with no or nearly no configuration or loving around: WiFi Bluetooth (mouse) Audio It even auto detected my network printer and set it up Guess I’ve been missing out by insisting on doing things the hard way.
|
# ? May 10, 2021 18:55 |
|
|
# ? May 29, 2024 15:43 |
|
Craptacular! posted:All I'm going to say further about Windows utilities in this thread is that if you run Windows ...As anything but a stripped-down support layer for Steam, you're probably doing it wrong.
|
# ? May 10, 2021 19:21 |