Hola Eduardo,
Eduardo Mercovich <[email protected]> writes:
Dear guixers.
Yesterday I installed my 1st complete guix! :D
Congrats!
Again, everything run well, the machine boots asking the
encryption
key twice (don't know why) and I landed in the classic bare i3
working condition desktop.
GRUB needs to unlock the partition to load things from /boot/grub;
then the initrd has to unlock it again after the kernel has been
loaded. Most other Linux distros leave /boot unencrypted, so
there’s only one thing to unlock.
However, when I opened the file manager I can see what appeared
to
be 2 disks/ partitions:
- one has the root system, including /home and inside there, the
only present user. It has 105 Gb approximately. - another,
encrypted, with the rest of the space (~400 Gb) that I couldn't
access, not even with the same key that allowed me to go until
that
moment (that is, the one used to decrypt the disk that it seems
the
one I was already using).
Could you please reply with the output of these commands?
guix shell parted -- sudo parted -l
And:
lsblk
And:
df -h
So, I am confused:
- if I selected all in 1 drive, why the file manager shows 2?
Hard to answer without seeing the output of those commands. You
may have installed in a partition of the drive, rather than
repartitioning; or the LUKS container might be displayed
confusingly similarly to the drive it’s on.
- if the system could open the encrypted partition with the
password
upon boot, why it cannot access it afterwards? - if the space
reported is the total disk (as I choose during the install), why
the
system reports those 2 partitions?
Again, hard to answer without more information, but Guix will
always create multiple logical volumes. Here’s the output of
lsblk on my machine, which is set up the same as how you say you
installed:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
└─nvme0n1p2 259:2 0 931G 0 part
└─cryptroot 253:0 0 931G 0 crypt /gnu/store
/
The physical disk is nvme0n1; nvme0n1p1 is the unencrypted EFI
system partition, containing the GRUB EFI payload; nvme0n1p2 is
the partition of the disk containing the LUKS container; cryptroot
is the unlocked contants of that container.
-- Ian