Rollback (Snapshot) from RescueSystem

Started by pixel24, 2026/03/02, 19:45:58

Previous topic - Next topic

pixel24

Hello everyone,

After experiencing problems with the upgrade (kernel 6.19 + nVIDIA), I wanted to remove the unconfigured kernel 6.19. I must have done something wrong. Now the system no longer boots. The Grub bootloader appears, and under Siduction I can only select kernel 6.18.11-1 (normal + rescue). But when I select the normal kernel, it gets stuck at "loading initrd ...". A quick note about the system.

Two 4TB NVME drives are installed and combined into a single volume using BTRFS. Various subvolumes are defined in BTRFS. I started the system with Systemrescue (Live). Is there any documentation on how to roll back to an older snapshot from the live system to the installed system?

with best

scholle1

This may be the solution:

https://forum.siduction.org/index.php?topic=9893.msg78699#msg78699

This only works if you have installed siduction on Btrfs and snapper is configured correctly.
The siduction-btrfs package is then also installed.

Test it in chroot with
# apt policy siduction-btrfs

The output should look like this.
siduction-btrfs:
  Installiert:           0.4.0-1
  Installationskandidat: 0.4.0-1
  Versionstabelle:
*** 0.4.0-1 500
        500 https://packages.siduction.org/extra unstable/main amd64 Packages
        100 /var/lib/dpkg/status
"Pax in terris" - Das ist mein großer, mein einzigster für diese Welt von Herzen kommender Wunsch.
"Friede auf Erden" und alles Weitere erscheint einfach.

pixel24

Thanks, the rollback worked as described. Thank you! Now I've done it at least once. Can't hurt for the future.

My system now boots again as it did before the failed update. I selected the kernel
6.18.13-1-siduction-amd64
in Grub. However, the remnants of the failed kernel update are still on the system:
iU  linux-headers-siduction-amd64                       6.19-5                                   amd64        Linux headers for siduction on 64-bit PCs
iF  linux-image-6.19.5-1-siduction-amd64                6.19-5                                   amd64        Linux 6.19 for 64-bit PCs
iU  linux-image-siduction-amd64                         6.19-5                                   amd64        Linux image for siduction on 64-bit PCs

in an unconfigured state. How do I remove these correctly so that the 6.19+nVIDIA upgrade works?

scholle1

Additional information is required.

  • Is kernel 6.19 selectable in the GRUB menu?
  • The output of "ls -l /usr/lib/modules/"?

For the Btrfs/Snapper method.

  • Which subvolume is the Btrfs default?
    (Snapper: * or + next to the number)
    (Btrfs: Output of "btrfs sub get-default /")
  • In which subvolume does kernel 6.19 appear for the first time?
"Pax in terris" - Das ist mein großer, mein einzigster für diese Welt von Herzen kommender Wunsch.
"Friede auf Erden" und alles Weitere erscheint einfach.

pixel24

Quote from: scholle1 on 2026/03/03, 13:21:18
Additional information is required.

  • Is kernel 6.19 selectable in the GRUB menu?
  • The output of "ls -l /usr/lib/modules/"?

Yes, I can select 6.19 in Grub, but it won't boot. It wasn't fully installed.

root ✗ lt001:/data01 ls -l /usr/lib/modules/
insgesamt 0
drwxr-xr-x 1 root root 358 21. Jan 22:10 6.13.8-1-siduction-amd64
drwxr-xr-x 1 root root 358 22. Feb 18:55 6.18.10-1-siduction-amd64
drwxr-xr-x 1 root root 496 18. Feb 08:11 6.18.11-1-siduction-amd64
drwxr-xr-x 1 root root 496 20. Feb 08:58 6.18.13-1-siduction-amd64
drwxr-xr-x 1 root root 358  6. Feb 07:48 6.18.5-1-siduction-amd64
drwxr-xr-x 1 root root 358  6. Feb 07:48 6.18.6-1-siduction-amd64
drwxr-xr-x 1 root root 358 18. Feb 11:19 6.18.7-1-siduction-amd64
drwxr-xr-x 1 root root 358 18. Feb 11:19 6.18.8-1-siduction-amd64
drwxr-xr-x 1 root root 358 18. Feb 11:19 6.18.9-1-siduction-amd64
drwxr-xr-x 1 root root 482  1. Mär 19:45 6.19.5-1-siduction-amd64



Quote from: scholle1 on 2026/03/03, 13:21:18
For the Btrfs/Snapper method.

  • Which subvolume is the Btrfs default?
    (Snapper: * or + next to the number)
    (Btrfs: Output of "btrfs sub get-default /")
  • In which subvolume does kernel 6.19 appear for the first time?

root ✗ lt001:/data01 btrfs sub get-default /
ID 660 gen 84376 top level 257 path @snapshots/346/snapshot


scholle1

Do you really need all these old kernels?
And what does the output of "snapper list" look like?

Also try as root
kernel-remover
or
apt puge linux-image-6.19.5-1-siduction-amd64 linux-headers-6.19.5-1-siduction-amd64
"Pax in terris" - Das ist mein großer, mein einzigster für diese Welt von Herzen kommender Wunsch.
"Friede auf Erden" und alles Weitere erscheint einfach.

pixel24

Quote from: scholle1 on 2026/03/03, 21:26:33
Do you really need all these old kernels?

No, I regularly run "apt autoremove" and assumed that the old kernel stuff would be removed.

Quote from: scholle1 on 2026/03/03, 21:26:33
And what does the output of "snapper list" look like?

root ✗ lt001:/boot snapper list
   # | Typ    | Vorher # | Datum                       | Benutzer | Bereinigen | Beschreibung                         | Benutzerdaten
-----+--------+----------+-----------------------------+----------+------------+--------------------------------------+--------------
  0  | single |          |                             | root     |            | current                              |             
  3  | single |          | Di 13 Jan 2026 12:31:55 CET | root     |            | Nach Grundinstallation und Updates   |             
143  | single |          | Do 15 Jan 2026 17:56:11 CET | root     |            | Vor HT-Kernel und Spiele-Optimierung |             
176  | single |          | So 18 Jan 2026 00:27:06 CET | root     |            | Nach Grundeinrichtung                |             
346* | single |          | Di 03 Mär 2026 08:32:59 CET | root     |            | writable copy of #338                |


Quote from: scholle1 on 2026/03/03, 21:26:33
Also try as root
kernel-remover
Here, I am only offered kernel 6.18.11-1 for removal.

Quote from: scholle1 on 2026/03/03, 21:26:33
or
apt puge linux-image-6.19.5-1-siduction-amd64 linux-headers-6.19.5-1-siduction-amd64
I did that, and now 6.19 is gone. Since I read in another post that the problem with kernel 6.19 + nVIDIA had been fixed, I ran "apt update && apt full-upgrade" (after restarting). I also thought that kernel 6.19 should be reinstalled, but it is no longer on the system. Neither in the rough menu nor in /boot.

scholle1

QuoteNo, I regularly run "apt autoremove" and assumed that the old kernel stuff would be removed.
Probably leftover configurations if the packages were removed with "remove" and not with "purge" or "autopurge".

To list them, try
dpkg -l | grep '^rc'

To remove them completely, try
dpkg -l | grep '^rc' | awk '{print $2}' | sudo xargs dpkg --purge
Found at
https://de.linux-terminal.com/?p=4857


QuoteI did that, and now 6.19 is gone. Since I read in another post that the problem with kernel 6.19 + nVIDIA had been fixed, I ran "apt update && apt full-upgrade" (after restarting). I also thought that kernel 6.19 should be reinstalled, but it is no longer on the system. Neither in the rough menu nor in /boot.
Then this may help
apt clean
   or
apt autoclean

Same source as before.


Is the Snapper output complete?
It looks good so far, anyway.
"Pax in terris" - Das ist mein großer, mein einzigster für diese Welt von Herzen kommender Wunsch.
"Friede auf Erden" und alles Weitere erscheint einfach.

pixel24

Quote from: scholle1 on 2026/03/04, 12:33:21
To list them, try
dpkg -l | grep '^rc'
s.gehr ツ lt001:~ dpkg -l | grep '^rc'
rc  akregator                                           4:25.08.3-2                              amd64        RSS/Atom feed aggregator
rc  auditd                                              1:4.1.2-1+b1                             amd64        User space tools for security auditing
rc  byobu                                               5.133-1.2                                all          text window manager, shell multiplexer, integrated DevOps environment
rc  console-common                                      0.7.91                                   all          basic infrastructure for text console configuration
rc  freerdp3-wayland                                    3.20.2+dfsg-1                            amd64        RDP client for Windows Terminal Services (wayland client)
rc  gamemode                                            1.8.2-2+b1                               amd64        Optimise Linux system performance on demand
rc  gamemode-daemon                                     1.8.2-2+b1                               amd64        Optimise Linux system performance on demand (daemon)
rc  kaddressbook                                        4:25.08.3-2                              amd64        address book and contact data manager
rc  kde-style-oxygen-qt6                                4:6.5.4-1                                amd64        Qt 6 decoration for the Oxygen desktop theme
rc  kdeconnect                                          25.11.80+git20251121.7090b106-1          amd64        connect smartphones to your desktop devices
rc  kdepim-themeeditors                                 4:25.08.3-2                              amd64        Theme Editors for KDE PIM applications
rc  kfind                                               4:25.04.0-1                              amd64        file search utility by KDE
rc  kget                                                4:25.04.0-1.1+b1                         amd64        download manager
rc  kinit                                               5.116.0-1                                amd64        process launcher to speed up launching KDE applications
rc  kleopatra                                           4:25.08.3-3                              amd64        Certificate Manager and Unified Crypto GUI
rc  kmail                                               4:25.08.3-2                              amd64        full featured graphical email client
rc  kontact                                             4:25.08.3-2                              amd64        integrated application for personal information management
rc  korganizer                                          4:25.08.3-2                              amd64        calendar and personal organizer
rc  krusader                                            2:2.9.0-2                                amd64        twin-panel (commander-style) file manager
rc  kunifiedpush                                        25.08.0-1                                amd64        UnifiedPush distributor daemon
rc  libcalendarsupport-data                             4:25.08.3-2                              all          KDE PIM Calendar support - data files
rc  libeventviews-data                                  4:25.08.3-2                              all          KDE PIM event handling - data files
rc  libfreerdp-client3-3:amd64                          3.20.2+dfsg-1                            amd64        Free Remote Desktop Protocol library (client library)
rc  libfreerdp3-3:amd64                                 3.20.2+dfsg-1                            amd64        Free Remote Desktop Protocol library (core library)
rc  libgravatar-data                                    4:25.08.3-2                              all          KDE PIM gravatar library - data files
rc  libgvc6                                             2.42.4-3                                 amd64        rich set of graph drawing tools - gvc library
rc  libkdepim-data                                      4:25.08.3-2                              all          KDE PIM library - data files
rc  libkf5package-data                                  5.116.0-1                                all          non-binary asset management framework
rc  libkgapi-data                                       25.08.3-2                                all          Google API library for KDE -- data files
rc  libkimap-data                                       25.08.3-2                                all          library for handling IMAP data - arch independent files
rc  libkldap-data                                       25.08.3-2                                all          Arch independent data forlibrary for accessing LDAP
rc  libkleo-data                                        4:25.08.3-2                              all          KDE PIM cryptographic library, data files
rc  libkmailtransport-data                              25.08.3-2                                all          mail transport service library - data files
rc  libkontactinterface-data                            25.08.3-2                                all          Kontact interface library - data files
rc  libkpim6grantleetheme6:amd64                        25.08.3-2                                amd64        KDE PIM grantlee theme support - library
rc  libkpim6identitymanagementcore6:amd64               25.08.3-2                                amd64        library for managing user identities
rc  libkpim6mbox6:amd64                                 25.08.3-2                                amd64        library for handling mbox mailboxes
rc  libkpim6pkpass6:amd64                               25.08.3-2                                amd64        library for Apple Wallet Pass reader
rc  libkpimtextedit-data                                25.08.3-2                                all          libkpimtextedit - arch independent files
rc  libksieve-data                                      4:25.08.3-2                              all          Sieve mail filtering language support for kdepim, data files
rc  libktnef-data                                       4:25.08.3-2                              all          library for handling TNEF data - data files
rc  libpimcommon-data                                   4:25.08.3-2                              all          Common library for KDE PIM - data files
rc  libvdpau-va-gl1:amd64                               0.4.2-2                                  amd64        VDPAU driver with OpenGL/VAAPI backend
rc  linux-image-6.13.8-1-siduction-amd64                6.13-8                                   amd64        Linux 6.13 for 64-bit PCs
rc  linux-image-6.18.10-1-siduction-amd64               6.18-10                                  amd64        Linux 6.18 for 64-bit PCs
rc  linux-image-6.18.5-1-siduction-amd64                6.18-5                                   amd64        Linux 6.18 for 64-bit PCs
rc  linux-image-6.18.6-1-siduction-amd64                6.18-6                                   amd64        Linux 6.18 for 64-bit PCs
rc  linux-image-6.18.7-1-siduction-amd64                6.18-7                                   amd64        Linux 6.18 for 64-bit PCs
rc  linux-image-6.18.8-1-siduction-amd64                6.18-8                                   amd64        Linux 6.18 for 64-bit PCs
rc  linux-image-6.18.9-1-siduction-amd64                6.18-9                                   amd64        Linux 6.18 for 64-bit PCs
rc  mc                                                  3:4.8.33-1.1                             amd64        Midnight Commander - a powerful file manager
rc  messagelib-data                                     4:25.08.3-3                              all          KDE PIM messaging library - data files
rc  pim-sieve-editor                                    4:25.08.3-2                              amd64        IMAP Sieve filter editor
rc  smb4k                                               4.0.5-1                                  amd64        Samba (SMB) share advanced browser
rc  winbind                                             2:4.23.5+dfsg-1                          amd64        service to resolve user and group information from Windows NT servers
rc  xterm                                               406-1                                    amd64        X terminal emulator


Quote from: scholle1 on 2026/03/04, 12:33:21
To remove them completely, try
dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge

Done

Quote from: scholle1 on 2026/03/04, 12:33:21
Is the Snapper output complete?
It looks good so far, anyway.
yes

towo

Quote from: scholle1To remove them completely, try
Code: [Auswählen]

dpkg -l | grep '^rc' | awk '{print $2}' | sudo xargs dpkg --purge

Found at

No, simply apt purge ~c
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.