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.
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.
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:
fsck
) is being run in read-only mode, then it should be fine.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.