Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: grub snapshot and btrfs

  1. #1
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    453

    Default grub snapshot and btrfs

    Hi

    i use btrfs, in my grub habitually have can see snapshot, but now i don't see any of them... is there a way to update it to get them?


    thanks
    www.laboiteaprog.com

  2. #2
    Join Date
    Feb 2016
    Location
    Berlin
    Posts
    357

    Default Re: grub snapshot and btrfs

    do 'sudo snapper list' to check you have snapshots first. The grub snapshot list is under advanced options (from memory) - and you say you have none?

  3. #3

    Default Re: grub snapshot and btrfs

    Quote Originally Posted by collinm View Post
    Hi

    i use btrfs, in my grub habitually have can see snapshot, but now i don't see any of them... is there a way to update it to get them?


    thanks
    Same issue with a fresh install yesterday.
    I checked my
    Code:
    SUSE_BTRFS_SNAPSHOT_BOOTING=true"
    in /etc/default/grub

    and
    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 ###
    in my /boot/grub2/grub.cfg

    all is ok for these one.

    now with sudo snapper list

    Code:
    Type   | #  | Pre # | Date                            | User | Cleanup | Description           | Userdata     
    -------+----+-------+---------------------------------+------+---------+-----------------------+--------------
    single | 0  |       |                                 | root |         | current               |              
    single | 1  |       | jeu. 08 févr. 2018 13:20:35 CET | root |         | first root filesystem |              
    single | 2  |       | jeu. 08 févr. 2018 14:28:30 CET | root | number  | after installation    | important=yes
    pre    | 11 |       | jeu. 08 févr. 2018 19:49:23 CET | root | number  | zypp(zypper)          | important=yes
    post   | 12 | 11    | jeu. 08 févr. 2018 19:56:37 CET | root | number  |                       | important=yes
    pre    | 21 |       | ven. 09 févr. 2018 01:27:11 CET | root | number  | yast add-on           |              
    pre    | 22 |       | ven. 09 févr. 2018 01:31:24 CET | root | number  | zypp(ruby.ruby2.5)    | important=no 
    post   | 23 | 22    | ven. 09 févr. 2018 01:31:31 CET | root | number  |                       | important=no 
    post   | 24 | 21    | ven. 09 févr. 2018 01:31:36 CET | root | number  |                       |              
    pre    | 25 |       | ven. 09 févr. 2018 14:50:25 CET | root | number  | yast add-on           |              
    post   | 26 | 25    | ven. 09 févr. 2018 14:52:50 CET | root | number  |                       |              
    pre    | 27 |       | ven. 09 févr. 2018 14:55:18 CET | root | number  | zypp(zypper)          | important=no 
    post   | 28 | 27    | ven. 09 févr. 2018 14:55:27 CET | root | number  |                       | important=no 
    pre    | 29 |       | ven. 09 févr. 2018 15:10:06 CET | root | number  | zypp(zypper)          | important=yes
    post   | 30 | 29    | ven. 09 févr. 2018 15:20:47 CET | root | number  |                       | important=yes
    pre    | 31 |       | ven. 09 févr. 2018 17:18:53 CET | root | number  | yast add-on           |

    What is the problem ?

  4. #4
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    453

    Default Re: grub snapshot and btrfs

    Code:
    [sudo] password for root: 
    Type   | #   | Pre # | Date                            | User | Cleanup | Description           | Userdata     
    -------+-----+-------+---------------------------------+------+---------+-----------------------+--------------
    single | 0   |       |                                 | root |         | current               |              
    single | 1   |       | Fri 15 Dec 2017 07:29:47 PM EST | root |         | first root filesystem |              
    pre    | 263 |       | Wed 31 Jan 2018 09:20:29 PM EST | root | number  | zypp(packagekitd)     | important=yes
    post   | 264 | 263   | Wed 31 Jan 2018 09:23:52 PM EST | root | number  |                       | important=yes
    pre    | 276 |       | Fri 02 Feb 2018 04:39:06 PM EST | root | number  | zypp(packagekitd)     | important=yes
    post   | 277 | 276   | Fri 02 Feb 2018 04:43:31 PM EST | root | number  |                       | important=yes
    pre    | 280 |       | Sat 03 Feb 2018 11:36:17 AM EST | root | number  | zypp(packagekitd)     | important=yes
    post   | 281 | 280   | Sat 03 Feb 2018 11:38:32 AM EST | root | number  |                       | important=yes
    pre    | 288 |       | Tue 06 Feb 2018 05:16:37 PM EST | root | number  | zypp(packagekitd)     | important=yes
    post   | 289 | 288   | Tue 06 Feb 2018 05:20:07 PM EST | root | number  |                       | important=yes
    pre    | 290 |       | Wed 07 Feb 2018 08:30:06 PM EST | root | number  | zypp(packagekitd)     | important=no 
    post   | 291 | 290   | Wed 07 Feb 2018 08:30:40 PM EST | root | number  |                       | important=no 
    pre    | 292 |       | Thu 08 Feb 2018 04:30:53 PM EST | root | number  | zypp(packagekitd)     | important=yes
    post   | 293 | 292   | Thu 08 Feb 2018 04:34:05 PM EST | root | number  |                       | important=yes
    pre    | 294 |       | Thu 08 Feb 2018 04:45:53 PM EST | root | number  | zypp(packagekitd)     | important=no 
    post   | 295 | 294   | Thu 08 Feb 2018 04:45:55 PM EST | root | number  |                       | important=no 
    pre    | 296 |       | Thu 08 Feb 2018 06:39:21 PM EST | root | number  | zypp(packagekitd)     | important=no 
    post   | 297 | 296   | Thu 08 Feb 2018 06:40:09 PM EST | root | number  |                       | important=no
    www.laboiteaprog.com

  5. #5
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    453

    Default Re: grub snapshot and btrfs

    when i boot, if i go in advance i see

    https://imagebin.ca/v/3rrKsSxSHllE




    why i don't see any snapshot?
    www.laboiteaprog.com

  6. #6
    Join Date
    Feb 2016
    Location
    Berlin
    Posts
    357

    Default Re: grub snapshot and btrfs

    correction: grub snapshots not under advanced they have their own menu entry

    Code:
    >SUSE_BTRFS_SNAPSHOT_BOOTING=true"
    mine has 2 quotes
    Code:
    SUSE_BTRFS_SNAPSHOT_BOOTING="true"
    did you change something e.g. implement the grub.rpmnew file or something?

    i notice there was a forum post a long time ago about similar issue, might be worth looking through
    https://forums.opensuse.org/showthre...e-in-grub-menu

  7. #7
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    453

    Default Re: grub snapshot and btrfs

    in /etc/default/grub, i have this entry

    SUSE_BTRFS_SNAPSHOT_BOOTING="true"

    in /etc/default/
    Code:
     4 -rw-r--r-- 1 root root    21 Dec 25 12:45 google-chrome
     4 -rw-r--r-- 1 root root  1714 Jan 29 20:06 grub
     4 -rw-r--r-- 1 root root  1714 Jan 14 10:23 grub.old
     4 -rw-r--r-- 1 root root  1392 Feb  2 16:33 grub.rpmnew
     4 -rw-r--r-- 1 root root  1757 Jan 27 18:51 nss
     4 -rw-r--r-- 1 root root  1371 Oct 11 20:46 rmt
     4 -rw-r--r-- 1 root root  1210 Oct 11 20:46 star
     4 -rw-r--r-- 1 root root   313 Feb  9 09:46 su
    12 -rw-r--r-- 1 root root 11792 Jan 25 06:50 tlp
     4 -rw-r--r-- 1 root root   118 Jan 11 00:07 useradd

    in /boot/grub/grub.cfg i see

    stuff about btrfs

    will check your link
    www.laboiteaprog.com

  8. #8
    Join Date
    Sep 2012
    Posts
    7,095

    Default Re: grub snapshot and btrfs

    Quote Originally Posted by collinm View Post
    why i don't see any snapshot?
    It looks like you disabled submenus. So you have long list of kernels. Try scrolling down.

    Quote Originally Posted by collinm View Post
    in /etc/default/grub, i have this entry
    Show actual file, not your stories about what is in it.

  9. #9
    Join Date
    Feb 2016
    Location
    Berlin
    Posts
    357

    Default Re: grub snapshot and btrfs

    this is highly confusing have just realised 2 people are posting their results.
    collinm - if you are on tumbleweed, your snapshot history shows you are updating incorrectly (packagekit) you need to use zypper dup
    vurdaan - you havnt explained the malformed
    >SUSE_BTRFS_SNAPSHOT_BOOTING=true"

  10. #10
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    453

    Default Re: grub snapshot and btrfs

    Quote Originally Posted by ndc33 View Post
    this is highly confusing have just realised 2 people are posting their results.
    collinm - if you are on tumbleweed, your snapshot history shows you are updating incorrectly (packagekit) you need to use zypper dup
    vurdaan - you havnt explained the malformed
    >SUSE_BTRFS_SNAPSHOT_BOOTING=true"
    where is tumblewwed it specified we need to use zypper dup to update and not package kit or yast?
    www.laboiteaprog.com

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •