On Mon, Mar 18, 2024 at 5:43 PM Darryl Gregorash <raven@accesscomm.ca> wrote:
On 2024-03-18 04:20, Roger Oberholtzer wrote:
I am booted into it. snapper rollback says:
Ambit is transactional. Active snapshot is already default snapshot.
snapper ls puts a star after the snapshot number.
For some reason, this is the only snapshot that exists (a pre/post pair made by zypper) after the one from the initial install (#0) . All previous ones have been purged.
Maybe because you removed all the rest, as per your initial post?
Sigh. I don't want to do a reinstall. All the software is set exactly as I want. It's one of (not the only) systems on which I develop software. Oh well. Time to extract all the needed information from it!
Why are you talking about this now? Andrei and I have been making suggestions of what you can try now, but all you have done is run commands Andrei suggested so we can get an idea what your system looks like right now. Doing a reinstall is the very last resort, and we are nowhere near there yet.
The suggestion was to try the rollback. I did that and reported that it did not succeed. Did I miss another suggestion that was not perhaps going to totally mess up the filesystem? I also want to be sure I have collected all useful information off the system before trying a possibly destructive command. I've not had a chance to do that yet. Day job and all that.
I still cannot believe that snapper cannot do whatever it does to allow
changes. A new snapshot. Couldn't I make a snapshot via some other command than rollback? Rollback is not a command. It is a snapper sub-command. "Snapper rollback" will do exactly what it says: When you boot into a previous snapshot (which is r/o), it will write that into the default, which is r/w -- except that it seems one cannot do a rollback when already booted into the default snapshot. So that leaves just one option, and if this does not work, I think a reinstall is your only choice. HOWEVER... DO NOT do this right away; give Andrei and others a chance to comment on my idea first.
You are booted into snapshot 1406, so rollback to 1405: snapper rollback 1405 If this succeeds, it will set snapshot 1405 as the new default. (If it fails, I think you are out of options and a reinstall will be needed.) Verify this by running "snapper list". 1405 and 1406 will still be there, and there will (hopefully) be two new snapshots, with numbers higher than 1406. If that is the case, then:
Reboot Before doing anything else, run snapper rollback 1406 which is the snapshot you want to have as your default. Reboot again, and verify that everything is as you want it to be.
A reminder -- do NOT do this yet, until others have had a chance to give some feedback. So... Comments, Andrei (and anyone else who wishes)?
I was thinking something similar. But I guess I cannot make 1405 (a zypper pre) the default and boot into that. And then rollback 1406. Would I need to rollback 1405? I did not remove earlier snapshots. And they were not so old. They just went away as part of this. No idea why. I did remove later snapshots. Which in hindsight might not have been a good idea or even needed. One learns. -- Roger Oberholtzer