Can't log in or start session
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
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
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'
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 .
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?
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 ???
> I see 'volume group trisquel-vg not found' and 'cannot.process volume group trisquel-vg'
I too see these messages on my system. I don't worry about them, because cryptsetup decrypts successfully then.
If I were you I would back up the important stuff to another storage drive before continuing. You should be able to decrypt and mount your lvm volumes from a live CD.
Can you no longer boot your computer? It maybe be best to do a reinstall. I don't know what that is about on serverfault.
> Can you no longer boot your computer? It maybe be best to do a reinstall.
Depends on the definition of 'boot'. I cannot start a session as the user, so I can't use my laptop.
A reinstall wouldn't be terrible, as I'm not losing any data; like I said home partition is ok, root partition is banjaxed. But if I can repair the root partition, that would save me time.
Is there some known way to back up the home partition in toto on an external drive and slap that in to the new install? That would be nice.

