Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In linux, you can use LVM (or Logical Volume Management) store all the files in your /home directory, if you prefer to simply use seperate partitions, you can do that too. If you have extra hardisks, Linux supports software RAID, to ensure data would survive a disk failure as well.
Like in Windows, we mostly use two drives one to install windows and other to save important data so that if windows crash, our data is saved.
I notice you are trying to apply your fears, uncertainties and doubts regarding the Other Operating System to Linux. Linux is not Windows and in more than one aspect. When it does crash it doesn't bring down the whole system like Windows does. If your browser crashes you still have your Desktop Environment. If your Desktop Environment crashes you still have all services running. If one of the services crashes it doesn't necessarily affect others. Only when the kernel can't deal with things (hardware instability, overclocking, unstable software or avoidable configuration settings, driver or kernel development, exposed vulnerabilities or any OOPSes caused by the alignment of your machine with Mars and Giedi Prime) you may suffer data loss as a result of a total system crash.
Quote:
Originally Posted by sunveer
So, where to store data in linux so that it is safe, if in case linux crashes and re-installation is required.
On your external backup media and by using a verifiable, usable backup scheme.
Only when you need to recover from (or cannot afford) data loss you will realize if it is a general misconception that LVM or RAID act as safety nets or not.
If you want the same setup as in Windows, you can use your second disk for data (my documents) and mount it on /home.
Having said that, if your second HD crashes or if user mistakes happen, you may assume that with both Windows and Linux your data is lost. So backups are important.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.