G
G
Grims2015-12-22 12:17:56
linux
Grims, 2015-12-22 12:17:56

How to reset ubuntu to factory settings?

Is it possible to return to the original state of the system (using a script, application or otherwise), i.e. by the time of the first boot after installing the system without reinstalling it?
It is necessary to get lost:
1. All installed non-default applications,
2. All configs associated with installed non-default applications.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2015-12-22
@grims

There are several options:
1) Reconfigure all packages with the command below. But it will take a long time and questions will be asked, as during installation.
2) Reinstall the system!
3) Install the system on btrfs, for example, while creating a snapshot immediately after installation. If necessary, roll back to a snapshot.
4) Make a snapshot of the system into an image (tar --one-filesystem -czf ) and roll it when necessary.
Well, there are a lot of options, for example, with AUFS, LVM, KVM and others ...
And if you know more precisely why it is needed, then maybe the answer will be completely different ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question