Sunday, May 19, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2907  / 3 Years ago, sun, june 27, 2021, 10:15:13

I search everywhere if I will lose data in recovery mode so will I? I looked everywhere even in ask ubuntu and found nothing helpful.


More From » recovery-mode

 Answers
6

I address the question that you added in your comment:



I mean if you enter recovery mode will it wipe the data (?)



In itself, it will not wipe any data — only if you explicitly ask it to.


Recovery mode in itself is just a simplified variant (actually, a subset) of the operating system: it starts up only the very core of the system, the bare minimum that can give you a chance to interact with the computer and try to fix any error that may be present.


A lot of features (even important ones) are not being enabled in recovery mode by default, so that a faulty subsystem has less chance to cause any instability or further crash.


You may still encounter data-loss — but not caused by merely entering recovery mode — in three ways:



  1. One way is that the data loss has already occurred even before you are entering the recovery mode. Some errors that necessitate that you enter recovery mode, might have already caused the data loss.

    • An example could be some degree of failure of the internal disk.



  2. Another way may be if you do something on the root shell console that causes data loss: like typing and executing such commands on the command line that you are unfamiliar with, and whose consequences are not clear to you.

    • For example, any disk- or partitions-related command is definitely not a good candidate to use on the command line in a trial-and-error fashion. One should first learn about such commands, for example, by reading tutorials about them on the net. You can even ask us on this site regarding using specific commands.



  3. And lastly, I think we could highlight such features of the recovery mode that may be not entirely risk-free; in case you choose to use them:

    • "Try to make free space"

      • Probably not risky at all, but it's about deleting files, so technically it's still about throwing some files away — but not yours though: it probably throws away files from the cache and temporary directories, that are not needed any more. (Though admittedly I don't know much about it.)



    • "Check all filesystems"

      • If the filesystem checking utility (called fsck) is being run in read-only mode, then it should be fine.

      • But if it's run in such a mode where it attempts to fix disk errors, there may be a low chance that it might not succeed in fixing the disk, and may leave it in a bad state.






The lesson should be that one always needs to keep backups of important data, preferably on a separate device: at the minimum on some sort of memory card, or an external disk.


Not keeping a backup and always just hoping that you can get out of every emergency without any data lost, may slowly, but likely, lead to unpleasant surprises.


[#1897] Monday, June 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heathree

Total Points: 157
Total Questions: 132
Total Answers: 108

Location: Honduras
Member since Mon, Apr 5, 2021
3 Years ago
;