2023-07-07, 09:41 AM
(This post was last modified: 2023-07-07, 09:44 AM by baltika_no_9.)
Off topic I know but to avoid occasions like this where changes break a working system it might be worth considering one's approach to change.
For me, once I have a known good system I clone the SD card (or SSD if appropriate) to a .img file (I use win32DiskImager but there are many utilities to do this either to a file or to another SD card). From that image I create a new SD card which is a backup to the original. I put it in the Pi to make sure it works. I now have two good sources, if once breaks for some reason it's a two minute job to get going. I do the work on my Windows machine at home normally.
When routine system-wide changes come along I don't automatically install them, the system is working so why change it? If I make minor changes in terms of preferences in some apps for instance I record them so I can reapply them if I need to use my backup card.
If there is a specific change I do need, or I just want to bring everything up to date then I apply the changes. If they break the system then i have my back SD card and go back to a known good position.
If after the changes are applied the system is good and I start again and create a new .img file.
In cases of unpredictable behaviour or poor performance it's worth considering the storage medium you're using, the type, version and capacity of the SD cards. I threw one away yesterday as although it functioned OK it performed like a dog.
I tend to use SSD storage these days but the principle is the same.
For me, once I have a known good system I clone the SD card (or SSD if appropriate) to a .img file (I use win32DiskImager but there are many utilities to do this either to a file or to another SD card). From that image I create a new SD card which is a backup to the original. I put it in the Pi to make sure it works. I now have two good sources, if once breaks for some reason it's a two minute job to get going. I do the work on my Windows machine at home normally.
When routine system-wide changes come along I don't automatically install them, the system is working so why change it? If I make minor changes in terms of preferences in some apps for instance I record them so I can reapply them if I need to use my backup card.
If there is a specific change I do need, or I just want to bring everything up to date then I apply the changes. If they break the system then i have my back SD card and go back to a known good position.
If after the changes are applied the system is good and I start again and create a new .img file.
In cases of unpredictable behaviour or poor performance it's worth considering the storage medium you're using, the type, version and capacity of the SD cards. I threw one away yesterday as although it functioned OK it performed like a dog.
I tend to use SSD storage these days but the principle is the same.