|
xtal posted:Part of the reason for this is that btrfs and zfs are part filesystem and part volume manager. With ext4 you get extra features from layering it with other software, like lvm RAID and LUKS encryption. Am I reading this right, that ZFS and BTRFS do not work well (or at all) with LUKS? Because at-rest full-disk encryption seems extremely important for laptops which can get stolen quite easily.
|
# ? Feb 26, 2021 22:23 |
|
|
# ? Apr 23, 2024 23:17 |
|
NihilCredo posted:Am I reading this right, that ZFS and BTRFS do not work well (or at all) with LUKS? All of them work with LUKS, even ZFS. The ZFS native encryption is different because it encrypts at the filesystem level rather than block device level, & and encrypts contents but not the metadata, meaning you can send backups and stuff around without decrypting the files. If that property is undesirable then you can just use LUKS.
|
# ? Feb 26, 2021 22:29 |
What's encryption got to do with the ability to zfs send|receive snapshots, exactly? They're entirely orthogonal.
|
|
# ? Feb 26, 2021 22:48 |
|
NihilCredo posted:Am I reading this right, that ZFS and BTRFS do not work well (or at all) with LUKS? You can put LUKS on the drive and btrfs on top without real problems. You encrypt below the mirroring, but that doesn't matter for a single drive laptop and barely matters otherwise. Btw, we are talking about putting zfs/btrfs on a single disk laptop. Wasn't there some project that was trying to build a single disk fs with all the relevant features of zfs?
|
# ? Feb 26, 2021 22:51 |
ZFS native encryption is per-dataset, and a dataset is not a filesystem, what makes the filesystem dataset type functionally like a filesystem is the ZPL providing filesystem like behaviour on top of ZFS dnodes. Then there's the other dataset type, which is volumes, which appear like character devices to the OS. It's my dream that one of the postgres developers will eventually be convinced to add a third dataset with the key=value store properties necessary for putting a postgres on top of ZFS while bypassing the ZPL (which it really doesn't need) as this would negate a whole series of codepaths necessary to deal with ACID compliance in postgres. Similarily, it should be possible to use that key=value store with a userspace daemon, to do a distributed filesystems on top of ZFS. (This is not completely unlike what LLNL is doing with OpenZFS on Linux and Lustre, as that ties heavily into the DMU - but there's a surprisingly scarse amount of resources on that) BlankSystemDaemon fucked around with this message at 23:04 on Feb 26, 2021 |
|
# ? Feb 26, 2021 23:00 |
|
VictualSquid posted:Btw, we are talking about putting zfs/btrfs on a single disk laptop. Wasn't there some project that was trying to build a single disk fs with all the relevant features of zfs? Kent Overstreet has been working on bcachefs for a bunch of years. I subscribe to his patreon and he's got some corporate sponsorship.
|
# ? Feb 27, 2021 02:11 |
|
How can I get Windows to show up in Grub so that I can choose to boot to it: This is the windows drive in fdisk -l This is the output from sudo update-grub
|
# ? Feb 28, 2021 01:21 |
|
I would blow Dane Cook posted:How can I get Windows to show up in Grub so that I can choose to boot to it: I do that from YaST, but I remember other distros having similar bootloader configuration utilities.
|
# ? Feb 28, 2021 01:28 |
|
Removed because I don’t think this information is particularly useful
|
# ? Feb 28, 2021 03:07 |
|
Craptacular! posted:Removed because I don’t think this information is particularly useful if we all followed this rule the forums would be empty
|
# ? Feb 28, 2021 03:20 |
|
You can grab the os-prober package that will automatically find windows and add it to your grub config
|
# ? Feb 28, 2021 04:19 |
|
imnotinsane posted:You can grab the os-prober package that will automatically find windows and add it to your grub config "Probe Foreign OS" is one of my favorite phrases - it just sounds so "Papers, please."
|
# ? Feb 28, 2021 04:25 |
|
VictualSquid posted:ZFS has encryption at fs level built in. BTRFS had the same planned at some point, but not right now. This is also effectively what FreeBSD has been doing if you wanted encryption and ZFS before OpenZFS with native encryption came along: encrypt the disk(s), and then create a zpool on the cleartext devices you get when you unlock them. For real fun times, you can, but probably shouldn't, use XFS on LVM on LUKS for a somewhat similar end result.
|
# ? Feb 28, 2021 07:40 |
|
RFC2324 posted:if we all followed this rule the forums would be empty It was more like I don't think it was accurate, which is worse. But I'll try anyway: I would blow Dane Cook posted:How can I get Windows to show up in Grub so that I can choose to boot to it:
|
# ? Feb 28, 2021 10:34 |
|
Craptacular! posted:It was more like I don't think it was accurate, which is worse. But I'll try anyway: I wasn't able to CD into /boot/efi. When I ran efibootmgr: code:
I would blow Dane Cook fucked around with this message at 10:50 on Feb 28, 2021 |
# ? Feb 28, 2021 10:46 |
|
I would blow Dane Cook posted:I wasn't able to CD into /boot/efi. Use `lsblk` to show your partitioning structure. One device is going to have a partition that's under a gig or so in size. It's usually mounted to somewhere, and that's to /boot/efi on Red Hat systems and I think also Debian/Ubuntu. The contents (which will likely require root privileges to see) is a folder called EFI. Inside that folder is a folder containing each OS's own bootloader. So, to wit, in my server's /boot/efi/EFI directory, I have a folder called centos and a folder called redhat. That's not surprising, because I've ran both centos and RHEL on this machine. On my main machine, there's a fedora folder and a Microsoft folder, and the latter contains Windows's bootloader. I was just looking to see if it was there. However... quote:When I ran efibootmgr: EDIT: Usually when efibootmgr puts a system after your EFI shell, it's an entry for a distro that no longer exists. Like after I moved from Centos to RHEL, once Grub could no longer find Centos the Centos entry wasn't removed but was reordered to being after the bios shell. Someone who habitually distro-hops will have a dozen defunct entries. You should have an EFI partition somewhere. I'm thinking wherever it is that the Microsoft folder that contains the Windows bootloader was somehow disappeared. EDIT: I fixed some mistakes I made because I just woke up. Craptacular! fucked around with this message at 14:54 on Feb 28, 2021 |
# ? Feb 28, 2021 14:42 |
|
I would blow Dane Cook posted:os-prober didn't produce any output. I think you need to mount the windows partition somewhere before os-prober will find it. Probably easiest to just open it in your file manager. You'll then need to re-run update-grub, and it should show up.
|
# ? Feb 28, 2021 21:10 |
|
I'm thinking about installing BSD on a tertiary laptop. I've installed all the usual linuxi before. All I want is a console only no gui system that I can use console applications, for maximum productivity and fewer distraction. I know pretty much nothing about BSD. Which recommended distribution?
|
# ? Feb 28, 2021 22:49 |
|
FWT THE CUTTER posted:I think you need to mount the windows partition somewhere before os-prober will find it. Probably easiest to just open it in your file manager. You'll then need to re-run update-grub, and it should show up. +1
|
# ? Feb 28, 2021 23:13 |
|
Cheese Thief posted:I'm thinking about installing BSD on a tertiary laptop. I've installed all the usual linuxi before. All I want is a console only no gui system that I can use console applications, for maximum productivity and fewer distraction. I know pretty much nothing about BSD. Which recommended distribution? Free or Open. Flip a coin
|
# ? Mar 1, 2021 00:54 |
|
I would blow Dane Cook posted:I wasn't able to CD into /boot/efi. I use the same efi partition for all the OSes I have installed. Maybe that helped os-prober. I don't remember having the windows (and which one?) partition mounted.
|
# ? Mar 1, 2021 04:51 |
|
Turns out that windows was installed with MBR. I found a command to convert it to GPT. Now I get: code:
code:
code:
I can still boot windows by pressing F12 at the BIOS to select the windows drive but that's tedious.
|
# ? Mar 1, 2021 10:30 |
|
Post efibootmgr -v output, and also what distro is that anyway?
|
# ? Mar 1, 2021 10:56 |
|
It's Pop!_OS !, the ubuntu variant that all the kids are raving about. I'll do efibootmgr -v when I get home. as promised: code:
I would blow Dane Cook fucked around with this message at 11:01 on Mar 2, 2021 |
# ? Mar 2, 2021 00:59 |
|
I would blow Dane Cook posted:It's Pop!_OS !, the ubuntu variant that all the kids are raving about. Pop os doesn't use grub by default, it uses systemd-boot. See towards the bottom of this article for instructions on how to change timeout etc.
|
# ? Mar 2, 2021 12:28 |
|
It also apparently uses the fallback location for the boot loader which is a bit iffy. There aren't that many broken efi implementations around that won't respect a proper boot entry. (And Windows can be seen using it properly, so…) I've never used systemd-boot so I'll defer to the PopOs docs
|
# ? Mar 2, 2021 12:49 |
|
FWT THE CUTTER posted:Pop os doesn't use grub by default, it uses systemd-boot. See towards the bottom of this article for instructions on how to change timeout etc. I have to admit my first reaction to "systemd-boot" was an inarticulate feeling of frustration. That said, they seem to have got the "make the common things easy" part mostly right; time will show how good they are at the "...and hard things possible" half.
|
# ? Mar 2, 2021 13:58 |
|
I didn't know there was a systemd boot. Is there anything that systemd doesn't do now?
|
# ? Mar 2, 2021 23:03 |
|
I would blow Dane Cook posted:I didn't know there was a systemd boot. Is there anything that systemd doesn't do now? It still can't make me like it
|
# ? Mar 2, 2021 23:08 |
|
systemd-minecraft
|
# ? Mar 2, 2021 23:15 |
|
I had windows in my grub list on fedora but I preferred to switch using efibootmgr since I was doing multiboot with multiple videocards and a kvm monitor and I had to race to switch inputs. I had it setup to boot linux by default, when I wanted to boot windows I ran this shell script: code:
code:
|
# ? Mar 2, 2021 23:40 |
|
Perplx posted:I had windows in my grub list on fedora but I preferred to switch using efibootmgr since I was doing multiboot with multiple videocards and a kvm monitor and I had to race to switch inputs. Oh thanks, I didn't know how to do the Windows to Windows reboot (without jamming into the bios). Is that just for the next boot or does it persist
|
# ? Mar 3, 2021 00:57 |
|
Thats just the next boot, making it permanent is possible too.
|
# ? Mar 3, 2021 02:33 |
|
I just press F11 during boot and choose a different drive.
|
# ? Mar 3, 2021 07:53 |
|
If you used grub you could also configure grub to remember your last choice.
|
# ? Mar 3, 2021 07:59 |
|
I just made grub work, with my wife
|
# ? Mar 3, 2021 17:12 |
|
My google is failing me and I know I've messed with this before but trying to mount an external usb hard drive and it looks like it's being detected properly but doesn't assign it a device id so I can't mount it...code:
code:
code:
lshw code:
Well that was weird, trying to watch what happens with `udevadm monitor` seemed to have caused it to load as a scsi disk (though dmesg shows a ton of errors) and now I can see it as expected... Why would this be happening? dmesg repeats this a dozen or so times... code:
And it's broke again . Must be hosed up kernel vvvv Mr. Crow fucked around with this message at 20:53 on Mar 3, 2021 |
# ? Mar 3, 2021 18:56 |
EDIT: ↑ You ruined my joke! "MAH WAIFU"
|
|
# ? Mar 3, 2021 19:03 |
|
The kernel is spamming a ton of bus resets. There are a bunch of possibilities, but I'd check the cable and whether it's one of those drives that pulls way too much power on spinup and causes the bus to reset itself. It could be software, but bus resets are a huge red flag.
|
# ? Mar 3, 2021 21:30 |
|
|
# ? Apr 23, 2024 23:17 |
|
Antigravitas posted:The kernel is spamming a ton of bus resets. There are a bunch of possibilities, but I'd check the cable and whether it's one of those drives that pulls way too much power on spinup and causes the bus to reset itself. The code:
I might just toss this thing it's been a pain in the rear end since I bought it 10? years ago... one of those cheap western digital passport drives with a bunch of proprietary poo poo on it so you can't easily use it on linux... Any recommendations for a ~1TB external drive you can plug in via usb and just use as a normal flash drive? Mr. Crow fucked around with this message at 22:40 on Mar 3, 2021 |
# ? Mar 3, 2021 22:38 |