While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Steam games will now need to fully disclose kernel-level anti-cheat on store pages
- The latest free games with Prime Gaming - October 25 edition - lots for Steam Deck / Linux
- Rockstar Games Launcher (GTA V, Red Dead Redemption) gets updated for Steam Deck
- Steam Beta removes option to globally disable Steam Play plus Game Recording improvements
- Set comfort level to maximum with the Mechanism Gaming Pillow for handhelds
- > See more over 30 days here
-
EA / Respawn now block Apex Legends from running on Lin…
- Salvatos -
Horizon Zero Dawn Remastered may need a workaround on d…
- Kusho -
EA / Respawn now block Apex Legends from running on Lin…
- LoudTechie -
EA / Respawn now block Apex Legends from running on Lin…
- Keksus -
Fedora 41 is out now with plenty of enhancements like e…
- jens - > See more comments
- error: unexpectedly disconnected from boot status demon…
- Cyba.Cowboy - Weekend Players' Club 10/25/2024
- Pengling - remote desktop software?
- whizse - What distro do you use?
- tuxer415 - Steam friends nickname list
- tuxer415 - See more posts
View PC info
*Facepalm*
Let's just pretend I didn't ask that...
See? This is what happens when you're rushing to muck around with the computer before you've gotta take off for work; you miss crucial steps.
Anyway, I've managed to locate my data - seemingly intact - and I'm going to (manually) back it up somewhere tonight, before "clean" installing Pop!_OS... But this leaves two questions.
Firstly, what actually happened? Why can I not enter my encryption password when booting into my "normal" (installed) distro, but can access everything from within a "live" distro as if nothing is wrong?
And secondly, what can I do to prevent this from occurring in the future? Not encrypt my storage drive during installation?
Glad you got to your data!
As for the causation, we can safely rule out the encryption itself as the root cause in this case, if the LUKS encryption was broken you wouldn't be able to mount it anywhere and would likely need to restore the LUKS header to fix it. (You backed that up right? ) In this case, it appears not to be the issue. It's also not the LVM within, as we can see that has loaded just fine and in read/write mode (good).
It is possible to be slight filesystem corruption from a bad disk. But, I don't think that is the case here.
I'm leaning on it being the kernel here. Did you do updates before you shut down by any chance? A bad kernel update can cause devices (such as your keyboard) to do strange things.
The kernel is the first thing your system loads before even unlocking LUKS. It could well cause the odd input issues you saw with a faulty module (driver) for your keyboard.
The live distro is probably running a different kernel version and thus not affected.
As for prevention - I always suggest keeping two kernel versions installed until you're absolutely certain the latest kernel functions as necessary, this way you can just drop back to the old one if something goes kaput in the new one. You don't want to be stuck with only the latest kernel that happens to not work.
Oh, and of course: Always keep a backup of your data and test it!
However; for your own peace of mind it might be worth checking the smart data of your disk and look for any warning signs, for example:
$ smartctl --all /dev/sda
If there's no obvious warning signs, it might be worth running a quick smart check:
$ smartctl -t short /dev/sda
(Replace sda with your disks letter, do not include the partition numbers.)
Give it a couple of minutes and you should see the test result with:
$ smartctl -l selftest /dev/sda
(In progress test may not show on some disks, may have to wait - you can check the progress in that case with --all)
With a bit of luck, everything will be fine.
Anyhow, I'm rambling, sorry!
AFAICT it uses systemd-boot and pressing space during boot should allow you to select the previously installed kernel and a recovery option:
https://support.system76.com/articles/pop-recovery/
Last edited by whizse on 1 November 2024 at 2:30 pm UTC
View PC info
Insert a tirade of swearing
I just manually copied the data to an external storage drive, so the data is not encrypted in the storage drive...
I only removed Geary... But as I said above, I foolishly didn't read what was being removed when I "purged" Geary and just hit "Y", before shutting down shortly thereafter - it's possible that something important was being removed.
I had updates / upgrades there to install, but I don't recall installing anything, as I typically do this on the 1st of the month (in case any bad updates / upgrades are pushed out).
I could be wrong of course, it's a week or two ago now and my memory is not what it used to be... But I'm pretty sure I didn't do any updates / upgrades prior to shutting down.
Here's what came up with a 'SMART' check, by the way:
=== START OF INFORMATION SECTION ===
Model Number: WD PC SN560 SDDPNQE-1T00-1002
Serial Number: 2348SB402778
Firmware Version: 74104000
PCI Vendor/Subsystem ID: 0x15b7
IEEE OUI Identifier: 0x001b44
Total NVM Capacity: 1,024,209,543,168 [1.02 TB]
Unallocated NVM Capacity: 0
Controller ID: 0
NVMe Version: 1.4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 1,024,209,543,168 [1.02 TB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 001b44 4a418ad007
Local Time is: Sat Nov 2 00:25:29 2024 AEST
Firmware Updates (0x14): 2 Slots, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x00df): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp Verify
Log Page Attributes (0x7e): Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Pers_Ev_Lg *Other*
Maximum Data Transfer Size: 256 Pages
Warning Comp. Temp. Threshold: 84 Celsius
Critical Comp. Temp. Threshold: 88 Celsius
Namespace 1 Features (0x02): NA_Fields
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 5.00W 4.20W - 0 0 0 0 0 0
1 + 3.20W 3.20W - 0 0 0 0 0 0
2 + 2.30W 2.30W - 0 0 0 0 0 0
3 - 0.0150W - - 3 3 3 3 1500 2500
4 - 0.0050W - - 4 4 4 4 10000 6000
5 - 0.0033W - - 5 5 5 5 176000 25000
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 2
1 - 4096 0 1
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 34 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 0%
Data Units Read: 1,543,187 [790 GB]
Data Units Written: 2,542,334 [1.30 TB]
Host Read Commands: 12,282,210
Host Write Commands: 24,475,203
Controller Busy Time: 221
Power Cycles: 68
Power On Hours: 37
Unsafe Shutdowns: 38
Media and Data Integrity Errors: 0
Error Information Log Entries: 0
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 46 Celsius
Temperature Sensor 2: 34 Celsius
Error Information (NVMe Log 0x01, 16 of 256 entries)
No Errors Logged
Last edited by Cyba.Cowboy on 1 November 2024 at 2:33 pm UTC