Can't log in or start session

4 risposte [Ultimo contenuto]
Sagenor
Online
Iscritto: 10/23/2024

I turn on the computer, it boots ok. I can decrypt the drive ok. That gets me to my log-in screen.

That's where the trouble starts. When I enter the correct password, it almost appears to be starting, because the log-in screen disappears. But then it reappears. (When I enter a bad password, it says 'Invalid password', so we know that's not the issue.)

If I boot into the Recovery Menu and query system status, I see 'LVM state. Physical volumes: not ok (BAD)'

dpkg and fsck do nothing, but that could be to do with the drive being an encrypted one

Sagenor
Online
Iscritto: 10/23/2024

I notice when I'm getting to the Recovery menu, I decrypt the drive from the command line (rather than from the GUI if I were not booting into recovery mode), then I see 'volume group trisquel-vg not found' and 'cannot.process volume group trisquel-vg'

eric23
Offline
Iscritto: 06/30/2017

Are you using Aramo (Trisquel 11) or Ecne (Trisquel 12)? Is it with KDE, Mate, or the lxde environment?

You should be able to login into a terminal (tty3) by pressing CTRL+ALT+F3 .

Sagenor
Online
Iscritto: 10/23/2024

Oh yes that Ctrl+Alt+F3 thing works, thank you.

When I run xfs_repair on the root partition I see 'bad primary superblock' and it fails to repair it.

Same utility shows the home partition is fine.

Is there a way to rebuild the root partition without touching the home partition?

Sagenor
Online
Iscritto: 10/23/2024

trisquel@trisquel:~$ sudo file -s /dev/mapper/trisquel--vg-root
/dev/mapper/trisquel--vg-root: symbolic link to ../dm-1

trisquel@trisquel:~$ sudo fdisk -l /dev/mapper/trisquel--vg-root
Disk /dev/mapper/trisquel--vg-root: 18.6 GiB, 19998441472 bytes, 39059456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Maybe there's a way I can resize the partition to make it work like Flup's answer here: https://serverfault.com/questions/509852/cant-mount-xfs-partition-anymore#509894 ???