Beiträge von wonder.wishes
-
-
da trotz aller notwendigen Installationen der snapper Pakete snapper list leer war habe ich
snapper -c root create-config /
ausgeführt, sonst nichts.
Danach zeigte snapper list die snapshots an -
Code
Alles anzeigen# snapper list # | Typ | Vorher # | Datum | Benutzer | Bereinigen | Beschreibung | Benutzerdaten ----+--------+----------+-----------------------------+----------+------------+-------------------+-------------- 0 | single | | | root | | current | 1 | pre | | Do 20 Feb 2020 21:55:47 CET | root | number | zypp(zypper) | important=no 2 | post | 1 | Do 20 Feb 2020 21:56:04 CET | root | number | | important=no 3 | pre | | Do 20 Feb 2020 22:47:00 CET | root | number | zypp(packagekitd) | important=no 4 | post | 3 | Do 20 Feb 2020 22:47:01 CET | root | number | | important=no 5 | single | | Do 20 Feb 2020 23:00:50 CET | root | timeline | timeline | 6 | single | | Fr 21 Feb 2020 00:00:06 CET | root | timeline | timeline | 11 | single | | Fr 21 Feb 2020 14:00:15 CET | root | timeline | timeline | 12 | single | | Fr 21 Feb 2020 15:00:15 CET | root | timeline | timeline | 13 | single | | Fr 21 Feb 2020 16:00:13 CET | root | timeline | timeline | 14 | single | | Fr 21 Feb 2020 17:00:15 CET | root | timeline | timeline | 15 | single | | Fr 21 Feb 2020 18:00:15 CET | root | timeline | timeline | 16 | single | | Fr 21 Feb 2020 19:00:15 CET | root | timeline | timeline | 17 | single | | Fr 21 Feb 2020 20:00:15 CET | root | timeline | timeline | 18 | single | | Fr 21 Feb 2020 21:00:15 CET | root | timeline | timeline | 19 | single | | Fr 21 Feb 2020 22:00:15 CET | root | timeline | timeline | 20 | single | | Fr 21 Feb 2020 23:00:15 CET | root | timeline | timeline | 21 | single | | Sa 22 Feb 2020 17:00:01 CET | root | timeline | timeline | 22 | single | | Sa 22 Feb 2020 18:00:01 CET | root | timeline | timeline | # cat /.snapshots/grub-snapshot.cfg if [ -z "$extra_cmdline" ]; then submenu "Start bootloader from a read-only snapshot" { if [ -f "/.snapshots/22/grub-snapshot.cfg" ]; then source "/.snapshots/22/grub-snapshot.cfg" fi if [ -f "/.snapshots/21/grub-snapshot.cfg" ]; then source "/.snapshots/21/grub-snapshot.cfg" fi if [ -f "/.snapshots/20/grub-snapshot.cfg" ]; then source "/.snapshots/20/grub-snapshot.cfg" fi if [ -f "/.snapshots/19/grub-snapshot.cfg" ]; then source "/.snapshots/19/grub-snapshot.cfg" fi if [ -f "/.snapshots/18/grub-snapshot.cfg" ]; then source "/.snapshots/18/grub-snapshot.cfg" fi if [ -f "/.snapshots/17/grub-snapshot.cfg" ]; then source "/.snapshots/17/grub-snapshot.cfg" fi if [ -f "/.snapshots/16/grub-snapshot.cfg" ]; then source "/.snapshots/16/grub-snapshot.cfg" fi if [ -f "/.snapshots/15/grub-snapshot.cfg" ]; then source "/.snapshots/15/grub-snapshot.cfg" fi if [ -f "/.snapshots/14/grub-snapshot.cfg" ]; then source "/.snapshots/14/grub-snapshot.cfg" fi if [ -f "/.snapshots/13/grub-snapshot.cfg" ]; then source "/.snapshots/13/grub-snapshot.cfg" fi if [ -f "/.snapshots/12/grub-snapshot.cfg" ]; then source "/.snapshots/12/grub-snapshot.cfg" fi if [ -f "/.snapshots/11/grub-snapshot.cfg" ]; then source "/.snapshots/11/grub-snapshot.cfg" fi if [ -f "/.snapshots/6/grub-snapshot.cfg" ]; then source "/.snapshots/6/grub-snapshot.cfg" fi if [ -f "/.snapshots/5/grub-snapshot.cfg" ]; then source "/.snapshots/5/grub-snapshot.cfg" fi if [ -f "/.snapshots/4/grub-snapshot.cfg" ]; then source "/.snapshots/4/grub-snapshot.cfg" fi if [ -f "/.snapshots/3/grub-snapshot.cfg" ]; then source "/.snapshots/3/grub-snapshot.cfg" fi if [ -f "/.snapshots/2/grub-snapshot.cfg" ]; then source "/.snapshots/2/grub-snapshot.cfg" fi if [ -f "/.snapshots/1/grub-snapshot.cfg" ]; then source "/.snapshots/1/grub-snapshot.cfg" fi if [ x$snapshot_found != xtrue ]; then submenu "Not Found" { true; } fi } fi # ls -l /etc/grub.d/ insgesamt 88 -rwxr-xr-x 1 root root 10919 19. Dez 12:09 00_header -rwxr-xr-x 1 root root 1043 8. Jan 2019 00_tuned -rwxr-xr-x 1 root root 12526 19. Dez 12:09 10_linux -rwxr-xr-x 1 root root 15369 19. Dez 12:09 20_linux_xen -rwxr-xr-x 1 root root 1932 19. Dez 12:09 20_memtest86+ -rwxr-xr-x 1 root root 11682 19. Dez 12:09 30_os-prober -rwxr-xr-x 1 root root 214 19. Dez 12:09 40_custom -rwxr-xr-x 1 root root 216 19. Dez 12:09 41_custom -rwxr-xr-x 1 root root 828 19. Dez 12:09 80_suse_btrfs_snapshot -rwxr-xr-x 1 root root 1259 19. Dez 12:09 90_persistent -rwxr-xr-x 1 root root 263 19. Dez 12:09 95_textmode -rw-r--r-- 1 root root 483 19. Dez 12:09 README -
habe ich auch schon alles kontrolliert, bzw. die /etc/default/grub mit anderen Rechnern verglichen
mir ist nichts aufgefallenCode
Alles anzeigenzypper se -si snapper Repository-Daten werden geladen... Installierte Pakete werden gelesen... S | Name | Typ | Version | Arch | Repository ---+----------------------+-------+-------------------+--------+----------------------- i+ | grub2-snapper-plugin | Paket | 2.02-lp151.21.9.1 | noarch | Main Update Repository i | libsnapper4 | Paket | 0.8.3-lp151.1.1 | x86_64 | Main Repository i | snapper | Paket | 0.8.3-lp151.1.1 | x86_64 | Main Repository i | snapper-zypp-plugin | Paket | 0.8.3-lp151.1.1 | noarch | Main Repository i | yast2-snapper | Paket | 4.1.2-lp151.1.1 | x86_64 | Main Repository cat /etc/default/grub # If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update # /boot/grub2/grub.cfg. # Uncomment to set your own custom distributor. If you leave it unset or empty, the default # policy is to determine the value from /etc/os-release GRUB_DISTRIBUTOR= GRUB_DEFAULT=saved GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=8 GRUB_CMDLINE_LINUX_DEFAULT="splash=silent resume=/dev/disk/by-id/ata-SanDisk_SSD_U100_16GB_122455304090-part1 mitigations=auto quiet" GRUB_CMDLINE_LINUX="" # Uncomment to automatically save last booted menu entry in GRUB2 environment # variable `saved_entry' # GRUB_SAVEDEFAULT="true" #Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) # GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" #Uncomment to disable graphical terminal (grub-pc only) GRUB_TERMINAL="gfxterm" # The resolution used on graphical terminal #note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' GRUB_GFXMODE="auto" # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux # GRUB_DISABLE_LINUX_UUID=true #Uncomment to disable generation of recovery mode menu entries # GRUB_DISABLE_RECOVERY="true" #Uncomment to get a beep at grub start # GRUB_INIT_TUNE="480 440 1" GRUB_BACKGROUND= GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt SUSE_BTRFS_SNAPSHOT_BOOTING="true" GRUB_USE_LINUXEFI="true" GRUB_DISABLE_OS_PROBER="false" GRUB_ENABLE_CRYPTODISK="n" GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16" -
nein ich habe noch nicht installiert
heute den ganzen tag damit verbracht, etwas über snapshots zu lesen
ich habe auf einem zweiten Rechner mit einem funktionierenden 15.1
(vor einigen Monaten installiert und immer die Aktualisierungen laufen lassen)
festgestellt dass snapper list leer war, obwohl alle snapper Komponenten installiert
sind. Ich habe die Konfiguration neu geschrieben, jetzt werden die snapshots
von snapper list angezeigt
aber nicht im grub2 Menü.
jetzt weis ich nicht, wie man das grub2 beibringen muss
habe einiges über die Konfigurationsdateien gelesen,
sehe aber nicht durch -
ok, snapshots scheinen hier nicht das Thema zu sein.
Ich habe zusammen mit dem vorangehenden Thema (kein Start nach Aktualisierung)
mehrere Tage intensiv im Netz gesucht, aber mir erschließen sich offenbar selbst
einfache Zusammenhänge nicht.
Ich habe nicht einmal eine Erklärung gefunden , wie man von den snapshots in grub zu einem
neuen System kommt
werde also (windows like) neu installieren, dann bin ich hoffentlich in einer Stunde fertig.
Nochmals danke für die Antworten beim vorherigen Thema
Gruß w.w. -
noch eine Ergänzung
ich habe auf einem anderen Rechner mit ordnungsgemäß laufenden 15.1 beim Start im grub Menü
die snapshots ausgewählt.
Nach Auswahl eines snapshots mit den Pfeiltasten und "enter"
erscheint ein Menü
help on bootable snapshot #
open suse leap 15.1
advanced options for ...
Nach einigen Sekunden öffnet der erste Menüpunkt, zeigt eine kurze Anleitung zu
snapper rollback und endet mit
failed to boot both default and .....Da das nun der zweite Rechner ist, auf dem sich snapshots nicht booten lassen,
vermute ich , dass ich grundsätzlich etwas falsch mache.
Kann bitte jemand helfen -
Hallo,
mein 15.1 lässt sich nach einer Aktualisierung nicht mehr starten (kernel panic).
Alle im grub menu angebotenen snapshots enden bei Anwendung mit failed to boot.
Gibt es noch eine andere Möglichkeit außer einer Neuinstallation.
Ich bin allerdings nur ein normaler Anwender.
Gruß w.w. -
also genau nach Deinem Vorbild
Auswahl des snapshots mit den Pfeiltasten
enter
dann blitzt kurz eine Meldung auf (zu kurz zum Lesen)
dann erscheint das Menu (das Du noch nicht gesehen hast)
nach einigen Sekunden startet der erste Menupunkt (besagte snapper Anleitung)
und deren letzte Zeile lautet
failed to boot ....... -
ich habe in (6) und (8) versucht zu erklären, dass ich zwar einen snapshot ausgewählt habe,
aber er hat sich nicht starten lassen (oder reicht es nicht den snapshot anzuklicken?)
Stattdessen kam das oben beschriebene menu und dort habe ich unter advanst options eine
ganz normale linux variante ausgewählt.