
Originally Posted by
Trihexagonal
That's not the command it's showing in the tutorial:

.......

Originally Posted by
Fred Sheehan
If it says you already have the subvolumes, then you have let the automatic set up get too far;
Do not execute Detect disks. Rather press [Ctrl]+[Alt]+[F3] and then [Enter] in order to open a text console with root privileges. Now Connect the target USB drive on which we will install Kali Linux 2021.4. Use ls /dev before and after connecting in order to discover which device files it is associated with. In my case, the USB pen drive from which I have booted, is /dev/sda, and the target USB drive becomes /dev/sdb.
You need to start again with a totally blank USB no partitions etc, then slowly work through every step again, read read read, don't just blindly copy paste commands there are steps between (and commands to use to confirm progress) that are important to grasp!
I am not blindly copying everything.
I am not using any automated partitioning. Each time the USB is prepared fresh (so I am deleting partitions, creating new ones, encryptin opening them and etc)
Next (in Kali installer) I am using manual partitioning after the encrypted partitions are ready and after btrfs partition is set, I am moving to that btrfs adjustments section where, well... following the guide just does not work.
the @, @home, @root is already present. the @.snapshots is already present so creating a new subvolume @snapshots seems pointless, but as mentioned, I am "following the guide"
as I always treat such a guide as "well, clearly this guy is smarter than me so I won't be trying anything by my own".
This is not blindly copying and pasting the commands, but if the author is saying, that I should adjust the partition and set a default subvolume and copy the etc/fstab, this is exactly what I am trying to achieve.
But, despite using two different computers (as to just to confirm that having a machine which does not support Legacy BOOT isn't the culrprit here) and going through this scenario already 12 times (yep. I already 12 times formatted the drive, created new partitions, encrypted those, opened, and etc) - as soon as I am reaching the stage that I should unmount /target, that does not work (unless I will force unmount it, but at the end the rootfs can't be mounted)
I have even tried to not even bother with unmounting the /target but instead, creating new mount point (lets say /target/tempmount) but attempting to mount @rootfs does not want to work
(because such a subvolume does not exist)
At the moment I am starring at
Code:
mount -o subvol=@rootfs /dev/mapper/LUKS_ROOT /mnt/point
and I am trying to understand to which subvolume the author is reffering too as the debian installer created a lot of subvolumes, but not the @rootfs
(unless author is reffering to rootfs as "/" ? but why then he would mention at the beginning that it has been created by the installer)
I know that by reading it, you might be thinking that "the guide is 100% correct, it must be the end user which does not understand it" but with all the fairness, this part seems like maybe it used to work as "out of the box" but something has changed since Kali 21 (version 4) as we are now using Kali 22 v5.
Would someone be able to confirm how to get around this or if anyone recently was following that guide and managed to sort this adjustments?