snapshot...failed to boot
- wonder.wishes
- Erledigt
Hinweis: In dem Thema snapshot...failed to boot gibt es 27 Antworten auf 3 Seiten. Der letzte Beitrag () befindet sich auf der letzten Seite.
-
-
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
-
Wer hat denn da die stündlichen Schnappschüsse eingeschaltet?
-
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
grub2-mkconfig > ~/test-grub GRUB-Konfigurationsdatei wird erstellt … Thema gefunden: /boot/grub2/themes/openSUSE/theme.txt Linux-Abbild gefunden: /boot/vmlinuz-4.12.14-lp151.28.36-default initrd-Abbild gefunden: /boot/initrd-4.12.14-lp151.28.36-default Linux-Abbild gefunden: /boot/vmlinuz-4.12.14-lp151.28.32-default initrd-Abbild gefunden: /boot/initrd-4.12.14-lp151.28.32-default erledigt
-
Alle bislang verglichenen Konfigurationen waren ok.
Aber einen Unterschied gibt es jetzt doch in:
/boot/grub2/grub.cfg
Bei dir:Code### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ### if [ -f "/.snapshots/grub-snapshot.cfg" ]; then source "/.snapshots/grub-snapshot.cfg" fi ### END /etc/grub.d/80_suse_btrfs_snapshot ###
Bei mir:
Code### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ### btrfs-mount-subvol ($root) /.snapshots @/.snapshots if [ -f "/.snapshots/grub-snapshot.cfg" ]; then source "/.snapshots/grub-snapshot.cfg" fi ### END /etc/grub.d/80_suse_btrfs_snapshot ###
Bitte noch folende Ausgaben (als Root) in Code-Tags posten:
-
Code
Alles anzeigenfstab UUID=77357c42-d8aa-4adb-828e-788335d0dd6c swap swap defaults 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 / btrfs defaults 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /var btrfs subvol=/@/var 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /usr/local btrfs subvol=/@/usr/local 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /tmp btrfs subvol=/@/tmp 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /srv btrfs subvol=/@/srv 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /root btrfs subvol=/@/root 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /opt btrfs subvol=/@/opt 0 0 UUID=838c6382-3d5a-4004-aac8-c45ec4b067d6 /home xfs defaults 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0 UUID=0f4a2f3a-cc4a-4aa6-88d9-d30ee629db19 /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0 UUID=3BE3-A66A /boot/efi vfat defaults 0 0
Code
Alles anzeigenmount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,size=1927668k,nr_inodes=481917,mode=755) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) /dev/sda2 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=257,subvol=/@) debugfs on /sys/kernel/debug type debugfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1822) /dev/sda2 on /boot/grub2/i386-pc type btrfs (rw,relatime,ssd,space_cache,subvolid=265,subvol=/@/boot/grub2/i386-pc) /dev/sda2 on /boot/grub2/x86_64-efi type btrfs (rw,relatime,ssd,space_cache,subvolid=264,subvol=/@/boot/grub2/x86_64-efi) /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/sda2 on /usr/local type btrfs (rw,relatime,ssd,space_cache,subvolid=259,subvol=/@/usr/local) /dev/sda3 on /home type xfs (rw,relatime,attr2,inode64,noquota) /dev/sda2 on /tmp type btrfs (rw,relatime,ssd,space_cache,subvolid=260,subvol=/@/tmp) /dev/sda2 on /root type btrfs (rw,relatime,ssd,space_cache,subvolid=262,subvol=/@/root) /dev/sda2 on /opt type btrfs (rw,relatime,ssd,space_cache,subvolid=263,subvol=/@/opt) /dev/sda2 on /srv type btrfs (rw,relatime,ssd,space_cache,subvolid=261,subvol=/@/srv) /dev/sda2 on /var type btrfs (rw,relatime,ssd,space_cache,subvolid=258,subvol=/@/var) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=387400k,mode=700,uid=1000,gid=100) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100) /dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100) tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime) /dev/sdc1 on /run/media/rf/76BFB4FFD3E100E7 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)