Bug 1216367

Summary: The "/.snapshot/grub-snapshot.cfg" file has disappeared weeks ago and I can't boot from a Btrfs snapshot in openSUSE MicroOS/Aeon
Product: [openSUSE] openSUSE Tumbleweed Reporter: Eduardo Medina <edurayasmedina>
Component: MicroOSAssignee: Forgotten User u0-bnvADNc <forgotten_u0-bnvADNc>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Things i found related to the "/.snapshot/grub-snapshot.cfg" and the "/boot/grub2/grub.cfg" files
Snapshot entries don't appear in GRUB menu

Description Eduardo Medina 2023-10-18 08:51:27 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Build Identifier: 

Hi, sorry if I'm bothering people with this message, but I'm scared because I lost one of the most important features of a immutable operating system: temporary rollback.

I changed my SSD one month ago and I didn't perceived it in the first time, but I see that the snapshot entries don't appear in the GRUB menu. After a little investigation, first I see that the "/.snapshot/grub-snapshot.cfg" is not there and after I see that it seems that some lines of the "/boot/grub2/grub.cfg" file are missing.

If you take an ISO image (snapshot) from two weeks ago, you can see the problem, and I can reproduce the problem with the latest ISO image. I always enable the firewall and disable SSH because I use MicroOS/Aeon for basic desktop purposes with some containers that I use as a toy. 

I reported the bug here, but I'm starting to think that it was the wrong place. Sorry for the thing I do bad and my bad English. https://bugzilla.opensuse.org/show_bug.cgi?id=1216292

Reproducible: Always

Steps to Reproduce:
1. Install a recent snapshot (ISO image)
2. Do a regular installation on an UEFI system (even on GNOME Boxes).
3. You can see that entries for snapshots in GRUB menu have disappeared.
Actual Results:  
I can't see the snapshots entries in the GRUB menu if I install openSUSE MicroOS/Aeon from a recent ISO image. I have an old installation in a laptop with disk encryption and I can see the snapshots to do a temporary rollback.


I would like the see this corrected for my current installation. I will upload the information I could collect with my limited knowledge.
Comment 1 Eduardo Medina 2023-10-18 08:52:44 UTC
Created attachment 870299 [details]
Things i found related to the "/.snapshot/grub-snapshot.cfg" and the "/boot/grub2/grub.cfg" files
Comment 2 Eduardo Medina 2023-10-18 08:54:09 UTC
Created attachment 870300 [details]
Snapshot entries don't appear in GRUB menu
Comment 3 Eduardo Medina 2023-10-19 16:29:34 UTC
I could find the root of the bug in the thread I linked. You can close this.