PDA

View Full Version : Kali Linux on natively encrypted ZFS



slevin.kelevra
2022-11-20, 21:25
System information
Type Version/Name
Distribution Name Kali Linux
Distribution Version 2022.3
Kernel Version 6.0.0
Architecture amd64
OpenZFS Version 2.1.6
Describe the problem you're observing
after kernel loading I see initramfs console with errors

Describe how to reproduce the problem
Followed by https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2022.04%20Root%20on%20ZFS.html

Include any warning/errors/backtraces from the system logs

done.
Begin: Mounting root file system ... Begin: Running /scripts/nfs-top ... done.
Begin: Running /scripts/nfs-premount ... done.
Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.

Command:
Message:
Error:

No pool imported. Manually import the root pool
at the commanf prompt and then exit.
Hint: Try: zpool import -N

BuzyBox v1.35.0 (Debian 1:1.35.0-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) zpool import -N
pool: bpool
state: ONLINE
......
pool: rpool
state: ONLINE

(initramfs) exit
......
No init found. Try passing init= bootarg.


5133513451355136

Fred Sheehan
2023-02-09, 20:16
The first problem you are going to have, is that whilst Kali and Ubuntu may both be Debian based, Kali is binary compatible whilst Ubuntu is not..
The second is you want to use ZFS, if you already have some ZFS drives you need to access, I get it, otherwise ZFS solves no problems you would have with Kali, Ext4 is performant for Kali, BTRFS if you want its CoW features, and its natively supported on Linux..